1 2007-08-28 Deanna Phillips <deanna>
3 * libbase/utility.h: define exp2 and log2 if not available
4 based on HAVE_LOG2 and HAVE_EXP2
5 * configure.ac: detect availability of log2 and exp2
7 2007-08-27 Sandro Santilli <strk@keybit.net>
9 * libbase/utility.h: don't define exp2(), it's going to clash
10 with existing symbol on most systems (except some BSDen)...
11 Please provide a better patch for BSD.
13 2007-08-27 Deanna Phillips <deanna>
15 * testsuite/misc-ming.all/NetStream-SquareTestRunner.cpp: include
18 2007-08-27 Deanna Philips <deanna>
20 * libbase/utility.h: defined exp2() as it's missing on some BSDen.
22 2007-08-24 Miriam Ruiz <little_miry@yahoo.es>
24 * plugin/klash/klash_part.cpp: Patch for GNASHEXE.
26 2007-08-23 Sandro Santilli <strk@keybit.net>
28 * libamf/amf.{cpp,h}: fixed a bunch of memory errors, added
29 some dox, first pass to interface clean ups.
30 * testsuite/libamf.all/Makefile.am: add testsuite/ to the
31 include dir, to allow for using our check_equals functions.
32 * testsuite/libamf.all/: test_object.cpp, test_string.cpp,
33 test_variable.cpp: fixed new[]/delete mismatches.
35 2007-08-23 Sandro Santilli <strk@keybit.net>
37 * configure.ac: move BOOST macro detector invocation after
38 PTHREAD one, as the former requires the latter.
40 2007-08-23 Deanna Phillips <deanna>
42 * macros/pthreads.m4: set pthread flags to -pthread for openbsd.
43 * libbase/rc.cpp: include unistd.h for getuid()
45 2007-08-23 Markus Gothe <nietzsche@lysator.liu.se>
47 * libamf/amf.cpp: memcpy -> strncpy, since it does a memory
48 access violation on Darwin (and porbably other OSes).
51 2007-08-22 Sandro Santilli <strk@keybit.net>
53 * NEWS: add note about the 'debugLog' gnashrc fix and set
54 release date to Aug 23 (tomorrow).
55 * Makefile.am: distribute autogen.sh.
57 2007-08-22 Sandro Santilli <strk@keybit.net>
59 * testsuite/misc-ming.all/DrawingApiTestRunner.cpp:
60 Try another work-around to gcc-4.1.2 bug, commented
62 * testsuite/actionscript.all/MovieClip.as:
63 Modify syntax used to test for functions availability
64 to cope with a bug in Ming < 00040005.
65 Should fix bug #20867.
67 2007-08-22 Sandro Santilli <strk@keybit.net>
69 * configure.ac: bail out if kde gui or kparts plugin are
70 requested but kde/qt deps are not met. Should fix bug
71 #20848; bail out if boost_thread is not set to yes.
72 * macros/boost.m4: check for boost/thread.hpp. Should fix
75 2007-08-21 Sandro Santilli <strk@keybit.net>
77 * libbase/embedVideoDecoderGst.cpp (createDecoder): don't
78 abort if outputFormat is NONE (renderer missing).
81 2007-08-21 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
83 * configure.ac: look for getpwnam
84 * libbase/rc.cpp (expandPath): don't try to use getpwnam
85 if not provided by OS.
87 2007-08-21 Udo Giacomozzi <udo.gnu@nova-sys.net>
89 * backend/render_handler_tri.cpp: fix world_to_pixel() so that OpenGL
92 2007-08-20 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
94 * configure.ac: look for the pwd.h header
95 * doc/C/usermanual/usage/gnashrc.xml: add info about tilde expansion.
96 * libbase/rc.{cpp,h}: add support for tilde expansion in debugLog
99 2007-08-20 Sandro Santilli <strk@keybit.net>
101 * libbase/log.{cpp,h}: print an error on stderr of the debug log file
102 can not be opened for writing. Minor cleanups (including dox).
104 2007-08-20 Sandro Santilli <strk@keybit.net>
106 * server/vm/ExecutableCode.h (FunctionCode::markReachableResources):
107 Don't mark the function twice, and most importantly don't forget
108 to mark the target character !!
110 2007-08-20 Asger Ottar Alstrup <asger@area9.dk>
112 * testsuite/misc-mtasc.all/: Makefile.am, exception.as:
113 Test for try/catch (gnash fails).
115 2007-08-20 Sandro Santilli <strk@keybit.net>
117 * testsuite/libbase/: TCXXRc.cpp, gnashrc.in:
118 Test 'set debuglog' directive.
120 2007-08-20 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
122 * libbase/log.cpp: fix 'set debuglog' directive.
124 2007-08-19 Sandro Santilli <strk@keybit.net>
126 * server/vm/ASHandlers.cpp (ActionGetVariables): simplify debugging
129 2007-08-19 Sandro Santilli <strk@keybit.net>
131 * server/vm/ASHandlers.cpp (CommonGetUrl): backport a copy from
134 2007-08-19 Markus Gothe <nietzsche@lysator.liu.se>
136 * testsuite/libbase/Makefile.am,
137 testsuite/libamf.all/Makefile.am: Added DEJAGNU_CFLAGS.
139 2007-08-19 Sandro Santilli <strk@keybit.net>
141 * server/FreetypeGlyphsProvider.cpp: remove compiler warnings.
142 * doc/C/usermanual/usage/gnashrc.xml: document
143 flashVersionString variable.
145 2007-08-19 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
147 * libbase/rc.{cpp,h}: Avoid string copies in inspectors;
148 add getFlashVersionString (support for
149 "set flashVersionString Bla bla bla" in gnashrc).
150 * server/vm/VM.cpp (getPlayerVersion): Query RcInit for version
152 * testsuite/libbase/: TCXXRc.cpp, gnashrc.in:
155 2007-08-18 Sandro Santilli <strk@keybit.net>
157 * server/swf/tag_loaders.cpp (define_bits_lossless_2_loader):
158 ensure bytes, not bits!
159 * server/vm/ASHandlers.cpp (CommonGetUrl): always check
160 for URL (security). Give precedence to loadVariable
161 calls even if target is _level#. Fixes load of
163 * plugin/plugin.cpp: Use the environmental variable
164 GNASH_PLUGIN_DESCRIPTION for the plugin description
167 2007-08-18 Sandro Santilli <strk@keybit.net>
169 * server/video_stream_instance.cpp: mark characters created
170 using new Video as dynamic.
171 * server/character.h (isDynamic): remove bogus assertion
172 failing for dynamically-loaded movies.
174 2007-08-18 Sandro Santilli <strk@keybit.net>
176 * server/text.cpp (resolve_font): fix missing return.
177 * server/parser/text_character_def.cpp: fix compiler warnings.
179 2007-08-18 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
181 * configure.ac: define flash player version macros
182 for compatibility detectors.
183 * plugin/plugin.cpp: build the flash player version
184 using provided macros.
185 * server/vm/VM.cpp: buil flash player version using
188 2007-08-18 Sandro Santilli <strk@keybit.net>
190 * server/as_object.h (ensureType): fix printing of *source* type
192 * macros/firefox.m4: don't substitute GNASHEXE at all, it's not
195 2007-08-18 Sandro Santilli <strk@keybit.net>
197 * server/text.{cpp,h}: make text_style class store only the font
198 pointer, w/out the font_id, provide setFont and getFont
199 methods, the former always performing a lookup.
200 * server/parser/text_character_def.cpp (read): use
201 text_style::setFont() to set the font this properly updates
202 the actual font pointer in the text_format, fixing bug #20812.
203 * server/edit_text_character.cpp: use text_style::setFont() to
205 * server/parser/: movie_definition.h, movie_def_impl.{h,cpp},
206 sprite_definition.h: const-correct get_font() method.
207 * server/parser/movie_def_impl.{h,cpp}: const-corrected
208 in_import_table(), made private and re-activated assertion
209 checking temporarly removed during to GC layout changes.
211 2007-08-18 Sandro Santilli <strk@keybit.net>
213 * server/parser/text_character_def.cpp: use symbolic names for
214 tag types, more verbose parsing.
216 2007-08-18 Sandro Santilli <strk@keybit.net>
218 * libbase/jpeg.cpp (jpeg_error_exit): only print SWF errors if
219 configured to do so; (input_impl): throw an exception if
220 jpeg_read_header detected errors.
221 * server/swf/tag_loaders.cpp (jpeg_tables_loader,
222 define_bits_jpeg_loader): early exception checking to avoid
223 parser interruption on malformed embedded jpeg.
225 2007-08-18 Felix Eckhofer <felix@tribut.de>
227 * plugin/klash/klash_part.cpp: use the -u switch when invoking
228 the standalone gnash. Fixes youtube playback for konqueror.
229 Still missing -U and -P switches.
231 2007-08-18 Sandro Santilli <strk@keybit.net>
233 * macros/firefox.m4: drop --with-gnashexe and GNASHEXE macro
234 * plugin/Makefile.am: define GNASHBINDIR based on ${bindir}
235 * plugin/klash/Makefile.am: define GNASHBINDIR based on ${bindir}
237 2007-08-17 Sandro Santilli <strk@keybit.net>
239 * server/sprite_instance.cpp (setVariables):
240 Convert variable names to lowercase when needed.
241 * testsuite/misc-ming.all/: Makefile.am, FlashVarsTest.{as,html}:
242 Test that parameter names are converted to lowercase when target
245 2007-08-17 Sandro Santilli <strk@keybit.net>
247 * NEWS: Better support for flash player detection
249 2007-08-17 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
251 * server/vm/VM.cpp (getPlayerVersion): define FLASH_VERSION as
252 a compatibility version for use by $version or
253 System.capabilities.version based version detection kits.
254 (TODO items added for a cleaner handling of this).
255 * plugin/plugin.cpp: define FLASH_VERSION as a compatibility version
256 for use by javascript-based flash version detection kits.
258 2007-08-13 Alfred M. Szmidt <ams@gnu.org>
260 * configure.ac: State that a <= 2.4 version of AGG is an error.
262 2007-08-16 Takashi Iwai <tiwai@suse.de>
264 * libbase/network.cpp (Network::createServer): fix a bug making
265 the test for DEFAULTPROTO == "udp" always fail.
267 2007-08-15 Tomas Groth Christensen <tomasgroth@yahoo.dk>
269 * backend/sound_handler_{sdl,gst}.cpp: Removed primitive
270 sync'ing code since it resulted in bad audio.
272 2007-08-10 Sandro Santilli <strk@keybit.net>
274 * gui/Makefile.am: fix build of sdl/cairo
275 * configure.ac: abort if a requested renderer/gui combination
276 isn't supported (checked for gtk/kde/sdl/fb/fltk)
278 2007-08-10 Sandro Santilli <strk@keybit.net>
280 * gui/Makefile.am: typo preventing gtk/cairo combination from building
281 * server/FreetypeGlyphsProvider.{cpp,h}: add a destructor getting
282 rid of the resources associated with a face.
283 * configure.ac: FLTK/OGL isn't supported, while SDL/OGL is !
285 2007-08-09 David Rorex <drorex@gmail.com>
287 * server/FreetypeGlyphsProvider.cpp: minor change to print the
288 freetype glyph format in human readable form. patch #6148.
290 2007-08-10 Sandro Santilli <strk@keybit.net>
292 * server/vm/ActionExec.{cpp,h}: refactor the check for call stack
293 depth at end of execution to take depth at *start* of execution
296 2007-08-10 Sandro Santilli <strk@keybit.net>
298 * server/vm/ActionExec.cpp (cleanupAfterRun): don't assume the call
299 stack should be empty at the end of global code execution. Still
300 print an error as we need further investigation about it. Fixes
303 2007-08-10 Zou Lunkai <zoulunkai@gmail.com>
305 * server/dlist.cpp: revert mask related code, fix bug#20655, which is
308 2007-08-10 Alexander Sack <asac@jwsdot.com>
310 * backend/Makefile.am, libamf/Makefile.am, libbase/Makefile.am,
311 libgeometry/Makefile.am, plugin/mozilla-sdk/Makefile.am,
312 server/Makefile.am: use $pkglibdir for unversioned libs.
314 2007-08-09 Sandro Santilli <strk@keybit.net>
316 * server/swf/tag_loaders.cpp (sound_stream_block_loader): don't
317 discard the first 4 bytes if not reading an MP3. Makes ADPCM
318 sound better for the feed.swf case (but ADPCM decoder needs
319 lot more work to be correct)
321 2007-08-09 Sandro Santilli <strk@keybit.net>
323 * server/FreetypeGlyphsProvider.cpp (getGlyph): don't abort if
324 FT_Load_Char doesn't return an outline glyph, rather print
325 an UNIMPLEMENTED message and the type of glyph you got.
326 * server/swf/tag_loaders.cpp (ADPCMDecoder::adpcm_expand):
327 Rather then throwing a ParseException, just print an error
328 as it's much likely the error is in Gnash parser, rather
329 then in a malformed SWF, and tests show we do a better
330 job like that then by stopping the parser.
331 Also, print an error if the bytesNeeded computation doesn't
332 match the actual number of bytes read.
334 2007-08-09 Sandro Santilli <strk@keybit.net>
336 * server/swf/tag_loaders.cpp: move all ADPCM-related code in an
338 * server/button_character_instance.cpp (construct): properly construct
339 all button child characters. Fixes bug #20729.
340 * server/swf/tag_loaders.cpp (adpcm_expand): another try at fixing the
341 needed bytes count for compressed adpcm samples. Also, remove call
344 2007-08-09 Sandro Santilli <strk@keybit.net>
346 * configure.ac: set version to 0.8.1
348 2007-08-09 Sandro Santilli <strk@keybit.net>
350 * server/stream.h (ensureBytes): be more verbose about the lack of
351 data. Fix signed/unsigned comparison.
352 * server/swf/tag_loaders.cpp (adpcm_expand): fix count of needed
353 bytes. Fixes bug #20725.
355 2007-08-08 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
357 * plugin/plugin.cpp: replicate compatibility version to the end, to
358 make UFO flash version detector happy. Fixes bug #20696.
360 2007-08-08 Sandro Santilli <strk@keybit.net>
362 * server/sprite_instance.cpp: drop set_variable() methods.
363 Have setVariables() call set_member directly (might change in the
364 future to call as_environment's set_variable, if we find out
365 variables in query string, FlashParams and loadVariable loaded text
366 files can contain path elements).
368 2007-08-08 Sandro Santilli <strk@keybit.net>
370 * testsuite/actionscript.all/LoadVars.as: enabled tests erroneously
372 * server/sprite_instance.cpp (processCompletedLoadVariableRequests):
373 use set_member, not set_variable - the latter is only meant to be
374 called on the root movie.
375 * server/impl.cpp, server/swf/tag_loaders.{cpp,h}: stub parsing
377 * server/asobj/Mouse.cpp: make the global Mouse symbol point
378 to an object, not a constructor.
379 * testsuite/actionscript.all/Mouse.as: xcheck -> check.
381 2007-08-08 Tomas Groth Christensen <tomasgroth@yahoo.dk>
383 * backend/sound_handler_{sdl,gst}.cpp: Detect and fix if a soundstream
384 is out of sync (after position-jump or general out of sync issue),
387 2007-08-08 Tomas Groth Christensen <tomasgroth@yahoo.dk>
389 * backend/sound_handler_sdl.cpp: Fix counting of samples played,
390 and use the output samplerate to calculate the playhead position
391 in time, fixes/improves bug #20684.
393 2007-08-07 Sandro Santilli <strk@keybit.net>
395 * gui/Makefile.am: clean the 'gnash' script on make clean.
396 * server/sprite_instance.cpp (processCompletedLoadVariableRequest):
397 fix attempt to increment past-the-end iterator.
398 * libbase/zlib_adaptar.cpp: don't hang on corrupted input.
399 * libbase/jpeg.{cpp,h}: don't segfault on corrupted input.
400 * server/matrix.cpp (read): add TODO item (check input)
401 * server/rect.cpp (read): add TODO item (check input)
402 * server/movie_instance.cpp (advance): warn only once about movie
403 containing no frames.
404 * server/parser/morph2_character_def.{cpp,h} (read): document,
405 don't read past end of tag.
406 * server/stream.h (read_variable_count): document and add
407 integrity checks. Add a GNASH_TRUST_SWF macro to turn ensureBytes
409 * server/parser/shape_character_def.cpp (read_fill_styles,
410 read_line_styles, read): don't read past end of tag. Don't try to
411 recover if an exception is thrown by fill style parser.
412 * server/styles.{cpp,h} (line_style::read): don't read past end of tag.
413 * server/fill_style.{cpp,h} (read): don't read past end of tag.
414 * server/types.{cpp,h} (rgba::read_rgba, rgbe::read): don't read past end
416 * server/parser/action_buffer.cpp (read): don't read past end of tag.
417 * Makefile.am: don't list 'doc' twice in subdirs. Fixes 'distclean'
420 2007-08-07 Sergio Costas <raster (at) rastersoft.com>
422 * backend/sound_handler_gst.cpp: Fix returns from getPosition
423 (patch #6140), and fix a segfault when asking for position
424 before sound has been started (patch #6138).
425 * backend/sound_handler_sdl.cpp: Fix returns from getPosition
428 2007-08-06 Sandro Santilli <strk@keybit.net>
430 * doc/xmldocs.make: fix uninstall rule to properly remove images
432 * doc/C/Makefile.am, doc/C/asspec/Makefile.am: don't list entities
433 twice for distribution (fixed make uninstall for the most part,
434 needs some other tweak for png files)
435 * testsuite/actionscript.all/toString_valueOf.as: fix some
436 of the tests, disable a test depending on timezone. Please
437 further tests on Date go to the Date.as file.
438 * server/as_value.{cpp,h}: add a to_int() method taking
439 care of compatible integer conversion. Add note about
440 deprecation of templated to_number<>.
441 * server/vm/ASHandlers.cpp: explicitly use to_int() in bitwise
442 ops. Fixes ops.as testcases built with newer Ming. Add TODO
443 lines about possible other uses.
444 * testsuite/swfdec/PASSING: bitwise-{5,6,7}.swf now pass.
446 2007-08-06 Sandro Santilli <strk@keybit.net>
448 * testsuite/actionscript.all/ops.as: add test for 0xffffffff
449 conversion to integer needing to be -1 (gnash fails, need Ming head
451 * server/video_stream_instance.cpp (markReachableResources): don't
452 forget to call the character's version of resource marking !!
455 2007-08-06 Zou Lunkai <zoulunkai@gmail.com>
457 * testsuite/actionscript.all/ops.as: xcheck to check, it passed here.
459 2007-08-05 Sandro Santilli <strk@keybit.net>
461 * server/parser/character_def.h: provide a protected copy constructor
462 resetting the render_cache_manager to NULL in the copy, to avoid
463 multiple destruction of the same object. Add private and aborting
464 assignment operator. Fixes bug #20694.
465 * server/parser/shape_character_def.{cpp,h}: implement copy
466 constructor. Add private and aborting assignment operator.
467 Deprecate input/output cache methods and data.
468 * server/DynamicShape.cpp: update after deprecation of cache
469 data for input/output stuff.
471 2007-08-05 Sandro Santilli <strk@keybit.net>
473 * server/vm/VM.h: make gnash buildable with GC unused.
475 2007-08-05 Zou Lunkai <zoulunkai@gmail.com>
477 * testsuite/actionscript.all/toString_valueOf.as, Makefile.am: focused tests,
478 hopefully helps the model("String" object is not bogus, and "trace" is also sane).
480 2007-08-04 Sandro Santilli <strk@keybit.net>
482 * testsuite/actionscript.all/array.as: fixed testcase.
484 2007-08-04 Sandro Santilli <strk@keybit.net>
486 * testsuite/generic-testrunner.sh: it seems 'read' w/out arg
487 starts being a problem with some shells.
489 2007-08-04 Sandro Santilli <strk@keybit.net>
491 * gui/gnash.in: add missing she bang.
493 2007-08-04 Ivor Blockley <meteoryte@yahoo.com.au>
496 Pointers to the as_environment object in the as_value comparison
497 functors are now references.
498 Fix a bug caused by a missing return statement in the get_basic_eq
500 * testsuite/actionscript.all/array.as:
501 UNIQUE -> UNIQUESORT flag.
502 add some tests to see how AS objects implementing the valueOf method
503 interact with array class methods.
505 2007-08-04 Sandro Santilli <strk@keybit.net>
507 * server/asobj/xmlnode.{cpp,h}: mark reachable resources
510 2007-08-03 Sandro Santilli <strk@keybit.net>
512 * server/asobj/Stage.cpp (notifyResize): use PROPNAME()
513 for proper case of notification event. Finish the dangling
514 referneces drop thing.
516 2007-08-03 Sandro Santilli <strk@keybit.net>
518 * server/asobj/Stage.{cpp,h}: Mark all listeners as reachable,
519 drop the unused dropDanglingListeners (since it's verified
520 the Stage doesn't store *weak* pointers).
522 2007-08-03 Sandro Santilli <strk@keybit.net>
524 * server/movie_root.cpp (getStage): properly convert case when
525 fetching the "Stage" object from SWF6 or lower.
526 * server/asobj/Stage.cpp (onResize): properly convert case
527 when fetching the "scaleMode" property from SWF6 or lower.
529 2007-08-03 Sandro Santilli <strk@keybit.net>
531 * testsuite/actionscript.all/Stage.as: test deleting an object
532 which is also a listener (Gnash segfaults).
534 2007-08-03 Ivor Blockley <meteoryte@yahoo.com.au>
536 * server/array.{cpp,h}: fixes previously identified issues with
537 array.cpp involving functions that needed to be environment and
538 SWF-version aware (mainly functions involved in sorting).
539 * testsuite/actionscript.all/array.as: xcheck->check, few more
542 2007-08-03 Sandro Santilli <strk@keybit.net>
544 * server/asobj/NetStream.{cpp,h}: mark associated as_environment
545 as reachable (but I think there are ownership problem there,
546 the as_environment might be deleted before the NetStream object
547 is, in which case we'd access random memory).
549 2007-08-03 Sandro Santilli <strk@keybit.net>
551 * configure.ac: make sure PKG_CONFIG is defined before calling
552 GNAH_PATH_XXX. Made the notice clearer about GNASH_PATH_XX
553 need to be put after it.
555 2007-08-03 Sandro Santilli <strk@keybit.net>
557 * configure.ac: move GTK detection code *after* the cross-compiling
558 section, so that $incllist is properly set. Add notice about
559 the fact that any GNASH_PATH_XX must be invoked after that one.
561 2007-08-03 Sandro Santilli <strk@keybit.net>
563 * Makefile.am: only descend in doc/ subdir if DOCBOOK is enabled.
565 2007-08-03 Sandro Santilli <strk@keybit.net>
567 * configure.ac: check GTK dependencies only if $build_gtk=yes.
568 print a WARNING and set $build_gtk=no if deps are not met.
569 All of this is done *before* NSAPI is checked, so it would
570 correctly be built or not depending on $build_gtk only.
572 2007-08-03 Sandro Santilli <strk@keybit.net>
574 * configure.ac: fix automatic kparts/nsapi plugin build
575 based on gui availability.
577 2007-08-03 Sandro Santilli <strk@keybit.net>
579 * configure.ac: fix misleading warning about KDE/GTK gui
580 not being built while KPARTS/NSAPI plugin is when instead
581 the guis are actually being built.
583 2007-08-03 Ivor Blockley <meteoryte@yahoo.com.au>
585 * server/array.cpp: fix iterators invalidation (bug #20667).
587 2007-08-03 Rob Savoye <rob@deal.welcomehome.org>
589 * configure.ac: Fix typo so --disable-nsapi works. Cleanup the
590 logic of what gets built when. Add a few warnings.
592 2007-08-02 Sandro Santilli <strk@keybit.net>
594 * Makefile.am: add plugins info to 'dumpconfig' output,
595 simplify the SUBDIR construction (side-effect is we always
596 descend to most subdirs, even if there's nothing to do in them)
597 * plugin/Makefile.am: don't build libgnashplugin if NSAPI
598 conditional is false; always descend to klash/ subdir
599 and let the inner Makefile.am handle conditionals for KPARTS.
600 * plugin/klash/Makefile.am: don't override the 'all' target.
602 2007-08-02 Rob Savoye <rob@deal.welcomehome.org>
604 * plugin/Makefile.am: Use BUILD_KDE_GUI instead of KLASH. Use
605 NSAPI instead of PLUGIN, KPARTS instead of KLASH.
606 * Makefile.am: Change from PLUGIN to NSAPI and KPARTS for conditionals.
607 * configure.ac: Change --disable-klash to --disable-kparts, add
608 --disable-nsapi to replace the older --disable-plugin
609 setting. Make building the plugins conditional on the gui being
610 selected and if the development libraries exist.
611 * gui/Makefile.am: Comment out the dyna,ic vs static support, it's
613 * macros/firefox.m4: Use nsapi instead of plugin as the
615 * macros/kde.m4: set has_kde to yes by default. It can get
617 * plugin/klash/Makefile.am: Use KPARTS instead of KLASH.
619 2007-08-02 Sandro Santilli <strk@keybit.net>
621 * server/asobj/gen-asclass.sh: add the addStatic call to statics.
622 * server/movie_root.{cpp,h}: use a member (and a getter) for the global
623 key object, and properly mark it as alive.
625 2007-08-02 Sandro Santilli <strk@keybit.net>
627 * server/edit_text_character.cpp: register statics.
628 * server/sprite_instance.cpp: register statics.
629 * server/video_stream_instance.cpp: register statics.
630 * server/array.cpp: register static constructor and prototype,
631 since arrays are used by the core independentely of their
632 availability as global classes (function arguments are arrays).
633 * server/as_function.cpp: register static constructor and prototype,
634 since functions are used by the core independently of their
635 availability as global classes (each function uses the Function
638 2007-08-02 Sandro Santilli <strk@keybit.net>
640 * testsuite/actionscript.all/ops.as: more tests for 'string' == NaN.
641 * server/as_value.cpp (equals): yet another pass at
642 abstract equality operator. We're still not there, but
644 * testsuite/actionscript.all/ops.as: xcheck -> check.
646 2007-08-02 Sandro Santilli <strk@keybit.net>
648 * testsuite/actionscript.all/: Function.as, ops.as:
649 Moved tests for equality operator against MovieClip where
652 2007-08-02 Sandro Santilli <strk@keybit.net>
654 * testsuite/actionscript.all/MovieClip.as: test MovieClip.valueOf().
655 * server/as_value.{cpp,h}: as_environment parameter made mandatory
656 for the equals() method.
657 * server/vm/ASHandlers.cpp (ActionEquals): update calls to
660 2007-08-02 Sandro Santilli <strk@keybit.net>
662 * testsuite/actionscript.all/array.as: add test for Array.valueOf().
663 * server/as_value.cpp (equals) : fix true==1 and true!=2
665 * server/vm/ASHandlers.cpp: shift right/left : take undefined
667 * testsuite/actionscript.all/ops.as: minor additions, xcheck to
670 2007-08-02 Sandro Santilli <strk@keybit.net>
672 * server/PropertyList.cpp: add compile-time macro for debugging
673 property allocations.
675 2007-08-02 Udo Giacomozzi <udo.gnu@nova-sys.net>
677 * gui/gtk_glue_agg.cpp: Warn when compiling for OLPC, change compile-time
678 error to runtime error to be multi-GUI friendly.
680 2007-08-02 Sandro Santilli <strk@keybit.net>
682 * server/asobj/NetConnection.h: remove the unused _owner method.
684 2007-08-02 Zou Lunkai <zoulunkai@gmail.com>
686 * testsuite/actionscript.all/ops.as: more tests, checks to xchecks.
688 2007-08-02 Sandro Santilli <strk@keybit.net>
690 * gui/Makefile.am: comment out the _DEPENDENCIES lines. Properly
691 rebuilds the binaries when needed (might be breaking another kind
692 of dependency, but this one was pretty disturbing for me in that
693 it didn't trigger rebuil when _LIBS changed)
694 * server/asobj/MovieClipLoader.cpp: implement reachable resources
696 * server/movie_root.cpp: set background to white by default.
697 Should fix bug #20655.
699 2007-08-02 Zou Lunkai <zoulunkai@gmail.com>
701 * testsuite/actionscript.all/ops.as: more tests and more failures. still
702 need more, we don't want fail on those basic logical operations.
704 2007-08-01 Sandro Santilli <strk@keybit.net>
706 * server/swf/tag_loaders.cpp (define_sound_loader): fix a bug
707 introduced by last commit (sorry)
709 2007-08-01 Sandro Santilli <strk@keybit.net>
711 * server/swf/tag_loaders.cpp: completely remove the bogus assertion
712 about the required input bytes in relation to the number of samples.
713 Rather, add more ensureBytes() uses, closer to where the data is
714 actually read from the stream.
716 2007-08-01 Sandro Santilli <strk@keybit.net>
718 * server/swf/tag_loaders.cpp (sound_expand): fix assertion
719 checking; added some uses of the new stream::ensureBytes() method;
720 add more scoped_array uses.
722 2007-08-01 Sandro Santilli <strk@keybit.net>
724 * server/stream.h: add ensureBytes() method to verify
727 2007-08-01 Sandro Santilli <strk@keybit.net>
729 * server/swf/tag_loaders.cpp: (define_sound_loader) check if number of
730 samples exceed available bytes in the tag. (sound_expand) assertion
731 checking. (u8_expand) use a scoped_array in the easy case (we'll
732 need more smart pointers in general).
733 * backend/sound_handler.h (create_sound, fill_stream_data): document ownership
734 of the 'data' argument, and add a TODO item about changing
737 2007-08-01 Udo Giacomozzi <udo.gnu@nova-sys.net>
739 * gui/gtk_glue_agg.cpp: Support the OLPC again
741 2007-08-01 Sandro Santilli <strk@keybit.net>
743 * server/asobj/: Boolean.cpp, Number.cpp, string.cpp:
744 register static constructors and prototypes with the VM.
745 * server/vm/VM.{cpp,h}: Add support for registering
746 arbitrary as_object for reachability. Intended to
747 be used whenever a static as_object pointer is allocated.
749 2007-08-01 Sandro Santilli <strk@keybit.net>
751 * gui/gnash.in: don't loose parameters layout. Fixes bug #20651.
752 * gui/Makefile.am: distribute gnash.in
754 2007-08-01 Udo Giacomozzi <udo.gnu@nova-sys.net>
756 * gui/gtk_glue_agg.{cpp,h}: stubbed pixel format detection. Will
757 break OLPC support but fix bug #20649 for all others.
759 2007-08-01 Tomas Groth Christensen <tomasgroth@yahoo.dk>
761 * backend/sound_handler_gst.{h,cpp}: Switch to try_mutex, and in
762 callback_handoff only try to lock, and return if unsuccesfull
763 to avoid a potential deadlock, fixes bug #20596. Warning fixes.
765 2007-08-01 Sandro Santilli <strk@keybit.net>
767 * plugin/plugin.cpp: run 'gtk-gnash' by default.
769 2007-07-31 Sandro Santilli <strk@keybit.net>
771 * configure.ac, gui/Makefile.am: comment out --enable-dynamic-gui
772 and related conditionals use.
774 2007-07-31 Sandro Santilli <strk@keybit.net>
776 * testsuite/actionscript.all/array.as: more tests for Array.sort()
777 and Array.sortOn(). These tests are mainly to explore the behavior
778 of sorting arrays of objects that override the toString() method and
779 sortOn using properties specified by such objects.
780 Tests provided by Ivor Blockley and cleaned up/fixed by me.
782 2007-07-31 Sandro Santilli <strk@keybit.net>
784 * plugin/klash/klash_part.cpp: run 'kde-gnash' by default
786 * gui/gnash.in: don't pass -G over to the actual executable;
787 translate gui name to lowercase.
789 2007-07-31 Sandro Santilli <strk@keybit.net>
791 * gui/: Makefile.am, gnash.in:
792 Initial draft of a 'gnash' wrapper.
794 2007-07-31 Sandro Santilli <strk@keybit.net>
796 * configure.ac: rename GUI_CONFIG to SUPPORTED_GUIS to
797 avoid confusion with the define later set by gui/Makefile.am
798 * gui/Makefile.am: build an executable for each supported
799 GUI, named <gui>-gnash
800 * gui/Player.{cpp,h}: drop runtime parsing of gui name, just
801 use whatever gui is specified by the GUI_CONFIG macro set
803 * gui/gnash.cpp: drop runtime GUI selection (and -G switch).
805 2007-07-31 Sandro Santilli <strk@keybit.net>
807 * testsuite/misc-ming.all/ming_utils.c: add word wrapping
808 to the xtrace window.
810 2007-07-31 Sandro Santilli <strk@keybit.net>
812 * doc/C/usermanual/installation/feature_configuration.xml:
813 Document --enable-mit-shm
814 * configure.ac: add --enable-mit-shm
815 * gui/gtk_glue_agg.h: don't redefine ENABLE_MIT_SHM, use definition
818 2007-07-31 Udo Giacomozzi <udo.gnu@nova-sys.net>
820 * gui/gtk_glue_agg.h: disable MIT-SHM by default (see bug #20301)
822 2007-07-31 Sandro Santilli <strk@keybit.net>
824 * server/vm/ASHandlers.cpp (ActionBitwiseAnd):
825 take nan operands as zero.
826 * testsuite/actionscript.all/: Makefile.am, ops.as:
827 new testcase for primitive operations (to complete)
829 2007-07-31 Sandro Santilli <strk@keybit.net>
831 * server/vm/ASHandlers.cpp (ActionBitwiseXor, ActionBitwiseOr):
832 take nan operands as zero.
833 * testsuite/actionscript.all/array.as: expect less failures.
835 2007-07-31 Zou Lunkai <zoulunkai@gmail.com>
837 * testsuite/misc-ming.all/place_object_test2.c, Makefile.am
838 activate the testcase, fix setting the ratio value(0~1.0 in Ming).
840 2007-07-31 Sandro Santilli <strk@keybit.net>
842 * testsuite/actionscript.all/array.as: expect a failure
843 in the case-insensitive descending sort tested for SWF>6
845 2007-07-31 Sandro Santilli <strk@keybit.net>
847 * server/array.cpp (join): use the SWF-version aware version
848 of as_value to string conversion. Add TODO items.
849 * testsuite/actionscript.all/array.as: don't expect a failure
850 in the descending numeric sort
852 2007-07-31 Zou Lunkai <zoulunkai@gmail.com>
854 * testsuite/misc-ming.all/duplicate_movie_clip_test.c, place_object_test.c,
855 place_object_test2.c: trivial comments cleanups.
857 2007-07-30 Sandro Santilli <strk@keybit.net>
859 * libamf/Makefile.am: add BOOST libs
860 * testsuite/samples/Makefile.am: link in
861 libgnashserver.la, libgnashbase.la and
864 2007-07-29 Sandro Santilli <strk@keybit.net>
866 * backend/render_handler_tri.cpp: implemented world_to_pixel and
867 pixel_to_world (to check, UdoG, can you ?)
868 * gui/gtksup.h: remove any use of RENDERER_XXY defines, use
869 the GtkGlue interface only (keep by auto_ptr)
870 * gui/gtk_glue.h: header guard (no code was including this :/)
871 * gui/gtk.cpp: updated use of the glue, remove as much as possible
872 uses of RENDERER_XXY, the only left are for glue initialization
873 (headers and constructions) and for the call to prepDrawingArea
874 which needs to be ordered differently for OGL and for other
877 2007-07-29 Sandro Santilli <strk@keybit.net>
879 * configure.ac: Change --enable-renderer to accept a *single* renderer
880 as the gui code / build scripts are not ready to handle multiple ones
881 currently (temp hack for 0.8.1). By default, renderer is AGG now.
883 2007-07-29 Sandro Santilli <strk@keybit.net>
885 * server/asobj/SoundGst.cpp (getPosition): fix typo (len=>pos).
886 * server/parser/edit_text_character_def.h: use device fonts
887 by default (matches the comment near it, was just a typo).
888 Fixes dynamic textfields using device fonts.
889 * testsuite/actionscript.all/TextField.as: expect one failure
892 2007-07-30 Sergio Costas <raster (at) rastersoft.com>
894 * backend/sound_handler_gst.cpp: Use the audioconverter element
895 to get the current position, to avoid delay.
896 * server/asobj/SoundGst.cpp: Fixed some faulty conversions to
899 2007-07-30 Alexander Sack <asac@jwsdot.com>
901 * server/asobj/NetStreamGst.cpp: Fix plugin loading
902 for non-modern Gstreamer versions.
904 2007-07-30 Markus Gothe <nietzsche@lysator.liu.se>
906 * gui/Info.plist.in: Tidy up the version info, fixed icon.
907 * gui/Makefile.am: Build OS X bundle if GUI == AQUA.
908 * gui/aqua.cpp: Implemented OS-version checking and setCursor.
909 Added 'About' and 'Preferences...' menus.
911 2007-07-29 Rob Savoye <rob@deal.welcomehome.org>
913 * macros/firefox.m4: Always install the plugin in ~/.mozilla/plugins.
915 2007-07-29 Sandro Santilli <strk@keybit.net>
917 * configure.ac: drop add_gui variable again, use another way to
918 handle a missing --enable-gui.
920 2007-07-29 Sandro Santilli <strk@keybit.net>
922 * configure.ac: don't force KDE gui everytime plugin is disabled (sic).
924 2007-07-29 Nick Warne <nick@ukfsn.org>
926 * configure.ac: don't rely on has_kde *before* it is attempted to be
929 2007-07-29 Ivor Blockley <meteoryte@yahoo.com.au>
931 * server/array.{cpp,h}: implement remaining array.sort(..) functionality
932 (flags UNIQUE and RETURNINDEXEDARRAY) all of array.sortOn(...)
933 * testsuite/actionscript.all/array.as: test for Array.sort and
936 2007-07-29 Ivor Blockley <meteoryte@yahoo.com.au>
938 * server/array.cpp: Fix bug in the array.splice(index) method to
939 prevent an incorrect number of elements being spliced; fix bug
940 in the array.slice(startindex, endindex) method for certain
941 negative endindexes; elements in a newly created array with
942 non-zero size are now assigned a value of 'undefined' rather
943 than 'null'; trivial optimizations/clean-ups.
944 * testsuite/actionscript.all/array.as: more tests.
946 2007-07-28 Rob Savoye <rob@deal.welcomehome.org>
948 * macros/ffmpeg.m4: Add test for libswscale, which is needed if
949 ffmpeg is configured with --enable-gpl --enable-swscale. bug #20002.
951 2007-07-28 Sandro Santilli <strk@keybit.net>
953 * configure.ac: re-introduce the $add_gui variable, so that a vanilla
954 configuration still tries to build gtk and kde guis; don't make fb
955 renderer and cairo gui incompatible (other guis might be requested,
956 we'd need a better test to check that at least one compatible with
959 2007-07-28 Sandro Santilli <strk@keybit.net>
961 * configure.ac: don't miss to set add_renderer when no
962 --enable-renderer is given, and only abort complaining if NO
963 GUI supporting opengl is built while also requesting to build opengl
966 2007-07-28 Sandro Santilli <strk@keybit.net>
968 * configure.ac: proper quote args given to test (in the code
969 snippet handling --enable-gui)
971 2007-07-28 Sandro Santilli <strk@keybit.net>
973 * po/Makefile.am: use GMSGFMT, rather then verbatim 'msgfmt'.
974 * configure.ac: simplify gui selection code, fix bug listing
976 * gui/gui_fb.cpp: typo fix (FbGui => FBGui).
977 * testsuite/misc-mtasc.all/Makefile.am: distribute
978 mtasc related files even if mtasc is not detected.
980 2007-07-28 Markus Gothe <nietzsche@lysator.liu.se>
982 * configure.ac: Don't try building KDE/Klash if we'vent got the libs...
983 * gui/aqua*, gui/Info.pist, gui/images/GnashG.icns, gui/Makefile.am:
984 Now we can build a bundle by running 'make bundle', albeit I must
987 2007-07-27 Nick Warne <nick@ukfsn.org>
989 * plugin/klash/klash_part.cpp: typo (0l => 0L)
991 2007-07-27 Tomas Groth Christensen <tomasgroth@yahoo.dk>
993 * backend/sound_handler.h, backend/sound_handler_gst.{cpp,h},
994 backend/sound_handler_sdl.{cpp,h}, server/asobj/SoundFfmpeg.{h,cpp},
995 server/asobj/SoundGst.{h,cpp}, server/asobj/SoundMad.{h,cpp}:
996 Implement duration and position properties when using Sound objects
997 to control an eventsound, patch partly by Sergio Costas.
998 * server/swf/tag_loaders.cpp: Fix warnings.
1000 2007-07-27 Sandro Santilli <strk@keybit.net>
1002 * gui/Makefile.am: distribute kde_glue_opengl.h.
1004 2007-07-27 Markus Gothe <nietzsche@lysator.liu.se>
1006 * gui/DESIGN: Added some docmentation on the GUI-API.
1007 * gui/Player.cpp: define DEAFULT_GUI as a string instead of enum.
1009 2007-07-26 Sandro Santilli <strk@keybit.net>
1011 * configure.ac: Don't threat static linking specially, multiple
1012 GUIs can still be supported by that.
1014 2007-07-26 Sandro Santilli <strk@keybit.net>
1016 * configure.ac: don't assume that if GTK gui is used only the
1017 GTK-pixelformat is needed (other GUIs might be built).
1019 * gui/Player.{cpp,h}: Be more verbose on gui initialization error.
1020 * gui/kde.cpp (createWindow): return false if renderer creation
1022 * gui/kde_glue_agg.cpp (createRenderHandler): throw an exception if
1023 render handler could not be created.
1025 2007-07-26 Sandro Santilli <strk@keybit.net>
1027 * gui/gnash.cpp: scan argv[0] and select KDE gui if it contains
1029 * Makefile.am, configure.ac, gui/Makefile.am:
1030 Don't miss to list 'kde' as a gui when built as a side-effect
1031 of enabling klash: fixes proper report of which GUI have been
1032 compiled-in; Take first gui given to --enable-gui as the default
1034 * gui/Player.cpp: don't force a default gui, take the one defined
1035 by build line (or default to nullGui).
1036 * gui/gnash.cpp: print default gui from --version.
1038 2007-07-26 Alexander Sack <asac@jwsdot.com>
1040 * server/asobj/NetStreamGst.cpp: Don't use a variable before it
1041 has been initialized.
1043 2007-07-25 Sandro Santilli <strk@keybit.net>
1045 * gui/Makefile.am: build libgnashplayer again,
1046 linked against libgnashgui, which is linked
1047 against any gui/renderer specific lib that was
1049 * gui/Player.{cpp,h}: use named constructors to create
1050 guis, so to avoid the need of including GUI-specific
1051 headers (which do conflict).
1052 * gui/gui.h: make constructors protected, provide named
1053 (free functions) constructors for the different guis.
1054 * gui/: gui_aqua.cpp, gui_fb.cpp, gui_fltk.cpp, gui_gtk.cpp,
1055 gui_kde.cpp, gui_riscos.cpp, gui_sdl.cpp: modules implementing
1056 the GUI named constructors.
1058 2007-07-25 Sandro Santilli <strk@keybit.net>
1060 * gui/Player.{cpp,h}: add support for multiple GUI libs.
1061 They can be statically or dynamically linked (not loaded as plugins
1063 * gui/gnash.cpp: add a -G switch to select GUI. If the gui wasn't
1064 compiled in an exception will be thrown (and dunno why not propery
1067 2007-07-25 Sandro Santilli <strk@keybit.net>
1069 * configure.ac: set the BUILD_<gui> conditionals *after* giving kde
1070 gui a chance to be picked back as a dependency of 'klash'.
1071 This fixes a buil bug when klash is enabled by only gtk gui is
1073 * lots of files : fixed Copyright info (delete spurious empty line,
1076 2007-07-25 Sandro Santilli <strk@keybit.net>
1078 * server/as_value.h: remove unneeded "container.h" include.
1079 * server/as_value.cpp (equalsSameType): fixed nan comparison.
1080 * testsuite/actionscript.all/Number.as: fixed NaN != NaN test
1081 (should return false). Add NaN == NaN test (should return true);
1082 Add (0/2) == (0/5) (shoudl return true).
1084 2007-07-25 Sandro Santilli <strk@keybit.net>
1086 * server/as_value.cpp: drop lowercase_if_needed, substitute with
1088 * server/as_value.h: add a PROPNAME macro to perform the lowercase
1089 conversion of property names when needed (copies arg)
1090 * server/as_environment.h: added some notes about variable name
1092 * server/edit_text_character.cpp: removed unused lowercase_if_needed
1094 * gui/Makefile.am: build klash when conditinally enabled
1095 * gui/gnash.cpp: add missing newline after Gstreamer version
1098 2007-07-24 Sandro Santilli <strk@keybit.net>
1100 * testsuite/actionscript.all/MovieClip.as: minor test for
1101 proper properties 'loadMovie' and 'loadMovieNum'.
1102 * server/edit_text_character.cpp: make the
1103 PP_COMPATIBLE_DEVICE_FONT_HANDLING back to undefined
1104 by default. It's incomplete and premature to attempt
1105 limitation-level compatibility.
1106 * configure.ac: don't take absence of libAGG as if an
1107 old version was found. Fixes bug #20011.
1109 2007-07-24 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1111 * server/parser/video_stream_def.cpp: Free the video frames
1112 when deleting the video_stream_def object. Make the buffer
1113 containing the video data 4 bytes bigger than needed to avoid
1114 illegal reads from ffmpeg. Fixes bug #20440.
1116 2007-07-24 Sandro Santilli <strk@keybit.net>
1118 * Makefile.am: define PHONY rules.
1120 2007-07-24 Sandro Santilli <strk@keybit.net>
1122 * server/edit_text_character.cpp: add a
1123 PP_COMPATIBLE_DEVICE_FONT_HANDLING macro to mimic
1124 limitation of proprietary player in handling textfields
1125 using device fonts. See DeviceFonts wiki page for more
1126 information. (The macro defaults to being defined)
1128 2007-07-24 Sandro Santilli <strk@keybit.net>
1130 * server/asobj/SoundFfmpeg.h: Provide a constructor
1131 for proper initialization of members.
1132 YOU CAN NOT ASSUME POINTERS WILL BE INITIALIZED TO NULL.
1135 2007-07-24 Sandro Santilli <strk@keybit.net>
1137 * server/text.cpp (display_glyph_records): don't render invalid glyphs
1138 as empty boxes, unless a DRAW_INVALID_GLYPHS_AS_EMPTY_BOXES macro
1140 * server/edit_text_character.cpp (setEmbedFonts):
1141 Set _embedFonts *before* calling format_text, or
1142 glyph indexes will be messed up.
1144 2007-07-24 Sandro Santilli <strk@keybit.net>
1146 * server/font.{cpp,h}: Refactor class definition
1147 to maintain two separate glyph information sets:
1148 one for device and one for embedded glyphs. Added
1149 a parameter to glyph-related accessors and mutators
1150 to specify which set to use.
1151 * server/edit_text_character.{cpp,h}: update gnash::font
1152 services call to select embedded or device fonts.
1153 * server/fontlib.cpp: updated calls to gnash::font so
1154 to always use embedded ones (mostly caching stuff, which
1155 is currently disabled)
1156 * server/text.{cpp,h}: add a boolean parameter to
1157 display_glyph_records to specify wheter to use embedded
1158 or device glyphs when fetching them from the font.
1159 * server/parser/text_character_def.cpp: use embedded glyphs.
1161 2007-07-24 Sandro Santilli <strk@keybit.net>
1163 * server/parser/edit_text_character_def.h:
1164 initialize m_use_outlines to true (so dynamically-created
1165 textfields will use device fonts by default), provide
1166 a getUseEmbeddedGlyphs() public method.
1167 * server/edit_text_character.{cpp,h}: add an _embedFonts member
1168 initialized using edit_text_character_def::getUseEmbeddedGlyphs(),
1169 provide the "embedFonts" getter-setter for it.
1170 * testsuite/: actionscript.all/TextField.as,
1171 misc-ming.all/DefineEditTextTest.c: less failures.
1173 2007-07-24 Sandro Santilli <strk@keybit.net>
1175 * testsuite/misc-ming.all/: DefineEditTextTest.c,
1176 DefineEditTextTest-Runner.cpp: a small additional
1177 test for runtime-changing the .embedFont member of a TextField.
1178 * testsuite/actionscript.all/TextField.as: more tests
1179 for embedFont member.
1181 2007-07-24 Sandro Santilli <strk@keybit.net>
1183 * server/font.cpp: more parser verbosity.
1184 * server/movie_root.cpp (notify_global_key): Key object
1185 existed since SWF5, not SWF6. Fixes pacman-flash.swf.
1186 * server/gnash.h: fix PGDN and PGUP key constants
1187 * server/asobj/Global.cpp: initialize the "Key" class
1189 * server/asobj/Key.cpp: use init_member rather then set_member
1190 when initializing constants, reduce complexity of compile-time
1191 switches for NEW_KEY_LISTENER_LIST_DESIGN, general cleanups.
1192 * testsuite/actionscript.all/: Makefile.am, Key.as: new testcase
1195 2007-07-24 Udo Giacomozzi <udo.gnu@nova-sys.net>
1197 * server/dlist.cpp: handle masks of certain malformed(?) movies correctly
1200 2007-07-24 Sandro Santilli <strk@keybit.net>
1202 * testsuite/actionscript.all/: case.as, enumerate.as: add rcsid.
1203 * server/as_object.{cpp,h}: Add a virtual enumerateNonProperties,
1204 called by enumerateProperties, to allow for enumeration of non-proper
1205 properties (in particular sprite childs).
1206 * server/sprite_instance.{cpp,h}: Implement enumerateNonProperties to
1207 enumerate child characters.
1208 * testsuite/actionscript.all/enumerate.as: don't expect failures while
1211 2007-07-24 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1213 * server/parser/video_stream_def.cpp: Convert width and height to
1214 the correct format before using them. Fixes bug #20526 and #20440.
1216 2007-07-23 Sandro Santilli <strk@keybit.net>
1218 * backend/: sound_handler_gst.{cpp,h},
1219 sound_handler_sdl.{cpp,h}:
1220 Define sound handlers inside the gnash namespace.
1222 2007-07-23 Sandro Santilli <strk@keybit.net>
1224 * plugin/klash/Makefile.am: fix uninstall rule.
1225 Make distcheck works fine on gnashdev now.
1227 2007-07-23 Sandro Santilli <strk@keybit.net>
1229 * libbase/embedVideoDecoderGst.cpp (createDecoder): fix use of
1230 possibly undefined variable warning, added a couple of assertions
1231 and comments about the why.
1233 2007-07-23 Sandro Santilli <strk@keybit.net>
1235 * backend/: sound_handler.{cpp,h}, Makefile.am,
1236 sound_handler_gst.cpp, sound_handler_sdl.cpp,
1237 libbase/: utility.{cpp,h}, server/asobj/SoundMad.cpp:
1238 Moved convert_raw_data from libgnashbackend
1239 to libgnashbase. Should fix bug #20110.
1241 2007-07-23 Sandro Santilli <strk@keybit.net>
1243 * configure.ac: still create Makefile under cygnal
1244 subdirs, or 'dist' rule will fail.
1246 2007-07-23 Sandro Santilli <strk@keybit.net>
1248 * configure.ac: make sure $add_renderer contain
1249 well-defined values (not arbitrary ones). This is
1250 to make sure RENDERER_LIBS is always meaningful.
1252 2007-07-23 Sandro Santilli <strk@keybit.net>
1254 * plugin/klash/Makefile.am: define GNASHBINDIR.
1255 * configure.ac: don't define RENDERER_AGG *before* the build_agg
1256 variable it is based on has a chance to change value.
1259 2007-07-23 Sandro Santilli <strk@keybit.net>
1261 * configure.ac: Fix help strings: --with-{gui,renderer} => --enable-{gui,renderer}
1262 * plugin/klash/klash_part.cpp: invoke "klash", not "gnash".
1263 Allow KLASH_PLAYER environment variable to change what's
1264 invoked. The plan is that "klash" would be an alias for
1267 2007-07-23 Udo Giacomozzi <udo.gnu@nova-sys.net>
1269 * server/edit_text_character.cpp: make get_world_cxform() again
1270 Windows-compatible (relevant code is still disabled, so no
1271 visible difference until we have finished discussing this)
1273 2007-07-23 Sandro Santilli <strk@keybit.net>
1275 * gui/Makefile.am, testsuite/misc-mtasc.all/Makefile.am:
1277 * testsuite/misc-ming.all/: DefineEditTextTest-Runner.cpp,
1278 Makefile.am: skeleton for a MovieTester based runner.
1279 * testsuite/misc-ming.all/DefineEditTextTest.c: fixed expected
1281 * autogen.sh: libtoolize is in the 'libtool' package.
1282 * plugin/plugin.h: remove unneeded include.
1284 2007-07-22 Sandro Santilli <strk@keybit.net>
1286 * server/edit_text_character.cpp: (get_world_cxform):
1287 return the identity transform in the (disabled)
1288 "device font" section.
1290 2007-07-22 Udo Giacomozzi <udo.gnu@nova-sys.net>
1292 * testsuite/samples/input-fields.swf: sample movie
1295 2007-07-22 Sandro Santilli <strk@keybit.net>
1297 * server/edit_text_character.{cpp,h} (setTextColor):
1298 update text glyph records color.
1300 2007-07-21 Sandro Santilli <strk@keybit.net>
1302 * testsuite/actionscript.all/TextField.as: update expected
1303 results for 'textColor' member.
1304 * server/types.h (rgba::toRGB): const-corrected.
1305 * server/edit_text_character.{cpp,h}: Add a member for text color,
1306 make 'textColor' a proper property.
1308 2007-07-21 Markus Gothe <nietzsche@lysator.liu.se>
1310 * gui/Makefile.am: Added BUILD_GUI_AQUA.
1312 2007-07-20 Udo Giacomozzi <udo.gnu@nova-sys.net>
1314 * server/edit_text_character.cpp: fix background and cxform for
1316 * server/edit_text_character.{h,cpp}: special get_world_cxform()
1317 handler to make input fields opaque for device fonts (currently
1318 no effect, since it can't be detected yet)
1320 2007-07-20 Sandro Santilli <strk@keybit.net>
1322 * server/edit_text_character.cpp (display): make the default
1323 background color solid white (but still background is only drawn
1324 if either 'background' or 'border' are set to true).
1325 * testsuite/misc-ming.all/DefineEditTextTest.c: don't include gnash
1326 headers from SWF *generators* !
1327 * configure.ac: provide a RENDERER_LIBS listing all built renderer
1329 * testsuite/Makefile.am: link libgnashtestsuite against all built
1332 2007-07-20 Sandro Santilli <strk@keybit.net>
1334 * configure.ac: rename the gui/renderer selection switch
1335 back to --enable-{gui,renderer} so we don't need to update
1336 our existing configuration wrapper scripts; dynamic loading
1337 of gui/renderer is disabled by default, so advertise the switch
1340 2007-07-20 Zou Lunkai <zoulunkai@gmail.com>
1342 * testsuite/misc-ming.all/unload_movieclip_test1.c: comments
1343 * testsuite/misc-ming.all/DefineEditTextTest.c: removed some incorrect
1346 2007-07-19 Rob Savoye <rob@deal.welcomehome.org>
1348 * gui/Makefile.am: Use *_CONFIG variables instead of *_OPT
1349 ones. Use BUILD_* conditionals instead of USE_GUI.
1350 * backend/Makefile.am: Build seperate libraries for each backend.
1351 * configure.ac: Don't pass the data to AM_INIT_AUTOMAKE. Don't
1352 disable static libs. Add option for dynamically loading
1353 guis. (disabled by default for now). Don't build cygnal by
1354 default. Remove --enable-gui and --enable-renderer with new
1355 options, --with-gui and --with-renderer to list multiple options
1356 for guis and renderers. Don't configure cygnal sub directories yet.
1357 * Makefile.am: Use *_CONFIG variables instead of *_OPT ones.
1358 * extensions/Makefile.am: Use BUILD_* conditionals instead of
1360 * libbase/Makefile.am: Use HAVE_SDL instead of HAS_SDL.
1361 * macros/gtkglext.m4: Use --libs-only-l insted of --libs.
1362 * testsuite/misc-ming.all/DefineEditTextTest.c: Include fontlib.h.
1363 * macros/libltdl.m4: Move the serial numbers to the top to keep
1364 automate 1.19 happy.
1365 * macros/x11.m4: Don't put a conditional in an if block.
1367 2007-07-15 Rob Savoye <rob@deal.welcomehome.org>
1369 * po/Makefile.am: Add -Wno-portability to AUTOMAKE_OPTIONS to
1370 stop complaints we don't care about.
1371 * gui/Makefile.am: Add -Wno-portability to AUTOMAKE_OPTIONS to
1372 stop complaints we don't care about.
1373 * testsuite/misc-ming.all/Makefile.am: Add -Wno-portability to
1374 AUTOMAKE_OPTIONS to stop complaints we don't care about.
1375 * testsuite/misc-swfmill.all/Makefile.am: Add -Wno-portability to
1376 AUTOMAKE_OPTIONS to stop complaints we don't care about.
1377 * testsuite/swfdec/Makefile.am: Add -Wno-portability to
1378 AUTOMAKE_OPTIONS to stop complaints we don't care about.
1380 2007-07-14 Rob Savoye <rob@bertha.welcomehome.org>
1382 * configure.ac: Add new Cygnal directories.
1384 2007-07-19 Sandro Santilli <strk@keybit.net>
1386 * testsuite/actionscript.all/TextField.as: more successes.
1387 * server/edit_text_character.cpp (attachTextFieldInterface):
1388 fix a bug swapping .border and .borderColor semantic (!).
1389 * configure.ac: test(1) string equality operator is "=",
1390 not "==". Other attempt at fixing bug #20525.
1392 2007-07-18 Sandro Santilli <strk@keybit.net>
1394 * configure.ac: quote `backticked commands` when assigning to
1395 variables. Should fix bug #20525.
1397 2007-07-18 Sandro Santilli <strk@keybit.net>
1399 * backend/render_handler_agg_style.h: fixed initialization order
1401 * backend/render_handler_agg.cpp: signedness and initialization list
1402 order warnings fix. This code is a jungle, would be *really* useful
1403 to split class declarations and definition.
1405 2007-07-18 Sandro Santilli <strk@keybit.net>
1407 * server/impl.cpp (clear): don't attempt to cleanup the
1408 GC if no GC is being used.
1409 * cygnal/Makefile.am : Don't build the cygnal stuff,
1410 it's alpha after all... But still include in distribution.
1412 2007-07-18 Sandro Santilli <strk@keybit.net>
1414 * cygnal/ACT/ACT.{cpp,hpp}: throw runtime_error if in need for a
1415 message string (std::exception ctor doesn't accept a string arg)
1416 * cygnal/ACT/Handle.hpp: fix *a few* build errors, more available.
1417 * cygnal/Makefile.am: Add all subdirs to SUBDIRS. Fixes bug #20509.
1419 2007-07-18 Sandro Santilli <strk@keybit.net>
1421 * gui/gtksup.h: Fix extra qualification 'gnash::GtkGui::' on member 'rerenderPixels'
1423 2007-07-18 Udo Giacomozzi <udo.gnu@nova-sys.net>
1425 * gui/gtk.cpp: Make the drawing area resize also vertically with the window,
1427 * backend/render_handler.h, backend/render_handler_agg.cpp,
1428 backend/render_handler_tri.{cpp,h}: new methods "pixel_to_world"
1429 * gui/gtk.cpp, gui/gtksup.h: Fix re-rendering on expose for scaled movies
1431 2007-07-18 Zou Lunkai <zoulunkai@gmail.com>
1433 * testsuite/misc-ming.all/unload_movieclip_test1.c, DefineEditTextTest.c:
1436 2007-07-18 Zou Lunkai <zoulunkai@gmail.com>
1438 * testsuite/misc-ming.all/Makefile.am, unload_movieclip_test1.c: add
1439 a testcase for unloaded movieclips, Gnash fails.
1441 2007-07-18 Sandro Santilli <strk@keybit.net>
1443 * testsuite/actionscript.all/TextField.as: Updated test results.
1444 * testsuite/misc-ming.all/DefineEditTextTest.c: Updated test results.
1445 * server/types.h: Add rgba::toRGB for serializing back to a number.
1446 * server/edit_text_character.{cpp,h}: use instance members and
1447 getter-setters to keep info about background and border.
1448 This should fix invalidated bounds computation.
1450 2007-07-18 Zou Lunkai <zoulunkai@gmail.com>
1452 * testsuite/misc-ming.all/DefineEditTextTest.c: xchecks to checks, more
1455 2007-07-17 Sandro Santilli <strk@keybit.net>
1457 * server/edit_text_character.{cpp,h}: Initial support for background,
1458 backgroundColor, border and borderColor. Lacks proper management
1459 of invalidated bounds and class properties.
1460 * server/types.h: Add rgba::parseRGB() for converting an integer
1462 * server/as_object.h: fix comments about case sensitiveness of
1463 get_member* and set_member*.
1464 * gui/Makefile.am: add gtk_cairo_create.h in GTK_CAIRO_SRCS.
1466 2007-07-18 Markus Gothe <nietzsche@lysator.liu.se>
1468 * macros/opengl.m4: Typo fix on Darwin.
1470 2007-07-17 Nick Warne <nickw>
1472 * backend/sound_handler_sdl.h, libbase/embedVideoDecoderFfmpeg.{cpp,h},
1473 server/asobj/{Sound, Netstream}Ffmpeg.h, gui/gnash.cpp: Fix for
1476 2007-07-17 Zou Lunkai <zoulunkai@gmail.com>
1478 * testsuite/actionscript.all/MovieClip.as: more tests, all passed.
1480 2007-07-17 Zou Lunkai <zoulunkai@gmail.com>
1482 * testsuite/misc-ming.all/key_event_test5.c: make tests not dependent
1483 on the time of a key press, better self-contained.
1484 * testsuite/actionscript.all/MovieClip.as: fix unsafe floating number
1485 comparison, better self-contained.
1487 2007-07-17 Zou Lunkai <zoulunkai@gmail.com>
1489 * server/asobj/Key.h, server/asobj/Key.cpp,
1490 server/button_character_instance.cpp
1491 server/edit_text_character.cpp, server/movie_root.h,
1492 sever/movie_root.cpp, server/sprite_instance.cpp: key listener
1493 handling cleanups, for better management of key listeners. change
1494 key listeners container from std::vector to std::set. Correct indent.
1496 2007-07-14 Rob Savoye <rob@bertha.welcomehome.org>
1498 * configure.ac: Add new Cygnal directories.
1500 2007-07-13 Sandro Santilli <strk@keybit.net>
1502 * server/sprite_instance.cpp (sprite_droptarget_getset):
1503 Always return a string.
1504 * testsuite/actionscript.all/MovieClip.as: fixed expected results.
1506 2007-07-13 Sandro Santilli <strk@keybit.net>
1508 * server/sprite_instance.cpp (sprite_create_text_field): when
1509 targetting SWF8, return the newly created TextField.
1510 * testsuite/actionscript.all/MovieClip.as: more successes.
1511 * testsuite/actionscript.all/TextField.as: more successes; other fixes
1512 to expected results.
1514 2007-07-13 Sandro Santilli <strk@keybit.net>
1516 * testsuite/actionscript.all/MovieClip.as: add notes about where we
1517 have been reported differences between proprietary player versions;
1518 fix check for return code of createTextField for SWF8.
1519 * testsuite/actionscript.all/TextField.as:
1520 fix check for return code of createTextField for SWF8;
1521 fix expected failures.
1523 2007-07-13 Sandro Santilli <strk@keybit.net>
1525 * testsuite/actionscript.all/CustomActions.as: add a note about why
1527 * server/asobj/Mouse.cpp: fix case of addListener and removeListener
1528 methods, add TODO for fixing all.
1529 * testsuite/actionscript.all/Mouse.as: fix the test (case issue, and
1532 2007-07-13 Sandro Santilli <strk@keybit.net>
1534 * testsuite/actionscript.all/TextField.as: an hopefully complete
1535 testcase for the TextField class. Reveals a pattern in the
1536 TextField.prototype properties being created on first call to
1537 createTextField() which looks interesting. Gnash fails about
1538 half of the over 250 tests.
1540 2007-07-13 Sandro Santilli <strk@keybit.net>
1542 * backend/render_handler.h, backend/render_handler_agg.cpp,
1543 backend/render_handler_cairo.cpp,
1544 backend/render_handler_ogl.cpp, backend/render_handler_tri.cpp,
1545 backend/render_handler_tri.h, server/fontlib.cpp,
1546 server/fontlib.h, server/render.cpp, server/render.h:
1547 Updated renderer interface to always take gnash::rgba by const ref
1548 rather then by value. Should improve performance (removes double
1549 copy of 4 float values for each glyph, bitmap, line strip!).
1551 2007-07-13 Sandro Santilli <strk@keybit.net>
1553 * testsuite/actionscript.all/TextField.as:
1554 Add test for TextField.prototype.hasOwnProperty('background')
1555 returning false (weird, returns true in
1556 misc.ming-all/DefineEditTestTest.c!)
1557 * testsuite/misc-ming.all/DefineEditTextTest.c:
1558 Add test for TextField.prototype.hasOwnProperty('background')
1559 returning true (weird, returns false in actionscript.all/TextField.as!)
1561 2007-07-13 Sandro Santilli <strk@keybit.net>
1563 * testsuite/actionscript.all/Microphone.as: test cleanup
1565 * testsuite/misc-ming.all/Makefile.am: Fix linking
1566 for DefineEditTextTest, add rule to build the corresponding
1569 2007-07-13 Zou Lunkai <zoulunkai@gmail.com>
1571 * testsuite/misc-ming.all/DefineEditTextTest.c: more tests.
1573 2007-07-13 Zou Lunkai <zoulunkai@gmail.com>
1575 * testsuite/misc-ming.all/DefineEditTextTest.c:
1576 include dejagnuclip, make it to be a self-contained one.
1578 2007-07-12 Ivor Blockley <meteoryte@yahoo.com.au>
1581 * server/array.{cpp,h}: fix user-defined comparator for sort()
1582 operation. There's a minor failure with definition of 'this'
1583 inside the comparator.
1584 * testsuite/actionscript.all/array.as: add test for sort based
1587 2007-07-12 Sandro Santilli <strk@keybit.net>
1589 * testsuite/libbase/Makefile.am: gnash libs must be in LDADD, not
1590 AM_LDFLAGS, for dependencies to work fine.
1591 * server/font.cpp (get_advance): fix passing non-POD type to
1592 printf-like function.
1593 * libbase/rc.{cpp,h}: make the constructor and destructor private.
1594 * testsuite/libbase/TCXXRc.cpp: use the default instance.
1596 2007-07-12 David Rorex <drorex@gmail.com>
1598 * testsuite/misc-mtasc.all/: Dejagnu.as, Makefile.am,
1599 README, TestClass.as, check.as, enum.as, function.as, hello.as,
1600 inheritance.as, level5.as, level99.as, levels.as:
1601 Reorganized MTASC framework to avoid hackish use of Ming, and using
1602 the new dynamic textfield support. Added test for _level loading.
1604 2007-07-12 Martin Guy <martinwguy@yahoo.it>
1606 * configure.ac,macros/docbook.m4,:
1607 Document "make pdf and "make html" commands near --enable-docbook
1608 * doc/C/usermanual/installation/feature_configuration.xml:
1609 document --enable-docbook configuration flag.
1610 * fb/gui.cpp: Add newline to end of fatal messages.
1611 * server/stream.cpp: Remove silly assert to remove compiler warning
1612 about signed/unsigned
1614 2007-07-12 Zou Lunkai <zoulunkai@gmail.com>
1616 * testsuite/actionscript.all/case.as: add tests for _name and _target,
1617 they are not converted to lower case with swf6.
1619 2007-07-12 Zou Lunkai <zoulunkai@gmail.com>
1621 * testsuite/actionscript.all/case.as: add macros for version dependent
1623 * testsuite/actionscript.all/Makefile.am: activate enumerate.as and
1626 2007-07-11 Sandro Santilli <strk@keybit.net>
1628 * server/edit_text_character.cpp (remove the "default" font logic,
1629 leave that to edit_text_character_def instead).
1630 * server/sprite_instance.cpp (add_textfield): finish implementation,
1631 use an hard-coded 10 pixel of font height.
1632 * server/text.cpp: more debugging (when activated)
1633 * server/parser/edit_text_character_def.{cpp,h}: add set_bounds
1634 and set_font_height for dynamic textfields, use a default font
1635 when none is specified or the one specified is not found.
1637 2007-07-11 Sandro Santilli <strk@keybit.net>
1639 * server/font.{cpp,h}: Store name by std::string
1640 rather then by char*, Provide a constructor for
1642 * server/fontlib.{cpp,h}: Add a get_default_font.
1643 * server/edit_text_character.cpp: Use the default
1644 font if no font is specified in the definition.
1645 * server/parser/edit_text_character_def.cpp: not having
1646 a font in the definition isn't an error, turn it into
1647 a debugging message instead.
1649 2007-07-11 Timothy Lee <timothy.lee@siriushk.com>
1651 * backend/render_handler_cairo.cpp: correct scaling and offset
1652 in video rendering. Optimize RGB data conversion as suggested
1653 by John Gilmore. Fix a bug in rgba_to_cairo_argb32(), which
1654 incremented only 3 instead of 4 bytes per pixel.
1656 2007-07-11 Udo Giacomozzi <udo.gnu@nova-sys.net>
1658 * gui/fb.cpp: print fatal error messages to stdout (workaround),
1661 2007-07-11 Zou Lunkai <zoulunkai@gmail.com>
1663 * testsuite/actionscript.all/case.as: add a testcase for testing
1664 case senstivity for SWF < 7.
1666 2007-07-11 Zou Lunkai <zoulunkai@gmail.com>
1668 * testsuite/misc-ming.all/key_event_test4.c, key_event_test5.c: call totals()
1669 instead of total() to give a final report, the later one is an undefined function.
1670 * testsuite/misc-ming.all/key_event_test5runner.c: add comments why Gnash fails,
1671 it forgets to do the case conversion, a big bug!
1673 2007-07-10 Sandro Santilli <strk@keybit.net>
1675 * server/: fontlib.h, gnash.h: move fontlib namespace
1676 declaration where it belong.
1678 2007-07-10 Sandro Santilli <strk@keybit.net>
1680 * server/movie_root.cpp (display): fix calls to
1681 begin_display/end_display. Fixes playback of multi-level movies.
1682 * testsuite/swfdec/PASSING: three more tests succeed (name
1683 of loaded instances).
1684 * server/character.cpp (getTarget): remove the hard-coded
1685 _level0 lead, substitute with a correct level number.
1686 * server/: as_environment.cpp, character.cpp,
1687 sprite_instance.cpp: properly evaluate _level#
1690 2007-07-10 Sandro Santilli <strk@keybit.net>
1692 * server/vm/ASHandlers.cpp (CommonGetUrl): implement _level loading.
1694 * server/movie_root.{cpp,h}: add loadLevel() method, store levels in
1695 a map rather then a vector.
1697 2007-07-10 Sandro Santilli <strk@keybit.net>
1699 * server/: movie_instance.h, character.h: make get_root() a const
1701 * server/movie_root.{cpp,h}: support multiple levels. Untested.
1703 2007-07-10 Sandro Santilli <strk@keybit.net>
1705 * server/parser/movie_def_impl.cpp (add_sound_sample): fix verbosity
1706 to use log_parse and depend on IF_VERBOSE_PARSE.
1707 * server/button_character_instance.cpp (on_event): don't require a
1708 button's parent to be a sprite. Fixes bug #20436.
1709 * server/parser/button_character_def.cpp: verbose button_record
1711 * libbase/utility.h (typeName): arg by *const* ref.
1713 2007-07-10 Timothy Lee <timothy.lee@siriushk.com>
1715 * backend/render_handler_cairo.cpp: initial pass at video rendering for cairo.
1716 (scale and offset don't work consistently yet).
1718 2007-07-10 Zou Lunkai <zoulunkai@gmail.com>
1720 * server/movie_root.cpp: remove the key listener from the listener container,
1721 not just unregister it.
1722 * server/movie_root.h: add a public getKeyListeners() to return the key listener set.
1723 * server/asobj/key.cpp: unregister the key listener. Hopefully fix bug #20317, will
1724 do more tests later.
1726 2007-07-10 Zou Lunkai <zoulunkai@gmail.com>
1728 * testsuite/misc-ming.all/key_event_test5.c: more tests.
1729 * testsuite/misc-ming.all/key_event_test5runner.c: add a testrunner.
1730 * testsuite/misc-ming.all/Makefile.am: enable key_event_test4runner,
1731 enable key_event_test5runner
1733 2007-07-10 Sandro Santilli <strk@keybit.net>
1735 * testsuite/misc-ming.all/Makefile.am: add rules for building
1736 key_event_test4.swf and key_event_test5.swf - test *runners* still
1738 * server/movie_root.{cpp,h}: mark key listeners as reachable.
1739 * server/asobj/Key.{cpp,h}: mark key listeners as reachable.
1741 2007-07-10 Zou Lunkai <zoulunkai@gmail.com>
1743 * testsuite/misc-ming.all/key_event_test5.c: new testcase for key listeners,
1744 would cause a segfault when any key pressed, so not enabled.
1746 2007-07-09 Sandro Santilli <strk@keybit.net>
1748 * server/swf.h: add defines and links to alexis for SCRIPTLIMITS (SWF8),
1749 DOABCDEFINE and SYMBOLCLASS (SWF9).
1751 2007-07-09 Bernhard Rosenkraenzer <bero@arklinux.org>
1753 * macros/ffmpeg.m4: don't assume FFMPEG CFLAGS only contain a single
1756 2007-07-09 Sandro Santilli <strk@keybit.net>
1758 * server/parser/video_stream_def.{h,cpp}: drop the m_width and m_height
1759 public members, substitute them with a private m_bound (renamed
1760 from m_unused_bound since it is now used). This fixes get_bound
1761 to return a meaningful value.
1762 * server/video_stream_instance.{cpp,h}: stop using m_width and m_height
1763 of the definition, rather use the get_bound() method.
1764 Fixes bug #20177 (Youtube: half the video hidden)
1766 2007-07-09 Sandro Santilli <strk@keybit.net>
1768 * server/as_value.cpp (to_debug_string): include object type name.
1769 * libbase/utility.h: add a templated typeName() function for
1771 * server/character.cpp (width_getset,height_getset): include
1772 character's type name in aserror.
1774 2007-07-09 Martin Guy <martinwguy@yahoo.it>
1776 * gui/gtk_cairo.h: FIx compiler warning about unused params
1777 * libbase/curl_adapter.cpp: Workarounds for older versions of curl
1779 2007-07-08 Sandro Santilli <strk@keybit.net>
1781 * server/as_value.{cpp,h} (equals): don't always force string
1782 comparison if the first argument is a string (matches ECMA spec,
1784 * testsuite/actionscript.all/Number.as: add test for string:00 ==
1787 2007-07-08 Sandro Santilli <strk@keybit.net>
1789 * server/asobj/Global.h: include extension.h when needed.
1790 * server/swf.h: link to info about ActionNewAdd
1791 * testsuite/actionscript.all/Number.as: Add a quick testcases
1792 for using ActionNewAdd with a string and a number parameters
1795 2007-07-08 Sandro Santilli <strk@keybit.net>
1797 * doc/C/usermanual/installation/feature_configuration.xml:
1798 the debugger is now off by default, so document --enable-debugger
1799 rather then --disable-debugger; Document --enable-write and
1802 2007-07-08 Martin Guy <martinwguy@yahoo.it>
1804 * configure.ac: Say where to get gtkglext source
1805 * C/usermanual/installation/feature_configuration.xml:
1806 Add missing <variablelist> </variablelist> round GUI choices item
1807 and remove configure --enable-dom (it has gone)
1808 Remove doc for configure --enable-xmlreader and --enable-testing
1809 (they have gone too)
1810 Remove mention of old --enable-sound, fix default as --enable-plugin
1811 and talk about MAD / GST-FFMPEG differences.
1812 * gui/gtk_glue_cairo.h: Drop unused variable compiler warnings
1813 * backend/sound_handler.h libbase/FLVParser.h:
1814 Document extra NELLYMOSER format code (mentioned in libavcodec/flv.h)
1815 * macros/ffmpeg.m4: Don't zero ffmpeg_version if too early; it is used
1816 in the final error report and is always checked against "ok" to see
1817 if there is an acceptable version.
1818 * macros/ffmpeg.m4: Add commentary preparing for better version checking
1820 2007-07-07 Markus Gothe <nietzsche@lysator.liu.se>
1822 * testsuite/misc-ming.all/ming_utils.h: Added defintion of
1823 SWFMove_wrteExports().
1825 2007-07-07 Martin Guy <martinwguy@yahoo.it>
1827 * libbase/network.h,server/shm.{h,cpp}: Remove last remnants of
1828 ENABLE_TESTING ifdef
1829 * configure.ac: Remove bogus "Web server support disabled" report,
1830 switched on nonexistent $http variable
1832 2007-07-06 Sandro Santilli <strk@keybit.net>
1834 * libbase/ref_counted.h: use boost's atomic_count
1835 for the reference counter. Should be safer.
1838 2007-07-06 Sandro Santilli <strk@keybit.net>
1840 * server/vm/ASHandlers.cpp (CommonGetUrl): use
1841 sprite_instance::loadMovie for target loads.
1843 * server/vm/action.{cpp,h}: obsolete attach_extern_movie
1844 in favor of sprite_instance::loadMovie, known to work
1845 better in at least one case (bug #20001).
1847 2007-07-06 Martin Guy <martinwguy@yahoo.it>
1849 * backend/Makefile.am: Move a GUI test to its logical place
1850 * testsuite/libamf.all/test_number.cpp: Remove uused variables and
1851 commented-out debugging printfs
1852 * gui/gnash.cpp: Reformat crazy indentation and simplify redundant
1853 local variables (no functional change)
1854 * configure.ac: Fix typo "handlign" in message
1855 * configure.ac: Fix formatting of missing BOOST date_time message
1856 * configure.ac: Fix error message for missing docbook2x tools
1857 * configure.ac: Add xsltproc to list of docbook required packages
1858 * server/asobj/SoundFfmpeg.cpp: Fix signed/unsigned compiler warning
1860 2007-07-05 Martin Guy <martinwguy@yahoo.it>
1862 * server/parser/movie_def_impl.cpp: Report internal sample ID too in
1863 verbose parse log message
1865 2007-07-05 Sandro Santilli <strk@keybit.net>
1867 * server/parser/sprite_definition.h (add_sound_sample): don't
1868 complain about sound sampes definitions found in a sprite definition
1869 context. That's completely legal.
1870 * server/array.cpp (array_concat): fix typo in function argument
1871 access. Fixes bug #20355.
1872 * testsuite/actionscript.all/array.as: add more tests for Array.concat()
1874 2007-07-04 Udo Giacomozzi <udo.gnu@nova-sys.net>
1876 * gui/NullGui.cpp: use tu_timer instead of gettimeofday()
1878 2007-07-03 Sandro Santilli <strk@keybit.net>
1880 * configure.ac: disable debugger by default. Use --enable-debugger
1883 2007-07-03 Sandro Santilli <strk@keybit.net>
1885 * server/asobj/Global.{cpp,h}: Don't use a module-static
1886 for the Extension instance, when enabled.
1887 Seems to fix bug #20272 when debugger id disabled
1888 (sounds voodoo, but these are the effects of initialization
1889 and deinitialization order for statics...)
1891 2007-07-03 Sandro Santilli <strk@keybit.net>
1893 * gui/gnash.cpp (parseCommandLine): -g doesn't take an argument.
1894 * libbase/GC.{cpp,h}: define 3 verbosity levels for the GC
1896 2007-07-03 Udo Giacomozzi <udo.gnu@nova-sys.net>
1898 * gui/NullGui.cpp: implement correct timing
1900 2007-07-03 Udo Giacomozzi <udo.gnu@nova-sys.net>
1902 * gui/gui.{cpp,h}: add min/avg/max fps printing and total play time
1903 * libbase/GC.h: include assert.h
1905 2007-07-03 Sandro Santilli <strk@keybit.net>
1907 * backend/render_handler_tri.{cpp,h}: (tri_cache_manager): dont leak
1909 * server/parser/character_def.{cpp,h}: don't leak
1910 render cache managers.
1912 2007-07-02 Sandro Santilli <strk@keybit.net>
1914 * backend/sound_handler_sdl.{cpp,h}: fix leak of sound_data instances;
1915 added a few TODO items.
1917 2007-07-02 Sandro Santilli <strk@keybit.net>
1919 * server/parser/edit_text_character_def.h: add an htmlAllowed()
1921 * server/edit_text_character.h: add an htmlAllowed() private
1923 * server/edit_text_character.cpp (format_text): if HTML is allowed
1924 and found in the textfield text, just skip the tags and show the
1925 content, logging a debugging info about the fact (only once).
1927 2007-07-02 Sandro Santilli <strk@keybit.net>
1929 * server/FreetypeGlyphsProvider.cpp: protect debugging calls
1930 by a GNASH_DEBUG_DEVICEFONTS, defaulting to undefined.
1931 * libbase/GC.{cpp,h}: Implement an heuristic to reduce
1932 the number of collector runs. It is based on the number
1933 of newly registered collectables since last run.
1934 The threshold is set to 10 with a static const member
1935 of the GC class. See http://gnashdev.org/wiki/index.php/ProfilingGC
1936 for more informations.
1937 * gui/gui.cpp (fpsCounterTick): don't report an initial FPS of 0.
1939 2007-07-02 Sandro Santilli <strk@keybit.net>
1941 * gui/NullGui.{h,cpp}: implement quit(), for clean shutdown.
1942 * gui/gui.cpp (advance_movie): use quit() to exit
1944 2007-07-02 Sandro Santilli <strk@keybit.net>
1946 * gui/gnash.cpp (parseCommandLine): support floating point argument
1949 2007-07-02 Sandro Santilli <strk@keybit.net>
1951 * gui/gui.{cpp,h}: add setFpsTimerInterval() public method,
1952 change fpsCounterTick() interface to take no arg. Print total
1953 number of frame advances on destruction. All available ifdef
1955 * gui/Player.{cpp,h}: add a setFpsPrintTime() public method.
1956 Only available ifdef GNASH_FPS_DEBUG.
1957 * gui/gnash.cpp: Add -f switch for fps debugging prints
1958 (long option was not trivial so didn't add it).
1959 Note that if GNASH_FPS_DEBUG is not defined the -f switch
1962 2007-07-02 Udo Giacomozzi <udo.gnu@nova-sys.net>
1964 * gui/gui.{cpp,h}: add fpsCounterTick() for FPS profiling
1966 2007-07-02 Sandro Santilli <strk@keybit.net>
1968 * configure.ac: add --enable-fps-debug switch to define
1969 GNASH_FPS_DEBUG macro, to use for fuzy speed profiling.
1971 2007-07-02 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1973 * server/parser/sprite_definition.h: Allow soundsamples to be added
1974 from sprites. Should the malformed-swf warning be removed?
1975 * backend/sound_handler_gst.cpp: Moved creation of a tempoary
1976 variable to avoid an assertion failure.
1977 * backend/sound_handler_sdl.cpp: Improved error handling.
1979 2007-07-02 Udo Giacomozzi <udo.gnu@nova-sys.net>
1981 * gui/gtk_glue_agg.cpp: Disable MIT-SHM when pixel format is not recognized
1983 2007-07-01 Sandro Santilli <strk@keybit.net>
1985 * libbase/GC.h: don't be verbose about GC by default.
1986 * server/movie_root.{cpp,h}: (add_interval_timer): take the Timer by
1987 auto_ptr, add an optional second argument marking the timer as
1988 internal (for use by xmlsocket/LoadVars and whichever other gnash
1989 internal class in need for a timer). Internal timers will get a
1990 negative identifier so to not introduce unexpected gaps in the
1991 user-defined interval timers sequences. Fix bugs introduced in last
1992 commit related to timer expiration and iterators invalidation.
1993 * server/timers.{cpp,h}: add some inspector functions, use VM::getTime
1994 for timers (milliseconds).
1995 * server/asobj/: LoadVars.cpp, xmlsocket.cpp: update calls to
1996 movie_root::add_interval_timer to mark these timers as internal.
1998 2007-07-01 Sandro Santilli <strk@keybit.net>
2000 * testsuite/simple.exp: increment timeout from 4 to 5 minutes.
2001 * server/movie_root.{cpp,h}: store Timers into a map rather then
2002 a vector, to allow for removal w/out loosing the timer identifier.
2003 Scan a *copy* of the container so that clearing or adding new
2004 intervals don't invalidate iterators.
2006 2007-07-01 Sandro Santilli <strk@keybit.net>
2008 * libbase/ref_counted.h: use 'long' for the ref count,
2009 cleanup header inclusion, prepare for using an atomic
2010 counter for thread safety (not enabled yet).
2011 * server/parser/movie_def_impl.{cpp,h}: have MovieLoader
2012 keep the boost::thread by auto_ptr for proper destruction.
2014 2007-07-01 Markus Gothe <nietzsche@lysator.liu.se>
2016 * README: Added note on IRC.
2017 * gui/gnash.cpp: Added -V as shor for --version. Clean-up.
2019 2007-07-01 Sandro Santilli <strk@keybit.net>
2021 * COPYING: update to GPL version 3
2023 2007-07-01 Bastiaan Jacques <bastiaan@bjacques.org>
2025 * all over the place: Update to GPL version 3.
2027 2007-07-01 Sandro Santilli <strk@keybit.net>
2029 * libbase/GC.h: assert that only the main thread registers collectable
2030 objects with the GC, or runs the collector.
2032 2007-06-30 Sandro Santilli <strk@keybit.net>
2034 * server/impl.cpp (clear): don't exit, try the proper cleanup way;
2035 movie_def_impl loader should be ready, other threads likely aren't,
2036 this patch would expose all places in need for proper implementation
2037 of threads termination.
2038 * server/parser/movie_def_impl.{cpp,h}: implement
2039 loader thread cancelation request, wait for the thread
2040 to terminate in MovieLoader destructor.
2042 2007-06-30 Sandro Santilli <strk@keybit.net>
2044 * libbase/ref_counted.h: remove inheritance of ref_counted
2045 from GcResource, provide temporary isReachable/setReachable
2046 to allow not reverting all GC-related additions to character
2047 definitions and other possibly GcResource objects.
2048 * libbase/smart_ptr.h: have two versions of the intrusive_ptr
2049 free functions: one for GcResource (do nothing) and one
2050 for ref_counted (add/drop ref). Enable GC by default, where
2051 current version uses both RC and GC (GC only used for as_object)
2053 2007-06-29 Sandro Santilli <strk@keybit.net>
2055 * server/parser/button_character_def.cpp: ok, let action_buffer leak,
2056 as it seems deleting them in button_action dtor introduces a
2057 segfault in our testusuite. Sorry for not running 'make check'
2060 2007-06-29 Udo Giacomozzi <udo.gnu@nova-sys.net>
2062 * gui/gtk_glue_agg.cpp: properly initialize new SHM variables
2063 * server/array.{h,cpp}: classes with virtual methods need a destructor,
2066 2007-06-28 Sandro Santilli <strk@keybit.net>
2068 * server/parser/button_character_def.{cpp,h}: don't let
2069 gnash::button_action leak action_buffer objects.
2070 * server/FreetypeGlyphsProvider.cpp (getFontFilename): don't leak
2071 the FcFontSet when finding a match.
2072 * server/edit_text_character.{cpp,h}:
2073 Do not call on_event(KILL_FOCUS) in the destructor, do
2074 it on ::unload(). The less things destructors do, the better
2077 2007-06-27 Petr Pisar <petr.pisar@atlas.cz>
2079 * po/: Makefile.am, cs.po: Initial Czech translation.
2081 2007-06-27 Udo Giacomozzi <udo.gnu@nova-sys.net>
2083 * gui/fb.cpp, gui/fltk_glue_agg.cpp, gui/gtk.cpp, gui/gui.cpp: set
2084 correct _validbounds
2085 * gui/gtk_glue_agg.{cpp,h}: implemented shared memory image blitting
2087 2007-06-26 Udo Giacomozzi <udo.gnu@nova-sys.net>
2089 * backend/render_handler_agg_style.h: always premultiply image accessors
2090 with alpha channel (partial fix for bug #20257)
2091 * backend/render_handler_agg.{cpp,h}, gui/fb.cpp: moved pixel format
2092 detection code to AGG backend files (so it can be used by any GUI)
2093 * gui/gtk_glue_agg.{cpp,h}: initial work for MIT-SHM support (not
2094 compiled in by default because there is much left to do)
2096 2007-06-26 Zou Lunkai <zoulunkai@gmail.com>
2098 * testsuite/misc-ming.all/callFunction_test.c: testcase for ActionCallFunction,
2101 2007-06-25 Antti Ajaki <antti.ajanki@iki.fi>
2103 * gui/kde_glue_agg.cpp: See http://savannah.gnu.org/patch/?6022
2105 2007-06-25 Zou Lunkai <zoulunkai@gmail.com>
2107 * testsuite/misc-ming.all/morph_test1.c: minor update, reduce a frame for testing.
2108 * testsuite/misc-ming.all/morph_test1runner.cpp, Makefile.am: add a testrunner for
2111 2007-06-24 Sandro Santilli <strk@keybit.net>
2113 * server/: edit_text_character.cpp, sprite_instance.cpp,
2114 video_stream_instance.cpp, asobj/System.cpp:
2115 Don't initialize the "constructor" member explicitly as that's
2116 done by the builtin_function class instead. This patch fixes
2117 the useless construction of 7 to 11 objects (otherwise
2118 deleted by first GC run).
2120 2007-06-24 Zou Lunkai <zoulunkai@gmail.com>
2122 * testsuite/misc-ming.all/morph_test1.c: first testcase for morphs,
2123 need a testrunner for checking the renderer, but might be enough for
2124 testing GC at the moment.
2126 2007-06-23 Sandro Santilli <strk@keybit.net>
2128 * server/as_value.h: include <iostream> for proper definition
2131 2007-06-23 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
2133 * gui/gtk.cpp: Use stock icons for some more menu options. Also,
2134 limit several lines to 80 characters.
2136 2007-06-23 Sandro Santilli <strk@keybit.net>
2138 * server/as_object.cpp (get_prototype): don't return the Object
2139 interface when prototype is NULL with SWF version < 5.
2140 Fixes the empty swf3 case with GC.
2142 2007-06-23 Bastiaan Jacques <bastiaan@bjacques.org>
2144 * libbase/container.h: Remove home-made container classes in
2145 favour of standard containers.
2146 * server/{fontlib, impl}.cpp: Switch hash to std::map.
2147 * libbase/container.cpp: Remove unused container tests.
2148 * libbase/Makefile.am: Disable building of unused container.cpp.
2150 2007-06-22 Bastiaan Jacques <bastiaan@bjacques.org>
2152 * macros/kde.m4: look for libkdeui, not kdeui. Also first check
2153 in the QTDIR/bin directory for moc, in case the first moc in PATH
2156 2007-06-22 Zou Lunkai <zoulunkai@gmail.com>
2158 * testsuite/actionscript.all/enumerate.as: more tests.
2160 2007-06-22 Zou Lunkai <zoulunkai@gmail.com>
2162 * testsuite/actionscript.all/enumerate.as: cleanups, tests are not
2163 dependent on enumeration order now.
2164 * server/movie_root.h: document KeyListener class and related stuff.
2166 2007-06-22 Markus Gothe <nietzsche@lysator.liu.se>
2168 * libgeometry/Makefile.am: Fixed building issue on Darwin.
2169 * ltmain.sh.darwin: We use this one from Darwinports since it works.
2170 * utilities/{parser,processor}.cpp: use 'libbase/gettext.h' for conditianal
2173 2007-06-21 Tomas Groth Christensen <tomasgroth@yahoo.dk>
2175 * backend/sound_handler_gst.{cpp,h}: Made it threadsafe, fixes
2176 bug #20186. Made the internal variables private.
2177 * backend/sound_handler_sdl.{cpp,h}: Made the internal
2180 2007-06-21 Zou Lunkai <zoulunkai@gmail.com>
2182 * testsuite/actionscript.all/enumerate.as: more tests.
2184 2007-06-21 Zou Lunkai <zoulunkai@gmail.com>
2186 * testsuite/misc-ming.all/key_event_test4.c, key_event_test4runner.cpp, Makefile.am:
2187 new testcase for "this" context in a user defined key event handler.
2188 * server/movie_root.cpp: correctly set the context.
2190 2007-06-21 Zou Lunkai <zoulunkai@gmail.com>
2192 * testsuite/actionscript.all/enumerate.as: new testcase, Gnash fails.
2194 2007-06-20 Sandro Santilli <strk@keybit.net>
2196 * libbase/GC.{cpp,h}: moved destructor and cleanUnreachable methods
2197 from header to implementation file.
2198 * server/fill_style.{cpp,h}: add an markReachableResources()
2199 function to keep alive eventual bitmap and character fills.
2200 * server/parser/shape_character_def.{cpp,h}: implement resource
2201 marking function, marking fill styles.
2203 2007-06-19 Sandro Santilli <strk@keybit.net>
2205 * server/StreamProvider.cpp (getStream): transfer ownerhip of
2206 the opened FILE to the tu_file, to plug a memory leak.
2207 * server/sprite_instance.{cpp,h}: (markReachableResources):
2208 Mark textfield variables and relative root.
2209 Fixes segfault in movie reported in bug #19883, and also
2210 shows that the GC model does it's job in this case.
2212 2007-06-19 Sandro Santilli <strk@keybit.net>
2214 * gui/NullGui.{cpp,h}: implement setTimeout
2215 call. fixes bug #20118.
2217 2007-06-19 Sandro Santilli <strk@keybit.net>
2219 * server/sprite_instance.h: document another
2220 reachable resource (was marked already, just not documented
2222 * server/parser/: button_character_def.{cpp,h},
2223 edit_text_character_def.{cpp,h}:
2224 Implement reachable resources marker.
2226 2007-06-19 Sandro Santilli <strk@keybit.net>
2228 * server/parser/bitmap_character_def.h: implement reachable resources
2230 * gui/Makefile.am: add .configline to CLEANFILES and remove all in
2231 CLEANFILES on make clean (needed for distcheck to complete).
2232 * server/generic_character.{cpp,h}: generic character
2233 are not mouse entities by default, so make get_topmost_mouse_entity
2234 return NULL and can_handle_mouse_events return false. Fixes
2237 2007-06-19 Sandro Santilli <strk@keybit.net>
2239 * server/video_stream_instance.{cpp,h}: implement
2240 reachable resources marker.
2242 2007-06-19 Sandro Santilli <strk@keybit.net>
2244 * server/array.{cpp,h}: implement resource marker
2247 2007-06-18 Alexander Sack <asac@jwsdot.com>
2249 * configure.ac: detect usable pbutils for automatic installation of
2251 * server/asobj/NetStreamGst.cpp: try installing missing codecs
2254 2007-06-18 Sandro Santilli <strk@keybit.net>
2256 * server/parser/: movie_def_impl.h, movie_definition.h,
2257 sprite_definition.h: document add_execute_tag ownership
2260 2007-06-18 Zou Lunkai <zoulunkai@gmail.com>
2262 * testsuite/misc-ming.all/shape_test.c: more tests, make the deduction easier.
2263 surprisingly, all succeeded.
2265 2007-06-18 Zou Lunkai <zoulunkai@gmail.com>
2267 * testsuite/misc-ming.all/key_event_test3.c,
2268 testsuite/misc-ming.all/key_event_test3runner.cpp: the testrunner was
2269 bogus, fix the testrunner itself.
2271 2007-06-18 Zou Lunkai <zoulunkai@gmail.com>
2273 * libbase/GC.h: add missing head file.
2275 2007-06-18 Zou Lunkai <zoulunkai@gmail.com>
2277 * testsuite/misc-ming.all/loop_test7: review and comments
2278 * testsuite/misc-ming.all/loop_test6: review and comments
2280 2007-06-18 Sandro Santilli <strk@keybit.net>
2282 * server/vm/ASHandlers.cpp (ActionTrace): don't use the string value
2283 as a format string !
2284 * testsuite/swfdec/PASSING: 31 new tests found in the 'as' branch
2287 2007-06-18 Sandro Santilli <strk@keybit.net>
2289 * server/sprite_instance.{cpp,h}: (markReachableResources):
2290 mark _frame0_chars as reachable. make check completes
2293 2007-06-17 Zou Lunkai <zoulunkai@gmail.com>
2295 * testsuite/misc-ming.all/loop_test8.c: comments
2297 2007-06-17 Zou Lunkai <zoulunkai@gmail.com>
2299 * server/parser/movie_definition.h,
2300 server/parser/movie_def_impl.h,
2301 server/parser/sprite_definition.h,
2302 server/parser/Timeline.h,
2303 server/swf/PlaceObject2Tag.h,
2304 server/swf/PlaceObject2Tag.cpp,
2306 server/sprite_instance.h, server/sprite_instance.cpp:
2307 enable and improve the 3rd attempt of timeline-control design, take
2308 ratio into consideration, which is not only used for morphs but also
2309 for general characters in lots of swf files. Got 20 more successes,
2310 still need more tests and cleanups. see wiki.
2311 * testsuite/misc-ming.all/displaylist_depths_test11.c,
2312 testsuite/misc-ming.all/loop_test2.c,
2313 testsuite/misc-ming.all/loop_test2runner.cpp,
2314 testsuite/misc-ming.all/loop_test3.c,
2315 testsuite/misc-ming.all/loop_test5.c,
2316 testsuite/misc-ming.all/loop_test8.c:
2319 2007-06-17 Sandro Santilli <strk@keybit.net>
2321 * libbase/GC.h: fixed a misleading delete count for
2322 the debugging mode. You can now see that in the UdoG
2323 leaking case (empty function in first frame, empty second
2324 frame) every GC collect run deletes 2 resources (most
2325 likely an isolated chain of references in the RC case).
2327 2007-06-17 Ann Barcomb <kudra@domaintje.com>
2329 * plugin/Makefile.am: Removed an incorrect comment.
2330 * doc/C/usermanual/install.xml: Added some information
2331 inspired by the comments made in patch #5772.
2332 * INSTALL: Applied a modified version of patch #5772 by
2335 2007-06-16 Rob Savoye <rob@bertha.welcomehome.org>
2337 * gui/gnash.cpp: Add the version of FFMPEG or GST to
2338 --version. Add the config options too.
2339 * gui/Makefile.am: Extract the config options so we can pass them
2340 to GCC, wo they become part of the output from --version.
2341 * libbase/image.cpp: Include memory so auto_ptr is defined.
2342 * macros/ffmpeg.m4: Define HAVE_FFMPEG_AVCODEC_H eben when not
2343 using AC_CHECK_HEADER.
2345 2007-06-16 Sandro Santilli <strk@keybit.net>
2347 * libbase/: image.{cpp,h}, LoadThread.{cpp,h},
2348 image_filters.cpp, noseek_fd_adapter.cpp,
2349 reduce number of explicit deletes by using scoped pointers
2350 * server/asobj/Global.cpp: reduce explicit deletes...
2351 * server/asobj/: Sound.{cpp,h}, SoundFfmpeg.{cpp,h}, SoundGst.{cpp,h},
2352 SoundMad.{cpp,h}: Use a smart pointer for the NetConnection
2353 reference, and implement markReachableResources to mark it.
2354 * server/asobj/xmlsocket.cpp (anydata): don't use a module-static
2355 to keep track of leftovers !!
2357 2007-06-16 Sandro Santilli <strk@keybit.net>
2359 * server/vm/ExecutableCode.h: implement markReachableResources
2360 for executable code.
2361 * server/movie_root.{cpp,h}: mark resources reachable by
2362 the executable code in the global action queue.
2364 2007-06-16 Sandro Santilli <strk@keybit.net>
2366 * server/parser/morph2_character_def.{cpp,h}: do not explicitly
2367 delete the shape_character_defs, rather keep by intrusive_ptr
2368 (which means leave ownership to the GC in the GC case).
2370 2007-06-16 Sandro Santilli <strk@keybit.net>
2372 * server/asobj/NetStream.{h,cpp}: implement markReachableResources.
2373 * server/asobj/gen-asclass.sh: updated template to include
2374 a sample of a markReachableResources implementation.
2375 * server/asobj/LoadVars.cpp: implement markReachableResources
2376 to properly mark event handlers and environment resources.
2377 * libbase/GC.h: don't be verbose about objects being marked,
2378 classes not overriding markReachableResources, collectables
2379 registered and deleted unless GNASH_GC_DEBUG > 1
2380 * server/timers.{cpp,h}: provide a markReachableResources to mark
2381 function, target objet and args.
2382 * server/movie_root.{cpp,h} (markReachableResources): mark Timers
2383 resources as being reachable; document what's marked in the function
2384 declaration documentation.
2386 2007-06-16 Sandro Santilli <strk@keybit.net>
2388 * testsuite/server/: DisplayListTest.cpp, GetterSetterTest.cpp,
2389 PropertyListTest.cpp: initialize gnash lib.
2391 2007-06-16 Sandro Santilli <strk@keybit.net>
2393 * server/parser/movie_def_impl.{cpp,h} (markReachableResources):
2394 Set CharacterDictionary items as reachable !
2395 (BTW, why are character defs managed pointers ?!)
2396 * testsuite/MovieTester.cpp: initialize gnash code lib so
2399 2007-06-16 Sandro Santilli <strk@keybit.net>
2401 * server/button_character_instance.{cpp,h}: implement
2402 markReachableResources to properly mark the state characters
2403 and the character definition.
2404 * server/font.{cpp,h}: make texture_glyph a concrete class, no
2406 * server/generic_character.h: implement markReachableResources to
2407 properly mark the character definition.
2409 2007-06-14 Sandro Santilli <strk@keybit.net>
2411 * server/sprite_instance.{cpp,h} (markReachableResources):
2412 Mark the drawable canvas as reachable !
2413 This fixes the empty movie case (no segfault) and also
2414 the 2-frames simple leaking case reported by UdoG a long
2415 time ago (first frame contains an empty function definition,
2416 second frame is empty).
2418 2007-06-14 Sandro Santilli <strk@keybit.net>
2420 * server/BitmapMovieInstance.cpp, server/asobj/NetStream.cpp:
2421 More warnings fixes.
2423 2007-06-14 Kris Jurka <jurka@ejurka.com>
2425 * gui/Player.cpp, gui/gnash.cpp, server/as_environment.cpp,
2426 server/as_function.cpp, server/as_value.cpp,
2427 server/asobj/NetStream.cpp, server/asobj/xml.cpp,
2428 server/parser/shape_character_def.cpp, server/vm/ActionExec.cpp:
2429 Fix some compiler warnings. Applied patch #5927.
2431 2007-06-14 Sandro Santilli <strk@keybit.net>
2433 * libbase/triangulate_impl.h (poly_env<>::init): don't use
2434 backslash to break strings (unneeded). See bug #20138.
2436 2007-06-14 Sandro Santilli <strk@keybit.net>
2438 * gui/Player.cpp, libbase/GC.{h,cpp}, libbase/Makefile.am,
2439 libbase/ref_counted.h, libbase/smart_ptr.h,
2440 plugin/klash/klash.cpp, plugin/win32/plugin.cpp,
2441 server/GetterSetter.cpp, server/GetterSetter.h,
2442 server/Property.h, server/PropertyList.cpp,
2443 server/PropertyList.h, server/as_environment.cpp,
2444 server/as_environment.h, server/as_function.cpp,
2445 server/as_function.h, server/as_object.cpp,
2446 server/as_object.h, server/as_value.cpp,
2447 server/as_value.h, server/character.cpp, server/character.h,
2448 server/debugger.cpp, server/debugger.h, server/dlist.cpp,
2449 server/dlist.h, server/edit_text_character.cpp,
2450 server/edit_text_character.h, server/font.cpp, server/font.h,
2451 server/fontlib.cpp, server/gnash.h, server/impl.cpp,
2452 server/impl.h, server/mouse_button_state.h,
2453 server/movie_root.cpp, server/movie_root.h,
2454 server/sprite_instance.cpp, server/sprite_instance.h,
2455 server/swf_function.cpp, server/swf_function.h,
2456 server/asobj/Key.h, server/asobj/Mouse.cpp,
2457 server/asobj/Stage.cpp, server/asobj/xmlnode.cpp,
2458 server/parser/BitmapMovieDefinition.cpp,
2459 server/parser/BitmapMovieDefinition.h,
2460 server/parser/movie_def_impl.cpp,
2461 server/parser/movie_def_impl.h,
2462 server/parser/sprite_definition.cpp,
2463 server/parser/sprite_definition.h, server/vm/ASHandlers.cpp,
2464 server/vm/VM.cpp, server/vm/VM.h, utilities/processor.cpp:
2465 First big pass on Garbage Collection. We can now use a compile-time
2466 define (GNASH_USE_GC) to select wheter GC or RF (ref-counting) is
2467 used. By default RC is used as GC is still bogus. Next step would
2468 be improving the GC mark functions to ensure needed resources aren't
2469 prematurely deleted by the GC. See in GC.h the GcResource class
2470 documentation for informations about how to do taht.
2472 2007-06-14 Sandro Santilli <strk@keybit.net>
2474 * libbase/: Makefile.am, GC.h: First draft at a garbage collector class.
2475 * cygnal/http.h: fix gnash::Network referencing, drop
2476 'using namespace std'
2478 2007-06-14 Sandro Santilli <strk@keybit.net>
2480 * gui/gnash.cpp: add using namespace gnash here, since we're
2481 out of the gnash namespace.
2482 * backend/render_handler_agg_bitmap.h,
2483 backend/render_handler_agg_style.h,
2484 libgeometry/snappingrange.h,
2485 cygnal/http.h: don't use 'using namespace'
2486 directive in headers !
2488 2007-06-14 Sandro Santilli <strk@keybit.net>
2490 * testsuite/actionscript.all/Function.as: test local vars scope of
2491 outer function to be kept alive by inner functions.
2492 * libbase/ref_counted.h: made destructor protected, to ensure no
2493 user is explicitly deleting a ref_counted object (propedeutic
2495 * configure.ac: FREETYPE_{CFLAGS,LIBS} => FREETYPE2_{CFLAGS,LIBS)
2496 in final reports/checks.
2497 * testsuite/misc-mtasc.all/Makefile.am: skip all tests if
2498 prebuilt clip are not supported by the detected ming version.
2499 * po/: Makefile.am, it.po: initial work on an italian
2500 translation (funny for a few minutes, but too boring
2503 2007-06-14 Zou Lunkai <zoulunkai@gmail.com>
2505 * server/parser/morph2_character_def.h: implement a get_bound() for
2506 morphs, should fix an old displaying problem of morphs.
2508 2007-06-14 Hubert Figuiere <hfiguiere@novell.com>
2510 * Makefile.am, configure.ac: look for freetype2, not freetype
2511 (for pkg-config to be effective). Rename _CFLAGS and _LIBS
2512 to be FREETYPE2, not FREETYPE
2513 * server/Makefile.am, server/parser/Makefile.am:
2514 Use FREETYPE2_{CFLAGS,LIBS}
2515 * server/FreetypeGlyphsProvider.cpp: use an FT_CONST macro
2516 to switch between constness of Outline walker func between
2517 freetype 2.1 (wants non-const) and 2.2 (wants const).
2519 2007-06-14 Zou Lunkai <zoulunkai@gmail.com>
2521 * server/character.h,
2524 server/sprite_instance.h,
2525 server/sprite_instance.cpp,
2526 server/parser/morph2_character_def.cpp,
2527 server/swf/PlaceObject2Tag.h,
2528 server/swf/PlaceObject2Tag.cpp,
2529 server/vm/action.cpp,
2530 testsuite/server/DisplayListTest.cpp,
2531 change type of "ratio" from float to integer, don't re-interpret the definition.
2533 2007-06-13 Petr Pisar <petr.pisar@atlas.cz>
2535 * gui/gtk.cpp: internationalize menus. (patch #6006).
2537 2007-06-13 Andrew Guertin <bugzilla@dolphinling.net>
2539 * configure.ac: removes the duplicate "Checking" and adds the missing
2540 newline while checking for archiver type.
2541 * macros/agg.m4: print the missing "checking for AGG headers" line.
2544 2007-06-13 Sandro Santilli <strk@keybit.net>
2546 * testsuite/misc-ming.all/DefineEditTextTest.c: put reduced margins
2547 back, to verify no word wrap works.
2548 * server/edit_text_character.cpp (format_text): implement no word wra
2549 * server/FreetypeGlyphsProvider.{cpp,h}: document coordinate space of
2550 getGlyph output values and implement proper scaling between freetype
2551 glyph EM units and our 1024 EM square.
2553 2007-06-13 Sandro Santilli <strk@keybit.net>
2555 * server/: font.{cpp,h}, Makefile.am, FreetypeRasterizer.{cpp,h},
2556 FreetypeGlyphsProvider.{cpp,h}: renamed file and class since
2557 we won't serve rendered glyphs anymore. Rendered glyphs can
2558 always be obtained by rendering the shape_character_def,
2559 the code should be buried somewhere in fontlib.cpp.
2561 2007-06-13 Sandro Santilli <strk@keybit.net>
2563 * server/font.cpp (add_os_font): use the advance value
2564 computed by getGlyph, not getRenderedGlyph (the latter
2567 2007-06-13 Sandro Santilli <strk@keybit.net>
2569 * testsuite/misc-ming.all/loop_test8.c: xchec -> check.
2571 2007-06-13 Sandro Santilli <strk@keybit.net>
2573 * server/font.{cpp,h}: always maintain m_advance_table of the
2574 same size of the other two glyph info containers (should really
2575 make a structure keeping all of them..). Fixes an testInvariant
2576 failure with the device font selector (see DeviceFonts page
2579 2007-06-13 Sandro Santilli <strk@keybit.net>
2581 * configure.ac: look for libfontconfig
2582 * Makefile.am: print fontconfig info on 'dumpconfig'
2583 * server/FreetypeRasterizer.{cpp,h}: implement font name
2584 to filename matching using fontconfig, when available;
2585 updated copyright info (enough hacking on it now..)
2586 * server/Makefile.am: add FONTCONFIG cflags and libs.
2587 * testsuite/misc-ming.all/DefineEditTextTest.c: add another
2588 text field using 'times' font.
2590 2007-06-13 Zou Lunkai <zoulunkai@gmail.com>
2592 * testsuite/misc-ming.all/Makefile.am:
2593 fix a typo(thank strk).
2595 2007-06-13 Sandro Santilli <strk@keybit.net>
2597 * configure.ac: newlines are tokens with bourne shell !
2599 2007-06-13 Sandro Santilli <strk@keybit.net>
2601 * server/FreetypeRasterizer.cpp: fix build w/out libfreetype.
2603 2007-06-13 Sandro Santilli <strk@keybit.net>
2605 * testsuite/misc-ming.all/DefineEditTextTest.c:
2606 Apply transformation to text characters.
2608 2007-06-13 Sandro Santilli <strk@keybit.net>
2610 * gui/gtk.cpp, server/FreetypeRasterizer.cpp,
2611 server/fontlib.cpp, server/movie_root.cpp,
2612 server/text.cpp: Reduced verbosity.
2614 2007-06-13 Sandro Santilli <strk@keybit.net>
2616 * server/FreetypeRasterizer.{cpp,h}: Implement shape_character_def
2617 output using DynamicShape; changed getGlyph method to also take
2618 an 'advance' output parameter (toward deprecation of bitmap output).
2619 * server/font.cpp (add_os_glyph): update call to ::getGlyph.
2621 2007-06-13 Sandro Santilli <strk@keybit.net>
2623 * server/FreetypeRasterizer.{cpp,h}: added interface
2624 to fetch vectorial glyph (just a stub).
2625 * server/font.cpp (add_os_glyph): fetch both rasterized
2626 and vectorial glyphs, survive to texture glyphs with a null
2627 bound (space is one such glyph).
2628 * server/fontlib.cpp (draw_glyph): skip rendering of textured
2629 glyphs with null bounds.
2630 * server/text.cpp (display_glyph_records): enable debugging by
2633 2007-06-12 Sandro Santilli <strk@keybit.net>
2635 * server/FreetypeRasterizer.cpp (getRenderedGlyph): don't assume
2636 "suspeded_image" is not-null after creation of the bitmap_info_alpha
2637 instance (those bitmap interfaces needs a big cleanup really...).
2638 * testsuite/misc-ming.all/DefineEditTextTest.c:
2639 Test both embedded and device fonts.
2641 2007-06-12 Sandro Santilli <strk@keybit.net>
2643 * configure.ac: Look for libfreetype using GNASH_PKG_FIND
2644 * server/FreetypeRasterizer.{cpp,h}: use HAVE_FREETYPE_H,
2645 use intrusive_ptr for bitmap_info, not auto_ptr; add missing
2646 includes, make it actually buildable.
2647 * server/Makefile.am: Build FreetypeRasterizer
2648 * server/parser/Makefile.am: add FREETYPE_CFLAGS
2649 * server/edit_text_character.cpp (format_text): stop relying
2650 on font::get_glyph_count, as for device fonts count of glyph
2651 is not known in advance (grows as needed).
2652 * server/font.{cpp,h}: Add private methods for initialization
2653 and use of a freetype rasterizer; get_glyph_index() will now
2654 try to create a missing glyph.
2655 * server/parser/bitmap_character_def.h: add forward declaration
2658 2007-06-12 Zou Lunkai <zoulunkai@gmail.com>
2660 * testsuite/misc-ming.all/loop_test8.c:
2661 correctly set ratio, forgot in last commit.
2663 2007-06-12 Zou Lunkai <zoulunkai@gmail.com>
2665 * testsuite/misc-ming.all/loop_test8.c, Makefile.am:
2666 new testcase for timeline control, focus on ratio.
2668 2007-06-11 Sandro Santilli <strk@keybit.net>
2670 * server/FreetypeRasterizer.{cpp,h}:
2671 Add missing stub for font filename finder method.
2673 2007-06-11 Zou Lunkai <zoulunkai@gmail.com>
2675 * gui/sdl_agg_glue.cpp: initialize member variables at construction,
2676 fix an abortion when loading nonexistent swf files.
2678 2007-06-10 Bastiaan Jacques <bastiaan@bjacques.org>
2680 * gui/kde{sup.h, .cpp}: Comment out debugging statements. Make
2681 setTimeout work. Quit KdeGui gracefully rather than calling
2682 exit(0). Avoid conversion compiler warnings. Switch class
2683 pointers to auto_ptr. Small code cleanups.
2684 * gui/kde_glue_agg{.cpp, .h}: Contain the rendering buffer in
2687 2007-06-10 Sandro Santilli <strk@keybit.net>
2689 * gui/Makefile.am: klash.moc is a source file for the kde
2692 2007-06-09 Bastiaan Jacques <bastiaan@bjacques.org>
2694 * configure.ac: Allow the KDE GUI to be compiled against AGG.
2695 * gui/Makefile.am: Compile KDE/AGG files when requested.
2696 * gui/kde.cpp: Make the KDE GUI compatible with AGG by moving
2697 OpenGL-specific code into its respective glue. Also fix mouse
2698 movement in combination with scaling.
2699 * gui/kde_glue.h: Add stubs for AGG compatibility.
2700 * gui/kde_glue_opengl.cpp: run makeCurrent in the glue.
2701 * gui/kdesup.h: Allow the AGG glue to be used.
2702 * gui/kde_glue_agg{.cpp, .h}: Initial implementation of AGG
2705 2007-06-09 Sandro Santilli <strk@keybit.net>
2707 * libbase/embedVideoDecoderFfmpeg.cpp (decodeFrame): do not
2708 access a null decodedFrame (tgc: please check).
2710 2007-06-08 Tomas Groth Christensen <tomasgroth@yahoo.dk>
2712 * libbase/embedVideoDecoderFfmpeg.{cpp,h}: Store decodedFrame
2713 in an auto_ptr to avoid possible leaks.
2715 2007-06-08 Sandro Santilli <strk@keybit.net>
2717 * server/FreetypeRasterizer.{cpp,h}: Ported truetype
2718 rasterizer from gameswf, cleaned up and documented
2719 (as far as understood).
2721 2007-06-08 Sandro Santilli <strk@keybit.net>
2723 * libbase/embedVideoDecoderGst.{cpp,h}: Store decodedFrame
2724 in an auto_ptr to avoid leaks. Fix the case in which
2725 there's NO decoded frame (ie: no gst-ffmpeg installed)
2726 previously segfaulting by simply running
2727 Video-EmbedSquareTestRunner.
2729 2007-06-08 Tomas Groth Christensen <tomasgroth@yahoo.dk>
2731 * server/asobj/NetStreamFfmpeg.cpp: Don't leave the decoding
2732 loop/thread until the queues are empty, or the media left
2733 in the queues wont get played.
2734 * server/movie_root.cpp: Include action.h, not Action.h.
2735 * libbase/embedVideoDecoderFfmpeg.cpp: Changed the image copying,
2736 and check if the decoded videoframe is bigger than expected.
2739 2007-06-08 Zou Lunkai <zoulunkai@gmail.com>
2741 * server/as_object.{h,cpp}: add a virtual on_event() for event handler.
2742 * movie_root.{h,cpp}: add a new KeyListener class.
2743 * server/asobj/Key.{h ,cpp}, sprite_instance.cpp, edit_text_character.cpp,
2744 button_character_instance.cpp: adopt new KeyListener interface.
2745 * server/character.h: change getUserDefinedEventHandler() from private to public.
2746 all in all, merged two listener lists into one.
2748 2007-06-08 Tomas Groth Christensen <tomasgroth@yahoo.dk>
2750 * backend/sound_handler_sdl.cpp: Fixed an assertion fault
2751 when non-mp3 audio was looping.
2753 2007-06-07 Tomas Groth Christensen <tomasgroth@yahoo.dk>
2755 * libbase/embedVideoDecoderFfmpeg.cpp: Free the av_frame after use.
2756 * server/swf/tag_loaders.cpp: Adjust size of audio after decoding.
2758 2007-06-07 Sandro Santilli <strk@keybit.net>
2760 * macros/ffmpeg.m4: check for libgsm and add to FFMPEG_LIBS if
2762 * testsuite/analyse-results.sh: don't forget to initialize
2765 2007-06-07 Sandro Santilli <strk@keybit.net>
2767 * doc/C/Makefile.am: distribute all XML files.
2768 * macros/docbook.m4: advertise --enable-docbook, not
2769 --disable-docbook since it's disabled by default.
2771 2007-06-07 Sandro Santilli <strk@keybit.net>
2773 * configure.ac: disable klash if QT lib aren't found.
2774 * gui/Makefile.am: add kde_glue.h in KDE_SRCS (hopefully this adds
2777 2007-06-07 Sandro Santilli <strk@keybit.net>
2779 * configure.ac: hint user about using AGG if framebuffer gui is
2781 * server/Makefile.am, utilities/Makefile.am:
2782 Moved the libgnashbackend dependency out of libgnashserver
2783 and into the utilities/ dir. This is to avoid a circular
2784 dependency I erroneously introduced with my last
2785 commit aimed at fixing bug #20110. This should be a better
2788 2007-06-07 Sandro Santilli <strk@keybit.net>
2790 * testsuite/MovieTester.{cpp,h}: add a canTestVideo() method.
2791 * testsuite/misc-ming.all/NetStream-SquareTestRunner.cpp: don't
2792 wait for Play.Stop event to be sent if video can't be tested
2793 (ie: not supported by mad).
2795 2007-06-07 Ann Barcomb <kudra@domaintje.com>
2797 * doc/C/usermanual/installation/building.xml: mention that
2798 GNOME help is a possible documentation make target. Completed
2799 instructions for building documentation; added instructions for
2800 testing from old manual.
2801 * doc/C/usermanual/installation/feature_configuration.xml: The
2802 default renderer isn't AGG. FLTK works. Spelling fixes.
2803 Comment out TODO/FIXME sections, so that they are not visible
2804 to users, but can still be searched.
2805 * doc/C/usermanual/installation.xml: Changed the title of this
2807 * doc/C/usermanual/installation/install.xml: Added information on
2808 where Gnash installs.
2809 * doc/C/usermanual/installation/custompath_configuration.xml,
2810 doc/C/usermanual/usage.xml: Comment out TODO/FIXME sections,
2811 so that they are not visible to users, but can still be searched.
2812 * doc/C/usermanual/installation/testing_dependencies.xml,
2813 doc/C/usermanual/installation/documentation_dependencies.xml,
2814 doc/C/usermanual/installation/code_dependencies.xml: Resolved
2815 TODO items in the dependency tables (package names).
2816 * doc/C/usermanual/bugreport.xml: Described how to make a bug
2818 * doc/C/usermanual/glossary.xml: Created the glossary.
2819 * doc/C/sources.xml: Removed file; the replacement is
2820 doc/C/usermanual/installation/sources.xml.
2821 * doc/C/gnashrc.xml: Removed file; it has been moved to
2822 doc/C/usermanual/usage/gnashrc.xml.
2823 * doc/C/gnash.xml: Replace the old usermanual + developer
2824 information with the new usermanual.
2826 2007-06-07 Sandro Santilli <strk@keybit.net>
2828 * server/Makefile.am: add libgnashbackend to libserver LDADD.
2831 2007-06-07 Sandro Santilli <strk@keybit.net>
2833 * testsuite/MovieTester.cpp (checkPixel): print an UNTESTED
2834 message if no renderers were initialized. This gives you
2835 a feel about how many tests are we failign to run when building
2836 with a renderer that doesn't provide testing facilities.
2837 * testsuite/analyse-results.sh: print untested in report.
2838 * testsuite/MovieTester.h: add a canTestRendering() method.
2839 * testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp:
2840 Don't run the pixel checking part if MovieTester can't test
2841 rendering. Raise an UNTESTED label instead, so it's reported.
2843 2007-06-07 Sandro Santilli <strk@keybit.net>
2845 * libgeometry/snappingrange.h: initialize all members in the
2846 templated copy ctor.
2848 2007-06-07 Tomas Groth Christensen <tomasgroth@yahoo.dk>
2850 * backend/sound_handler.cpp: Fixed a warning.
2851 * backend/sound_handler_gst.cpp: Small cleanup.
2852 * libbase/embedVideoDecoder{Ffmpeg, Gst}.cpp: Made more robust, can
2853 now handle if render image format is NONE. Should fix bug #20111.
2855 2007-06-07 Udo Giacomozzi <udo.gnu@nova-sys.net>
2857 * server/edit_text_character.cpp: better version of previous patch;
2858 gets rid of WIDTH_FUDGE too
2860 2007-06-07 Udo Giacomozzi <udo.gnu@nova-sys.net>
2862 * server/edit_text_character.cpp: shift text by 2 pixels,
2865 2007-06-07 Zou Lunkai <zoulunkai@gmail.com>
2867 * server/sprite_instance.cpp: improved call_frame_actions(),
2868 avoid using possibly invalidated interators.
2870 2007-06-06 Sandro Santilli <strk@keybit.net>
2872 * server/swf/tag_loader.cpp (fixme_loader): warn only once for each
2873 unimplemented tag found in SWF streams during a run.
2875 2007-06-06 Udo Giacomozzi <udo.gnu@nova-sys.net>
2877 * backend/render_handler_agg.cpp: add checks for known scale
2878 and preset scale to 1:1 so that "make check" succeeds again
2880 2007-06-06 Tomas Groth Christensen <tomasgroth@yahoo.dk>
2882 * libbase/embedVideoDecoder.h: Added docs and made decodeFrame
2884 * libbase/embedVideoDecoderFfmpeg.{cpp,h}: Made decodeFrame
2886 * libbase/embedVideoDecoderGst.{cpp,h}: Made decodeFrame
2887 return a auto_ptr, and fixed a deadlock.
2888 * server/video_stream_instance.cpp: embedVideoDecoder::decodeFrame
2889 now returns a auto_ptr, adjust to that.
2891 2007-06-06 Udo Giacomozzi <udo.gnu@nova-sys.net>
2893 * backend/render_handler_agg.cpp: dynamic cast check
2895 2007-06-06 Sandro Santilli <strk@keybit.net>
2897 * testsuite/misc-ming.all/eventSoundTest1-Runner.cpp: don't test sound
2898 if sound is not supported.
2900 2007-06-06 Udo Giacomozzi <udo.gnu@nova-sys.net>
2902 * backend/render_handler_agg.cpp: apply stage scaling to matrix,
2903 don't multiply each coordinate (should improve rendering performance)
2905 2007-06-06 Sandro Santilli <strk@keybit.net>
2907 * testsuite/MovieTester.{cpp,h}: Don't abort if sound support wasn't
2908 compiled in. Add a canTestSound() method to query that capability.
2910 2007-06-06 Sandro Santilli <strk@keybit.net>
2912 * configure.ac: If no --enable-media was specified, use the first
2913 detected one in this order: ffmpeg/gst/mad. This is to allow
2914 ./configure with no args to be more failsafe (useful on 'make
2915 distcheck'). If you guys like this patch I'd backport to 0.8 branch.
2917 2007-06-06 Sandro Santilli <strk@keybit.net>
2919 * testsuite/samples/Makefile.am: distribute subshapes.swf, as we're
2920 now using it for testing purposes.
2921 * testsuite/misc-ming.all/Makefile.am: VideoEmbed-SquareTest.swf
2922 depends on testsuite/media/square.flv ! Fixes bug #20090.
2923 * testsuite/misc-ming.all/NetStream-SquareTest.c: Fixed test for
2924 bytesTotal since the .flv was actually updated... Fixes bug #20096.
2925 * configure.ac: don't set CXXFLAGS as a side-effect of the SIZET_FMT
2926 tests if not already set by user.
2927 * Makefile.am: Add print of CXXFLAGS at 'make dumpconfig' time.
2929 2007-06-05 Tomas Groth Christensen <tomasgroth@yahoo.dk>
2931 * testsuite/media/square.flv: Changed the movements in the movie to
2932 be more fluent so that testing is easier.
2933 * testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp: Check if
2934 the video really does play.
2936 2007-06-04 Sandro Santilli <strk@keybit.net>
2938 * configure.ac: support --without-extensions.
2939 * testsuite/samples/: Makefile.am, subshapes-TestRunner.cpp:
2940 Test runner for subshapes.swf (see bug #20084).
2941 * testsuite/MovieTester.cpp (addTestingRenderer): register the first
2942 and only tested renderer immediately, to be more tolerant about
2943 limitations in the core lib preveing hot-swap of renderers.
2945 2007-06-05 Ann Barcomb <kudra@domaintje.com>
2947 * doc/C/usermanual/usage/gnashrc.xml: Copy Sandro's commit
2948 1.3435 of doc/C/gnashrc.xml to the new gnashrc.xml
2949 * many files: Changed my email address
2951 2007-06-05 Udo Giacomozzi <udo.gnu@nova-sys.net>
2953 * backend/render_handler_agg.cpp: correct matrix transformation
2954 for rotated video; switch to /cloning/ image accessor to
2955 make edges smooth for rotated video
2957 2007-06-05 Zou Lunkai <zoulunkai@gmail.com>
2959 * server/as_object.h: change operator "==" to "=", should fix a typo.
2961 2007-06-04 Sandro Santilli <strk@keybit.net>
2963 * README: some opcode and classes are actually implemented now.
2965 2007-06-04 Sandro Santilli <strk@keybit.net>
2967 * server/video_stream_instance.{cpp,h}: register Video AS class
2968 interface and provide class initialization.
2969 * server/asobj/: Global.cpp, Makefile.am, Video.{cpp,h}: Drop Video file, video
2970 class is now implemented in video_stream_instance.cpp
2971 * testsuite/misc-ming.all/NetStream-SquareTest.c: don't expect
2972 failures due to video stream character NOT being a real Video
2975 2007-06-04 Sandro Santilli <strk@keybit.net>
2977 * testsuite/misc-ming.all/NetStream-SquareTest.c: set SWF rate back to
2978 an high value to allow for testing pixel color and also testing with
2979 eyes what's hard to test when nothing is shown due to Gnash not
2980 supporting sub-SWF rate videos; Scale video by 120% and rotate 45
2981 degrees clockwise to verify video transform
2982 bugs (not automated yet); documented expected behaviour; add
2983 tests for matrix transforming properties.