1 2007-06-04 Rob Savoye <rob@bertha.welcomehome.org>
3 * NEWS, README: Update for upcoming release.
4 * macros/kde.m4: Use newlist so we don't stomp on libslist.
5 * server/asobj/Makefile.am: Don't link ffmpeg to convienince lib.
6 * server/parser/Makefile.am: We don't need ffmpeg or gstreamer
7 headers for this directory.
9 2007-06-04 Sandro Santilli <strk@keybit.net>
11 * backend/render_handler.h: expose a new getBitsPerPixel interface.
12 * backend/render_handler_agg.{cpp,h}: implement getBitsPerPixel,
13 const-correct the existing getBytesPerPixel.
14 * testsuite/MovieTester.cpp (checkPixel): never use a tolerance
15 inferior to the minimum tolerance for a renderer, with min tolerance
16 being a function of BPP (formula suggested by UdoG).
19 2007-06-04 Sandro Santilli <strk@keybit.net>
21 * server/asobj/NetStreamFfmpeg.cpp (av_streamer): sleep for 1
22 microsecond between iterations, to allow other threads to run.
23 Fixes the 100% CPU problem (thanks to UdoG for support).
25 2007-06-04 Sandro Santilli <strk@keybit.net>
27 * libbase/FLVParser.h: updated dox for nextAudioFrame() and
28 nextVideoFrame() noting the non-blocking nature of the calls;
29 add a parsingCompleted() method.
30 * server/asobj/NetStreamFfmpeg.h: update documentation of
33 2007-06-04 Sandro Santilli <strk@keybit.net>
35 * libbase/FLVParser.{cpp,h}: put FLVParser in the gnash namespace.
37 2007-06-04 Sandro Santilli <strk@keybit.net>
39 * server/asobj/NetStreamFfmpeg.{cpp,h}: Drop the decoder mutex and
40 conditional variable. Decoder should never stop till the end of
41 the stream is fully decoder. Rename {pause,unpause}Decoding to
42 {pause,unpause}Playback, which is matches reality more, and is
45 2007-06-04 Sandro Santilli <strk@keybit.net>
47 * server/timers.cpp (expired): allow now == _start.
48 Hopefully fixes bug #20047.
50 2007-06-02 Sandro Santilli <strk@keybit.net>
52 * server/asobj/NetStream.cpp (::bufferLength): return milliseconds,
53 as (correctly) documented.
55 2007-06-02 Tomas Groth Christensen <tomasgroth@yahoo.dk>
57 * backend/render_handler_ogl.cpp,libbase/log.cpp, macros/opengl.m4,
58 server/asobj/Date.cpp: Fixes for builing on win32/MSYS/mingw.
59 Linking is still broken.
61 2007-06-02 Sandro Santilli <strk@keybit.net>
63 * server/vm/ASHandlers.cpp (CommonGetUrl): log about _level#
64 target for GetUrl being unsupported.
66 2007-06-02 Bastiaan Jacques <bastiaan@bjacques.org>
68 * server/asobj/NetConnection.{cpp,h}: Permit openConnection
69 to be called more than once with the same URL.
70 * server/asobj/NetStreamFfmpeg.cpp: Call detach_aux_streamer
71 with a valid owner argument, so something will actually
72 happen. Make sure that the NetConnection position is 0
73 just in case openConnection was called before. Fix a deadlock
74 by avoiding calls to the sound handler in startPlayback().
75 This is cheating, but fixes bug #20036.
77 2007-06-01 Bastiaan Jacques <bastiaan@bjacques.org>
79 * macros/ffmpeg.m4: Avoid using libswscale with broken ffmpeg
81 * configure.ac: Revert unintentional change.
83 2007-06-01 Sandro Santilli <strk@keybit.net>
85 * server/asobj/NetStreamGst.cpp: protect all log_debug calls
86 with a GNASH_DEBUG macro.
88 2007-06-01 Sandro Santilli <strk@keybit.net>
90 * libbase/rc.{cpp,h}: Add a "StartStopped" variable, to
91 have the gui start in "stop" mode.
92 * doc/C/gnashrc.xml: document the new "StartStopped" variable.
93 * gui/Player.cpp (init_gui): set the Gui to "stop" if requested
94 by the user (trough gnashrc)
95 * testsuite/libbase/: TCXXRc.cpp, gnashrc.in: test "StartStopped"
98 2007-06-01 Sandro Santilli <strk@keybit.net>
100 * server/asobj/NetStream.{cpp,h}: split processStatusNotifications
101 so that onStatus handler call is performed while the statusMutex
102 is NOT locked, to prevent attempts to lock the mutex again while
103 reacting to status handlers. statusQueue type changed from vector
104 to deque, for faster pop_front.
106 2007-06-01 Sandro Santilli <strk@keybit.net>
108 * gui/Player.cpp (run): remove sound_handler cleanup, will
109 be done by gnash::clear().
110 * gui/: gtk.cpp, gtksup.h: implement gui::quit()
111 * server/impl.cpp (clear): report the problem with cleaning
112 up resources before all threads are completed, exit() rather
113 then cleanup and document the reason for doing so.
114 * utilities/processor.cpp (main): call gnash::clear() again, that's
115 where proper threads cleanup is supposed to be implemented.
117 2007-06-01 Sandro Santilli <strk@keybit.net>
119 * server/vm/ActionExec.cpp (call operator): if pc == oldPc that's
120 still to be considered a branch-back, so count it; Increment
121 branch-back limit to 2^16 (65535).
122 * gui/Player.cpp: print a debugging message when the main gui loop
123 returns so we know if we exited cleanly or due to a call to exit().
124 * gui/gui.cpp{cpp,h}: add a quit() virtual method, for returning
125 from the main rendering loop. This is aimed at removing the exit()
126 call, altought currently we'll still call it as the default
129 2007-05-31 Bastiaan Jacques <bastiaan@bjacques.org>
131 * macros/ffmpeg.m4: Define HAVE_SWSCALE_H if swscale.h is present.
132 * libbase/embedVideoDecoderFfmpeg.cpp: If swscale.h is available,
133 use swscale and friends. Otherwise, default to img_convert. Also,
134 conditionally include swscale.h itself.
135 * server/asobj/NetStreamFfmpeg.cpp: Remove unused include.
137 2007-05-31 Sandro Santilli <strk@keybit.net>
139 * backend/sound_handler.h: document attach_aux_streamer and
140 detach_aux_streamer; add TODO items.
141 * backend/sound_handler_sdl.cpp (sdl_audio_callback): documentation,
142 TODO items, early return if buffer len passed by SDL == 0.
144 2007-05-31 Tomas Groth Christensen <tomasgroth@yahoo.dk>
146 * server/asobj/NetStream*.{h,cpp}: Always use milliseconds internally.
148 2007-05-31 Rob Savoye <rob@ute.welcomehome.org>
150 * configure.ac: Change renderer default to opengl.
152 2007-05-31 Sandro Santilli <strk@keybit.net>
154 * server/asobj/: NetStream.cpp, NetStreamFfmpeg.cpp:
155 More debugging lines protection.
157 2007-05-31 Sandro Santilli <strk@keybit.net>
159 * libbase/FLVParser.cpp: protect seek debugging by
160 a GNASH_DEBUG_SEEK macro
161 * server/asobj/NetStreamFfmpeg.cpp: dont debug condition
162 variable signaling if GNASH_DEBUG_THREADS is undefined.
164 2007-05-31 Sandro Santilli <strk@keybit.net>
166 * libbase/log.{cpp,h}: lock the io Mutex on closeLog, to
167 prevent race conditions between a thread using log()
168 and one using closeLog().
170 2007-05-31 Tomas Groth Christensen <tomasgroth@yahoo.dk>
172 * libbase/FLVParser.cpp: (FLVFrame* FLVParser::nextMediaFrame)
173 Fixed a bug causing nextMediaFrame to return NULL.
175 2007-05-31 Martin Guy <martinwguy@yahoo.it>
177 * libbase/embedVideoDecoderFfmpeg.cpp,
178 server/asobj/NetStreamFfmpeg.cpp:
179 Add comments by commented img_convert()s to use sws_scale() when
181 * Change default renderer to agg for 0.8.0 release
182 * Revert default renderer back to OpenGL.
184 2007-05-31 Sandro Santilli <strk@keybit.net>
186 * libbase/embedVideoDecoderFfmpeg.{cpp,h}:
187 Make convertRGB24 a public static function.
188 * server/asobj/NetStreamFfmpeg.cpp: use
189 embedVideoDecoderFfmpeg::convertRGB24, dropping the
190 duplicated implementation.
192 2007-05-31 Bastiaan Jacques <bastiaan@bjacques.org>
194 * server/asobj/NetStreamFfmpeg.cpp,
195 libbase/embedVideoDecoderFfmpeg.cpp: Use libswscale instead of
196 img_convert for YUV->RGB conversion, because it is deprecated and
197 has been removed from recent ffmpeg.
199 2007-05-30 Sandro Santilli <strk@keybit.net>
201 * configure.ac: add missing quote in martin's commit (no ChangeLog
203 * server/asobj/README.NetStream: add design notes for NetStream.
205 2007-05-30 Sandro Santilli <strk@keybit.net>
207 * server/video_stream_instance.cpp (display): update call to
209 * server/asobj/NetStream.{cpp,h}: change get_video to return by
210 auto_ptr to encode ownership transfer.
211 * server/asobj/NetStreamFfmpeg.h: update refreshVieoFrame() dox.
213 2007-05-30 Sandro Santilli <strk@keybit.net>
215 * server/asobj/NetStream.cpp: fix NetStream.bufferTime getter to
216 return value in seconds, not milliseconds.
218 2007-05-30 Tomas Groth Christensen <tomasgroth@yahoo.dk>
220 * server/asobj/NetStreamFfmpeg.cpp: Fixed seeking to work when not
222 * server/asobj/SoundFfmpeg.cpp: Silence a compiler warning.
224 2007-05-30 Sandro Santilli <strk@keybit.net>
226 * libbase/FLVParser.h: document timestamp units for media frames
228 * server/asobj/NetStreamFfmpeg.{cpp,h}: document units for time
229 members; (advance): fix isTimeLoaded() call, thanks Martin Guy
232 2007-05-30 Sandro Santilli <strk@keybit.net>
234 * libbase/FLVParser.{cpp,h}: drop setLoadThread method, require
235 a LoadThread to be passed on construction.
236 * server/asobj/NetConnection.{cpp,h}: drop connectParser, substitute
237 with getConnectedParser().
238 * server/asobj/: NetStreamFfmpeg.cpp, NetStreamGst.cpp: use
239 NetConnection::getConnectedParser() for initializing an FLV parser.
241 2007-05-30 Sandro Santilli <strk@keybit.net>
243 * server/asobj/NetConnection.h: add documentation about which calls
244 are blocking and which not.
245 * server/asobj/NetConnection.cpp (openConnection): return false if
248 2007-05-29 Martin Guy <martinwguy@yahoo.it>
250 * server/asobj/NetStreamFfmpeg.cpp: Two casts to quiet compiler warnings
251 * configure.ac: Add rpm/deb help for AGG
252 * configure.ac: Warn if libcurl is missing
254 2007-05-30 Sandro Santilli <strk@keybit.net>
256 * server/asobj/NetStreamFfmpeg.cpp (decodeFLVFrame): Don't modify m_bufferTime
257 internally: should only be done on user request. (advance):
258 bufferFull condition is when parser loaded current+buffer time.
259 (av_streamer): add bufferTime/Length info in Decoding iteration
260 message - this shows that the playback is NOT waiting for bufferTime
261 to be reached before starting again (bug).
263 2007-05-30 Sandro Santilli <strk@keybit.net>
265 * libbase/FLVParser.{h,cpp}: document which methods lock and which
266 not, add locking in getBufferLength().
267 * server/asobj/NetStream.{h,cpp}: fix documentation for bufferLength
268 method (return milliseconds, not seconds); have
269 NetStream.bufferLength return in fractional seconds, as expected;
270 Change bufferTime to take milliseconds, convert from seconds
271 in the AS method (so we can accept fractional seconds..);
272 make locking debugging messages a compile-time option.
274 2007-05-30 Tomas Groth Christensen <tomasgroth@yahoo.dk>
276 * libbase/LoadThread.cpp: Close the download thread even if
277 download wasen't completed.
279 2007-05-29 Tomas Groth Christensen <tomasgroth@yahoo.dk>
281 * libbase/LoadThread.cpp: Don't lock the mutex and try to join the
282 download thread when calling complete(), instead do that in the
283 destrutor. Fixes some blocking (with the no-decode-thread-patch
284 for NetStreamFfmpeg).
286 2007-05-29 Sandro Santilli <strk@keybit.net>
288 * server/asobj/NetStreamFfmpeg.{cpp,h}: don't lock
289 the mutex in seek() even, also intended to be called by
292 2007-05-29 Sandro Santilli <strk@keybit.net>
294 * server/asobj/NetStreamFfmpeg.{cpp,h}: Don't lock the mutex
295 in pause(), play() and close(), all intended to be called
296 by the locking advance(). More dox about locking in the header.
297 * testsuite/actionscript.all/rtmp.as: remove any
298 trace of "rtmp" from the code to show that bug #19886
299 is unrelated to RTMP.
301 2007-05-29 Sandro Santilli <strk@keybit.net>
303 * backend/sound_handler.h: add numSoundsStarted() and
304 numSoundsStopped() methods to be used in testing, and
305 associated protected counts.
306 * backend/: sound_handler_gst.cpp, sound_handler_sdl.cpp:
307 Increment started/stopped sound counters.
308 * testsuite/FuzzyPixel.h: remove unused header.
309 * testsuite/: Makefile.am, sound_handler_test.{cpp,h}:
310 drop sound_handler_test, testing will now be done against
311 the built sound_handler.
312 * testsuite/MovieTester.{cpp,h}: initialize the currently
313 configured sound handler and use that for testing.
315 2007-05-29 Sandro Santilli <strk@keybit.net>
317 * server/asobj/NetStreamFfmpeg.{cpp,h}: drop
318 the decode_wait_mutex, use decoding_mutex instead.
319 Document which function lock it and which not, adding
320 more locking. Seems to fix bug #19978, but exposes
321 a deadlock playing youtube with a full-offline setup
322 with reduced bandwidth.
324 2007-05-29 Udo Giacomozzi <udo.gnu@nova-sys.net>
326 * testsuite/misc-ming.all/DrawingApiTestRunner.cpp: testing for gray
327 is funny, but better let's be accurate ;)
329 2007-05-29 Sandro Santilli <strk@keybit.net>
331 * testsuite/misc-ming.all/DrawingApiTestRunner.cpp: reintruduce
332 the pixel-accurate test after Udo fix for #19828.
334 2007-05-29 Udo Giacomozzi <udo.gnu@nova-sys.net>
336 * backend/render_handler_agg.cpp: Fix coordinate translation and
337 pixel hinting. Fixes bug #19828.
339 2007-05-29 Zou Lunkai <zoulunkai@gmail.com>
341 * testsuite/misc-ming.all: Makefile.am, key_event_test3.c,
342 key_event_test3runner.cpp: new testcase for key listeners.
345 2007-05-29 Zou Lunkai <zoulunkai@gmail.com>
347 * testsuite/misc-ming.all/key_event_test2runner.cpp: remove obsolete comments
349 2007-05-29 Zou Lunkai <zoulunkai@gmail.com>
351 * testsuite/misc-ming.all/key_event_test2.c,
352 key_event_test2runner.cpp: add more tests.
353 * server/movie_root.cpp: add comments for ::cleanup_key_listeners().
355 2007-05-29 Martin Guy <martinwguy@yahoo.it>
357 * server/asobj/NetStreamFfmpeg.cpp: Fix sign/unsign compiler warning
358 * packaging/debian/control: Add missing build dependency for opengl-gtk
360 2007-05-28 Tomas Groth Christensen <tomasgroth@yahoo.dk>
362 * server/asobj/NetStream*.{cpp,h}: Updated a comment and made play()
363 return void to be closer to defined behavoir.
365 2007-05-28 Sandro Santilli <strk@keybit.net>
367 * server/asobj/: NetStream.{cpp,h},
368 NetStreamFfmpeg.cpp, NetStreamGst.cpp:
369 Encode FLVParser ownership by using an auto_ptr;
370 cleanup startPlayback method in FFMPEG implementation
371 removing the "this" alias.
373 2007-05-28 Sandro Santilli <strk@keybit.net>
375 * server/asobj/NetStream.h: drop playing() method (unclear
377 * server/video_stream_instance.cpp (display): stop
378 calling NetStream::playing().
380 2007-05-28 Ann Barcomb <kudra@domaintje.com>
382 * many files: Add a paragraph break before the line 'You should
383 have received...' in the copyright notice.
384 * devtools/testsuite/copyright_notices.t: Minor code improvement
385 * many files: Add current year to all copyright notices which were
388 2007-05-28 Sandro Santilli <strk@keybit.net>
390 * server/video_stream_instance.{cpp,h}: add brief class description,
392 * testsuite/misc-ming.all/matrix_test.c: Really round numbers, don't
393 just truncate them up to 2nd decimal position.
395 2007-05-28 Zou Lunkai <zoulunkai@gmail.com>
397 * testsuite/misc-ming.all: Makefile.am, key_event_test2.c,
398 key_event_test2runner.cpp: add tests for key listeners.
399 * server/sprite_instance.cpp: call "unload" for characters removed
400 in ::resetDisplayList, partly fix the increasing key listeners
401 problem when loop back.
403 2007-05-28 Sandro Santilli <strk@keybit.net>
405 * testsuite/misc-ming.all/matrix_test.c: round numbers
406 to 1/100 to reduce floating number based errors.
408 2007-05-27 Ann Barcomb <kudra@domaintje.com>
410 * devtools/testsuite/copyright_notices.t: Added a script to look
411 for incorrect copyright notices.
413 2007-05-27 Rob Savoye <rob@bertha.welcomehome.org>
415 * macros/archflag.m4: Drop --with-gcc-arch, and use --with-cpu,
416 which is more standard.
417 * configure.ac: Add a --with-top-level option to specify where
418 development packages are when cross configuring. Add --with-cpu to
419 set the compiler flags correctly when cross compiling for similar
420 architectures, like pentium->geode, which are supported by the
423 2007-05-27 Bastiaan Jacques <bastiaan@bjacques.org>
425 * libbase/{FLVParser.h, LoadThread.h, embedVideoDecoderFfmpeg.h,
426 extension.h, tu_timer.h} server/{debugger.h, movie_root.h},
427 server/sprite_instance.h, server/vm/VM.h: Mark symbols which are
428 used across DSOs as DSOEXPORT. This allows compilation with
430 * macros/kde.m4: When detecting QT, also allow for the check for
431 the possibility that the QTDIR environment variable points to
432 the base QT directory, no strings attached (and no version
435 2007-05-27 Ann Barcomb <kudra@domaintje.com>
437 * doc/C/usermanual/installation/documentation_dependencies.xml:
438 Corrected information about FOP requirement.
439 * doc/C/usermanual/installation/install.xml: Placeholder file.
440 * doc/C/usermanual/installation.xml,
441 doc/C/usermanual/installation/building.xml: Started a section on
444 2007-05-26 Tomas Groth Christensen <tomasgroth@yahoo.dk>
446 * server/asobj/NetStreamGst.cpp: Don't allow play url to be changed,
447 might not be correct behavoir... Fix some issues when closing
448 NetStream before playback has been set up.
450 2007-05-26 Ann Barcomb <kudra@domaintje.com>
452 * doc/C/gnashrc.xml: Corrected spelling
453 * doc/C/usermanual/usage/gnashrc.xml: Propogated changes from
454 ../../gnashrc.xml r1.3357 to the new gnashrc file.
455 * doc/C/usermanual/installation/cross_compiling.xml: Made the
456 cross compilation information more generic.
458 2007-05-26 Jurka <jurka@ejurka.com>
460 * gui/gnash.cpp, libbase/FLVParser.cpp: Clear up printf-related
463 2007-05-26 Tomas Groth Christensen <tomasgroth@yahoo.dk>
465 * libbase/FLVParser.cpp: When seeking the frame after the correct
467 * server/asobj/NetConnection.cpp: Don't allow url prefix to be changed,
468 might not be correct behavoir...
469 * server/asobj/NetStreamFfmpeg.cpp: Don't allow play url to be changed,
470 might not be correct behavoir... Fix some issues when closing
471 NetStream before playback has been set up.
473 2007-05-26 Bastiaan Jacques <bastiaan@bjacques.org>
475 * plugin/plugin.cpp: Initialise _width and _height to safe defaults,
476 in case SetWindow is never called (for "hidden" flash movies).
477 * gui/gnash.cpp: If the plugin attempts to create a 0x0 pixels window
478 don't try to create a rendering GUI.
479 * macros/kde.m4: Check if we actually need the kde subdirectory of the
480 KDE prefix we got from kde-config.
482 2007-05-26 Ann Barcomb <kudra@domaintje.com>
484 * doc/C/usermanual/installation/cross_compiling.xml,
485 doc/C/usermanual/installation.xml: Added section on cross compiling
486 * doc/C/usermanual/installation/configuration.xml: Resolved a TODO
487 * doc/C/usermanual/installation/code_dependencies.xml: Marked a TODO
488 * doc/C/usermanual/installation/sources.xml: RAM requirements
489 * doc/C/usermanual/installation/sources.xml: Disk space requirements
490 * doc/C/usermanual/installation/configuration/feature_configuration.xml,
491 custompath_configuration.xml: Formatting
492 * doc/C/usermanual/installation/configuration/sources.xml:
493 Include development snapshots as a download option
495 2007-05-25 Sandro Santilli <strk@keybit.net>
497 * extensions/gnashrc: new file, with required variables
498 for running extensions tests.
499 * extensions/fileio/Makefile.am: Provide a GNASHRC variable
500 to the generic-testrunner.sh
501 * libbase/rc.cpp (loadFiles): load a GNASHRC if specified, after
502 all precedent files are loaded. See task #6937.
504 2007-05-25 Sandro Santilli <strk@keybit.net>
506 * testsuite/libbase/: TCXXRc.cpp, gnashrc.in: test EnableExtensions.
507 * doc/C/gnashrc.xml: document new EnableExtensions gnashrc
509 * libbase/rc.{cpp,h}: add support for EnableExtensions variable,
510 defaults to OFF. Cleanup const-correctness and static methods.
511 * server/asobj/Global.cpp: Don't load extensions if disabled
514 2007-05-25 Sandro Santilli <strk@keybit.net>
516 * libgeometry/snappingrange.h: add intersects(Range2d)
517 * testsuite/misc-ming.all/: Makefile.am,
518 loop_test2.c, loop_test2runner.cpp: Add a visual test
519 runner, showing that 2nd redesign attempt is really
522 2007-05-25 Sandro Santilli <strk@keybit.net>
524 * server/as_environment.cpp: don't print a separate error
525 when call stack limit is exceeded, leave that to the
527 * server/vm/ActionExec.cpp: implement number of iterations
528 limit (should be a timeout in second actually, but better
529 this then hanging forever). Fixes bug #19961.
531 2007-05-25 Bastiaan Jacques <bastiaan@bjacques.org>
533 * server/swf/tag_loaders.cpp: Move the assignment into the data
534 pointer up to right after the corresponding memory is allocated,
535 because the DO_{MONO,STEREO}_BLOCK macros use the temporary
536 pointer to iterate the buffer. This was causing delete[] to be
537 called on the pointer which had walked to the end of the buffer
540 2007-05-25 Sandro Santilli <strk@keybit.net>
542 * server/sprite_instance.{cpp,h}: drop unused remove_display_item
543 taking a std::string as argument..
545 2007-05-25 Tomas Groth Christensen <tomasgroth@yahoo.dk>
547 * server/asobj/NetStreamFfmpeg.h: Fix resampling for some FLVs,
550 2007-05-25 Sandro Santilli <strk@keybit.net>
552 * libbase/log.cpp (timestamp): include PID in timestamp,
553 so its easier to read the gnash-dbg.log file after browsing
556 2007-05-24 Sandro Santilli <strk@keybit.net>
558 * libbase/zlib_adapter.cpp: fix seek function to respect
559 tu_file interface. Fix inflater to no set an error condition
560 when inflate() just needs more calls to complete the request.
563 2007-05-24 Tomas Groth Christensen <tomasgroth@yahoo.dk>
565 * libbase/LoadThread.{cpp,h}: Made the download loop sleep when
566 read() wants to get a lock on the mutex.
567 * libbase/curl_adapter.cpp: Decreased the sleeping time in fill_cache.
568 * backend/{sound_handler.h,sound_handler_gst.h,sound_handler_sdl.h}:
569 Moved sound_data class to the base header.
571 2007-05-24 Sandro Santilli <strk@keybit.net>
573 * server/stream.cpp (open_tag): print end tag position in verbose
574 parse mode; (close_tag): assertion checking (shows a bug in
575 zlib_adapter, see bug #19931).
576 * libbase/tu_file.cpp (std_seek_func): assertion checking and minor
578 * libbase/curl_adapter.cpp (CurlStreamFile::seek): use the _cached
579 member for checking wheter a seek will succeed or not (fseek
580 allows you to seek past the end of the file otherwise).
582 2007-05-24 Bastiaan Jacques <bastiaan@bjacques.org>
584 * gui/Makefile.am: When building FLTK GUI, also include
585 the X11 CFLAGS (when available).
586 * gui/fltk.cpp: Only try to do X11 things with FLTK if
587 X11 is actually available. Should fix compilation on
589 * macros/x11.m4: Don't forget to set the x11 flag
590 variable which is used to check if X11 was found.
592 2007-05-24 Sandro Santilli <strk@keybit.net>
594 * server/: Makefile.am, impl.cpp, swf/DoActionTag.h,
596 Move DoAction and DoInitAction tag stuff to its
597 own file (both loader and parser).
599 2007-05-24 Sandro Santilli <strk@keybit.net>
601 * server/sprite_instance.cpp (replace_display_object):
602 When the object being replaced is NOT a scriptable object,
603 move instead of replacing.
604 * testsuite/misc-ming.all/: replace_buttons1test.c,
605 replace_buttons1test_runner.cpp, replace_sprites1test.c,
606 replace_sprites1test_runner.cpp: Expect less failures.
608 2007-05-24 Sandro Santilli <strk@keybit.net>
610 * server/: dlist.{cpp,h}, sprite_instance.{cpp,h},
611 server/swf/PlaceObject2Tag.cpp, server/vm/action.cpp:
612 Drop the use_matrix/use_color_xform parameters, use
613 pointers for the actual matrix/color_xform so that NULL
614 signifies "don't use".
616 2007-05-24 Sandro Santilli <strk@keybit.net>
618 * testsuite/misc-ming.all/replace_sprites1test.c:
619 Add onClipEvent(unload) to both PLACE and REPLACE tag.
621 2007-05-24 Sandro Santilli <strk@keybit.net>
623 * backend/sound_handler_gst.cpp: warn only once about fluendo plugin
625 * server/parser/shape_character_def.cpp (read):
626 Fix typo reporting false malformations in the SWF.
628 2007-05-24 Sandro Santilli <strk@keybit.net>
630 * server/character.h: add isActionScriptReferenciable()
631 method to find "scriptable objects". See:
632 http://www.gnashdev.org/wiki/index.php/ScriptableCharacters
633 * server/sprite_instance.cpp (get_member, get_relative_target):
634 When requested name matches a NON scriptable instance, return
636 * server/video_stream_instance.h: implement wantsInstanceName()
637 [ used by isActionScriptReferenciable ]
638 * testsuite/misc-ming.all/replace_shapes1test.c: expect less failures.
639 * testsuite/misc-ming.all/shape_test.c: don't expect any more failure
641 2007-05-24 Sandro Santilli <strk@keybit.net>
643 * testsuite/misc-ming.all/: Makefile.am,
644 replace_buttons1test.c, replace_buttons1test_runner.cpp:
645 New test for buttons replacement.
646 * testsuite/misc-ming.all/replace_sprites1test.c:
647 Add new test checking for _x.
649 2007-05-24 Sandro Santilli <strk@keybit.net>
651 * server/dlist.cpp (replace_character): always call ::construct
652 on the new character.
653 * backend/sound_handler_sdl.h: fix const-correctness
654 of active_sound (btw, do we really need two different
655 definitions of that class for SDL and GST ?).
657 2007-05-24 Sandro Santilli <strk@keybit.net>
659 * server/button_character_instance.cpp: protect vector
660 elements dereferencing by assertions. I have a segfault
661 triggered by a new uncommitted testcase replacing buttons...
663 2007-05-24 Sandro Santilli <strk@keybit.net>
665 * server/sprite_instance.{cpp,h}: remove unused
666 sprite_instance::mouse_state typedef and member.
667 * server/parser/BitmapMovieDefinition.h,
668 server/parser/movie_def_impl.h,
669 server/parser/movie_definition.h,
670 server/parser/sprite_definition.h,
671 testsuite/DummyMovieDefinition.h:
672 Const-corrected get_playlist.
674 2007-05-24 Sandro Santilli <strk@keybit.net>
676 * testsuite/misc-ming.all/replace_shapes1test.c:
677 Add more tests, updated comments.
678 * testsuite/actionscript.all/MovieClip.as:
679 Add test for _root.getDepth() being static-0.
681 2007-05-24 Sandro Santilli <strk@keybit.net>
683 * backend/sound_handler.h, backend/sound_handler_gst.cpp,
684 backend/sound_handler_gst.h, backend/sound_handler_sdl.cpp,
685 backend/sound_handler_sdl.h, server/execute_tag.h,
686 server/sprite_instance.cpp, server/sprite_instance.h,
687 server/parser/sound_definition.cpp,
688 server/parser/sound_definition.h,
689 server/swf/DisplayListTag.h, server/swf/PlaceObject2Tag.cpp,
690 server/swf/PlaceObject2Tag.h, server/swf/RemoveObjectTag.cpp,
691 server/swf/RemoveObjectTag.h, server/swf/tag_loaders.cpp,
692 testsuite/sound_handler_test.cpp, testsuite/sound_handler_test.h:
693 Const-corrected execute_tag::execute and execute_state, and
695 * testsuite/misc-ming.all/loop_test7.c: fix wrong expected failures.
697 2007-05-24 Sandro Santilli <strk@keybit.net>
699 * testsuite/misc-ming.all/: Makefile.am,
700 loop_test6.c, loop_test7.c:
701 Add a clone of "Jumping backward to the end of a character's
702 lifetime" test this time with onUnload defined.
704 2007-05-24 Sandro Santilli <strk@keybit.net>
706 * testsuite/misc-ming.all/: replace_shapes1test.c,
707 replace_sprites1test.c: SWFMovie_replace returns 0 on success
708 and non-0 on failure. Fixed code to reflect that (I'm not sure
709 I like this interface, anyway this is what we have in current
712 2007-05-23 Sandro Santilli <strk@keybit.net>
714 * server/swf/: tag_loaders.cpp, DefineFontAlignZonesTag.{cpp,h},
715 DisplayListTag.h, PlaceObject2Tag.{cpp,h},
716 RemoveObjectTag.{cpp,h}:
717 Move one namespace up (gnash::SWF - strip tag_loaders);
718 Provide a static public loader() function for use by
719 register_tag_loader (moved implementation from tag_loaders.cpp
720 to the classes themselves).
721 * server/impl.cpp: update loaders registration to call the new
722 public static methods of ReplaceObjectTag and PlaceObject2Tag.
724 2007-05-23 Sandro Santilli <strk@keybit.net>
726 * server/execute_tag.h: drop is_remove_tag() method.
727 * server/sprite_instance.{cpp,h}: drop unused
728 execute_remove_tags() method.
729 * server/Makefile.am, server/swf/: DisplayListTag.h,
730 PlaceObject2Tag.h, RemoveObjectTag.{cpp,h}
731 tag_loaders.cpp: Add a DisplayListTag subclass of
732 execute_tag, and make RemoveObject and PlaceObject subclasses
735 2007-05-23 Ann Barcomb <kudra@domaintje.com>
737 * doc/C/usermanual/installation/feature_configuration.xml,
738 doc/C/usermanual/installation/configuration.xml: Incorporated
739 some changes from r1.38 of doc/C/sources.xml.
741 2007-05-23 Sandro Santilli <strk@keybit.net>
743 * testsuite/misc-ming.all/: Makefile.am, loop_test6.c:
744 New test for "Jumping backward after a character's lifetime".
745 Reveals a conceptual bug in last step of all redesign attempts
746 for displaylist reconstruction (execute *all* frame tags
747 from start to target frame).
749 2007-05-23 Sandro Santilli <strk@keybit.net>
751 * testsuite/misc-ming.all/: Makefile.am, replace_shapes1test.c,
752 replace_sprites1test.c, replace_shapes1test_runner.cpp,
753 replace_sprites1test_runner.cpp: Modified coordinates and size
754 of shapes to help writing test runners. Wrote real test
755 runners checking for rendering and bounds invalidation.
756 * testsuite/MovieTester.cpp (render): don't force redraw
757 always (don't cheat) - do only when asked to do so..
759 2007-05-23 Sandro Santilli <strk@keybit.net>
761 * server/character.h: Extended TimelineInfo to store information
762 about wheter a character was placed by a REPLACE tag.
763 * server/sprite_instance.cpp: implemented 3rd redesign attempt
764 for DisplayList reconstruction compile-time enableable by
765 setting NEW_TIMELINE_DESIGN to 3. Defined to 2 by defualt
766 which gives us 2nd redesign attempt. See wiki.
767 3rd redesign is promising and give us lots of unexpected
768 successes, but also some unexpected failures for the new
769 testcases for REPLACE tag.
771 2007-05-23 Sandro Santilli <strk@keybit.net>
773 * server/dlist.{cpp,h}: Add new reset() method taking
774 enough parameters (I hope) to remove what needs to
775 on jump-back; drop obsoleted clear_unaffected function.
776 * testsuite/misc-ming.all/: replace_shapes1test.c,
777 replace_sprites1test.c: Fix implementation (don't
778 use Ming internal methods); add new tests and comments
779 about why Gnash fails.
781 2007-05-23 Bastiaan Jacques <bastiaan@bjacques.org>
783 * cygnal/cygnal.cpp: Don't include <libintl.h> directly; instead,
784 rely on our own gettext.h to do the right thing.
785 * gui/fltk.cpp: Update the FLTK GUI to the new Gnash key handling
786 API. Make sure the window is listening for key events even if it
787 is not the first window to receive key notifications.
788 * macros/gnashpkgtool.m4: Don't forget to set the "found" flag
789 for CFLAGS when --with-pkg-incl is used to find the include path.
790 * libbase/FLVParser.cpp: Fix more memory bugs by adding padding
791 zero bytes. Should fix bug #19898.
793 2007-05-23 Tomas Groth Christensen <tomasgroth@yahoo.dk>
795 * backend/sound_handler_sdl.cpp: Made it a bit more thread-safe by
796 locking when attaching/detaching a aux_streamer.
797 Fixed a crash when removing attached sounds from the aux_streamer list.
798 * libbase/FLVParser.{h,cpp}: Added audioFrameDelay(), and a fixes.
799 * libbase/curl_adapter.cpp: Changed min and max sleep.
800 * server/asobj/NetStreamFfmpeg.{h,cpp}: Cleanup! Splitted the big
801 decode function (read_frame) into 3 functions. Changed a few names
802 to make more sence. Improved syncing, and made it depend on audio
803 if available, not video. Plus some overall improvements.
805 2007-05-23 Zou Lunkai <zoulunkai@gmail.com>
807 * testsuite/misc-ming.all/shape_test.c: add tests for shapes.
808 * testsuite/misc-ming.all/Makefile.am: activate some testcases.
810 2007-05-22 Martin Guy <martinwguy@yahoo.it>
812 * configure.ac: add help text for ffmpeg-devel RPM package
813 * server/swf/tag_loaders.cpp: Fix NELLYMOSER bombing out
815 2007-05-22 Sandro Santilli <strk@keybit.net>
817 * server/swf/tag_loaders.cpp (place_object_2_loader): don't
818 add a TimelineDepth if read depth is out of static depth zone
819 boundaries (warn user about it too...).
820 * gui/Player.cpp (run): use movie url for window title (-u).
821 Useful when reading stdin...
822 * server/parser/shape_character_def.cpp (read): don't force
823 fill and line style of glyphs to have a corresponding style
824 definition, just warn if the value in a styleChangeRecord is
825 neither 0 or 1. Set style to 0 when invalid.
827 2007-05-22 Sandro Santilli <strk@keybit.net>
829 * testsuite/misc-ming.all/loop_test-Runner.cpp: don't expect
830 failure in invalidated bounds after Udo commits.
831 * testsuite/misc-ming.all/replace_sprites1test.c: Change expected
832 Gnash behaviour (previous one was based on 3rd displaylist reset
833 design implementation).
835 2007-05-22 Sandro Santilli <strk@keybit.net>
837 * configure.ac: add MING_SUPPORTS_REPLACE_TAG conditinal variable,
838 based on version (0.4.0.beta5).
839 * testsuite/misc-ming.all/: Makefile.am, replace_shapes1test.c,
840 replace_sprites1test.c: Add a couple of test for REPLACE tags.
841 Needs a Ming version that supports it, checked by
842 MING_SUPPORTS_REPLACE as set by ./configure.
844 2007-05-22 Ann Barcomb <kudra@domaintje.com>
846 * doc/C/usermanual/installation/configuration.xml: List interesting
847 options before custom path options
848 * doc/C/usermanual/installation/feature_configuration.xml: Added
849 missing title (it had been left in configuration.xml).
851 2007-05-22 Udo Giacomozzi <udo.gnu@nova-sys.net>
853 * server/character.{h,cpp}: Added preprocessor code to analyze
854 calls to set_invalidated() more easily.
855 * server/cxform.h: Implemented == operator
856 * server/dlist.cpp: inherit invalidated bounds when replacing a
858 * server/sprite_instance.cpp: avoid call to set_invalidated()
859 (of parent) when replacing a char
861 2007-05-22 Ann Barcomb <kudra@domaintje.com>
863 * doc/C/usermanual/*: Added files for the new user manual.
864 * doc/C/app_authors.xml: Added a file which is used in the user manual
865 but might be cross-referenced by other documents.
867 2007-05-22 Udo Giacomozzi <udo.gnu@nova-sys.net>
869 * testsuite/misc-ming.all/NetStream-SquareTest.c: add missing end quote
870 * testsuite/actionscript.all/XML.as: fix broken string
872 2007-05-21 Sandro Santilli <strk@keybit.net>
874 * testsuite/misc-ming.all/: Makefile.am, displaylist_depths_test11.c:
875 New timeline control test.
876 * server/parser/Timeline.h: fix getFrameDepths to really return
877 depths. Add output operator.
879 2007-05-21 Tomas Groth Christensen <tomasgroth@yahoo.dk>
881 * backend/sound_handler_sdl.cpp: Only try to detach video-sound
883 * server/asobj/NetStreamFfmpeg.cpp: Shutdown the decoding thread
886 2007-05-21 Rob Savoye <rob@bertha.welcomehome.org>
888 * libbase/Makefile.am: Build the installable libltdl before
891 2007-05-21 Sandro Santilli <strk@keybit.net>
893 * testsuite/misc-ming.all/displaylist_depths_test9.c: add
894 a construct event handler for the static character placed
895 and replaced (duplicated), and tests for its run.
897 2007-05-21 Rob Savoye <rob@bertha.welcomehome.org>
899 * libbase/Makefile.am: Don't include LIBLTDL in libgnashbase.la.
901 2007-05-21 Sandro Santilli <strk@keybit.net>
903 * server/parser/: movie_definition.h, movie_def_impl.h,
904 sprite_definition.h: add getTimelineDepths() methods
907 2007-05-21 Sandro Santilli <strk@keybit.net>
909 * server/parser/: Makefile.am, Timeline.h: new class for
911 * server/parser/: movie_definition.h, movie_def_impl.{cpp,h},
912 sprite_definition.{cpp,h}: new addTimelineDepth() and
913 removeTimelineDepth() interfaces in base class, implementation
915 * server/swf/tag_loaders.cpp (remove_object2_tag): add getDepth()
916 method; call movie_definition::addTimelineDepth when a PlaceObject
917 tag is parsed and movie_definition::removeTimelineDepth when
918 a RemoveObject is parsed.
919 * server/swf/PlaceObject2Tag.h: add getDepth() method, more dox
920 and 3 new inspectors to know wheter it's a place, replace or move
923 2007-05-21 Sandro Santilli <strk@keybit.net>
925 * libbase/log.h: removed useless 'while (0) {};' snippet from
926 IF_VERBOSE_ASCODING_ERRORS and IF_VERBOSE_MALFORMED_SWF
928 2007-05-21 Zou Lunkai <zoulunkai@gmail.com>
930 * testsuite/misc-ming.all/loop_test5.c:
931 more for "Timeline control".
933 2007-05-21 Sandro Santilli <strk@keybit.net>
935 * testsuite/misc-ming.all/Makefile.am: build libgnashmingutils
936 as a convenience library; have Dejagnu.swf users depend on
937 the local copy, not the one moved one dir up.
938 * libbase/log.{cpp,h}: make LogFile output operators
939 private, provide a sipler thread-safe log() method.
940 Have all printf-like log_*() method use this new method.
941 Fixes bug bug #19906.
942 * cygnal/stream.cpp, server/parser/action_buffer.cpp,
943 server/parser/action_buffer.h, server/vm/ActionExec.cpp,
944 testsuite/server/PropertyListTest.cpp: remove any
945 use of LogFile::operator<<, substitute with log_*() calls.
947 2007-05-21 Zou Lunkai <zoulunkai@gmail.com>
949 * testsuite/misc-ming.all/loop_test4.c:
950 add a another check, comments
952 2007-05-21 Zou Lunkai <zoulunkai@gmail.com>
954 * testsuite/misc-ming.all/loop_test4.c:
955 new testcase for timeline control.
957 2007-05-21 Zou Lunkai <zoulunkai@gmail.com>
959 * testsuite/misc-ming.all/place_object_test2.c:
960 testcase for placeObject2.
962 2007-05-20 Rob Savoye <rob@bertha.welcomehome.org>
964 * libbase/log.h: Add empty braces around a while(0) to shut up GCC
967 2007-05-20 Zou Lunkai <zoulunkai@gmail.com>
969 * testsuite/misc-ming.all/displaylist_depths_test9.c:
970 more tests, all passed.
972 2007-05-19 Markus Gothe <nietzsche@lysator.liu.se>
974 * server/asobj/NetStream.cpp: Got rid of make_pair in favor of
976 * server/cxform.h: include <string>
978 2007-05-19 Tomas Groth Christensen <tomasgroth@yahoo.dk>
980 * libbase/tu_timer.cpp: Fixed a compiler warning.
981 * server/asobj/NetStreamFfmpeg.{h,cpp}: Changed the way the decoding
982 loops works. We now use condition variables to pause the decoding
983 loop. We now disconnect from the soundhandler when pausing.
985 2007-05-18 Sandro Santilli <strk@keybit.net>
987 * testsuite/misc-ming.all/: Makefile.am, loop_test2.c, loop_test3.c:
988 New Timeline control test. GNASH FAILS THESE ONES !!
990 2007-05-18 Sandro Santilli <strk@keybit.net>
992 * server/dlist.h: document the addAll() and add() methods.
993 * server/asobj/NetStreamGst.cpp: provide a buildFLVPipeline() calling
994 the video/audio versions internally and locking the pipelineMutex.
995 Lock the pipelineMutex from buildPipeline() too. Document locking
997 * testsuite/misc-ming.all/: loop_test-Runner.cpp, loop_test.c:
998 Make loop_test.swf self-contained. Use the runner for checking
999 invalidated bounds and rendering.
1001 2007-05-18 Rob Savoye <rob@bertha.welcomehome.org>
1003 * backend/sound_handler.cpp: Include cstring so memcpy is
1005 * libbase/Makefile.am: Add makefile rules from libltd.
1007 2007-05-18 Sandro Santilli <strk@keybit.net>
1009 * testsuite/misc-ming.all/: Makefile.am, displaylist_depths_test10.c:
1010 Add test for "Skipping frames backward".
1011 * Makefile.am, configure.ac: detect 'swfmill'
1012 * testsuite/misc-swfmill.all/: .cvsignore, Makefile.am:
1013 new testsuite dir for swfmill
1014 * testsuite/misc-swfmill.all/hello.xml: small example on
1015 how to produce an swf. Build with 'make hello.swf'.
1017 2007-05-18 Zou Lunkai <zoulunkai@gmail.com>
1019 * testsuite/misc-ming.all/getTimer_test.c,
1020 server/vm/VM.{h,cpp}, server/vm/ASHandlers.cpp,
1021 gui/fb.cpp: cleanup "ActionGetTimer" related stuff.
1022 * server/movie_root.h
1023 remove unused get_timer, set_timer.
1025 2007-05-17 Martin Guy <martinwguy@yahoo.it>
1027 * configure.ac: Change package help message format
1028 and fix typo MYSQC_CFLAGS
1029 * backend/sound_handler.h: Remove old adpcm_expand() decl
1030 * macros/x11.m4: Two typoes "if x${a} != xfoo"
1031 * utilities/parser.cpp: Shut compiler up
1032 * backend/sound_handler_gst.cpp, testsuite/sound_handler_test.cpp:
1033 Remove never-implemented stub declaration.
1034 * server/swf/tag_loaders.cpp: Rewrite of sample-reading code to decode
1035 all linear formats in one place.
1036 * backend/sound_handler_{sdl,gst}.cpp: Remove now unnecessary attempts
1037 at decoding other linear audio formats.
1038 * backend/sound_handler_gst.cpp, testsuite/sound_handler_test.cpp:
1039 Replace never-implemented stub declarations, symptom of a deeper ill.
1040 * backend/sound_handler.h,
1041 backend/sound_handler_gst.cpp,
1042 backend/sound_handler_gst.h,
1043 backend/sound_handler_sdl.cpp,
1044 backend/sound_handler_sdl.h,
1045 testsuite/sound_handler_test.cpp,
1046 testsuite/sound_handler_test.h,
1047 server/asobj/SoundMad.cpp:
1048 Add two params to convert_raw_data so that it is SDL-independent
1049 * backend/sound_handler.h,
1050 backend/sound_handler.cpp,
1051 backend/sound_handler_gst.cpp,
1052 backend/sound_handler_gst.h,
1053 backend/sound_handler_sdl.cpp,
1054 backend/sound_handler_sdl.h,
1055 testsuite/sound_handler_test.cpp,
1056 testsuite/sound_handler_test.h:
1057 convert_raw_samples is now just a static fn of sound_handler::
1058 * backend/sound_handler.cpp: Speed convert_raw_data and handle stereo
1059 upsampling correctly
1060 * backend/sound_handler_sdl.cpp: Remove bug 19750 that garbled
1062 * server/swf/tag_loaders.cpp: Bug fix: calculate # samples correctly.
1063 * macros/ffmpeg.m4,configure.ac: Workaround /usr/include/ffmpeg reported
1064 by pkg-config; move libavformat absence test to final report.
1066 2007-05-17 Rob Savoye <rob@bertha.welcomehome.org>
1068 * libbase/Makefile.am: Build libltdl optionally by duplicating the
1069 way libltdl/Makefile used to buuld this library.
1071 2007-05-17 Sandro Santilli <strk@keybit.net>
1073 * macros/: boost.m4, x11.m4: avoid explicit -L/usr/lib.
1075 2007-05-17 Rob Savoye <rob@bertha.welcomehome.org>
1077 * libbase/Makefile.am: Add ltdl.h to noinst_HEADERS.
1078 * po/Makefile.am: Use DESTDIR when installing.
1079 * testsuite/server/Makefile.am: Link in FFMPEG is configured to do so.
1080 * libbase/Makefile.am: Add path for ltdl.h.
1082 2007-05-17 Markus Gothe <nietzsche@lysator.liu.se>
1084 * configure.ac: Check if LD supports --as-needed.
1085 * server/asobj/Date.cpp: Clean up and fixed uneeded ftime() use.
1087 2007-05-17 Sandro Santilli <strk@keybit.net>
1089 * server/asobj/NetStreamGst.cpp (unrefElements): don't attempt
1090 to unref NULL objects, set objects to NULL after unreffing. Add
1092 * testsuite/misc-ming.all/NetStream-SquareTest.c:
1093 Add self-contained tests.
1094 * testsuite/misc-ming.all/NetStream-SquareTestRunner.cpp:
1095 Adjust to simply run the self-contained tests.
1097 2007-05-17 Zou Lunkai <zoulunkai@gmail.com>
1099 * testsuite/misc-ming.all/getTimer_test.c:
1100 make the time dependent tests be more tolerant
1102 2007-05-17 Zou Lunkai <zoulunkai@gmail.com>
1104 * testsuite/misc-ming.all: getTimer_test.c, Makefile.am
1105 add a new testcase; activate action_execution_order_test9.c
1106 * server/vm/VM.{h,cpp}: add a getStartTime() for VM.
1107 * server/vm/ASHandlers.cpp: use new "getStartTime()" interface,
1109 * libbase/tu_timer.{h,cpp}: change time unit for non-win32 version
1112 2007-05-16 Rob Savoye <rob@bertha.welcomehome.org>
1114 * macros/boost.m4: Look for shared libs with version numbers after
1115 the suffix, for OpenBSD.
1117 2007-05-16 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1119 * server/asobj/NetStream.{h,cpp},
1120 server/asobj/NetStream{Gst,Ffmpeg}.{h,cpp}: Updated documentation.
1121 * libbase/FLVParser.{h,cpp}, server/asobj/NetStream.{h,cpp}:
1122 Implemented bufferLength.
1124 2007-05-16 Sandro Santilli <strk@keybit.net>
1126 * libbase/FLVParser.h: class documentation.
1128 2007-05-16 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1130 * server/asobj/NetStreamGst.{h,cpp}: Splitted buildFLVPipeline
1131 into buildFLVVideoPipeline and buildFLVSoundPipeline.
1133 2007-05-16 Sandro Santilli <strk@keybit.net>
1135 * testsuite/misc-ming.all/: Makefile.am,
1136 NetStream-SquareTestRunner.cpp, Video-EmbedSquareTestRunner.cpp:
1137 Stub video test runners.
1139 2007-05-16 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1141 * server/asobj/NetStreamGst.{cpp,h}: Split startPlayback() into
1142 smaller function (buildFLVPipeline and buildPipeline). Made sure
1143 gstreamer elements are cleaned up if setup fails.
1145 2007-05-16 Rob Savoye <rob@bertha.welcomehome.org>
1147 * configure.ac: Eval lists so the embedded variables get
1148 expanded on all systems. Turn on --as-needed for all
1149 builds. Define LIBLTDL variables and DLOPEN again.
1150 * backend/Makefile.am: Don't use no-undefined -export-dynamic for
1152 * libbase/Makefile.am: Build standalone libltdl now so we can work
1153 with an installed one too, which appears to be necessary on 64 bit
1155 * macros/boost.m4: Rewrite to support Boost 3.4, which of course
1156 changed the library names. Get all libraries with of the right
1157 type, and sort through the variants to choose the correct one,
1158 preferably ending in *-mt.so.
1159 * macros/kde.m4: Define newlist, so we don't stomp the value of
1160 libslist, which produces bizarre side effects when cross
1162 * macros/libltdl.m4: Our build of libltdl.la lives in libbase
1163 instead of libltdl. NOTE: This will unfortunately have to be done
1164 again if this file is updated in the future from the version
1165 included on libtool.
1166 * gui/Makefile.am: -framework Carbon should be defined in
1169 2007-05-16 Sandro Santilli <strk@keybit.net>
1171 * server/asobj/NetStreamGst.{cpp,h}: define and use
1172 mutex-protected pipeline control methods.
1174 2007-05-16 Sandro Santilli <strk@keybit.net>
1176 * server/asobj/NetStreamGst.cpp: always check return code
1177 from gst_element_factory_make. Handling in case of failure
1178 is not verified to be correct. Tgc, could you check it out ?
1179 * gui/Makefile.am: don't put LDFLAGS in LIBADD, remove
1180 spurious character likely slipped in due to Markus
1181 fighting with his new keyboard ;)
1183 2007-05-15 Markus Gothe <nietzsche@lysator.liu.se>
1185 * po/se.po: Initial start of Swedish translation.
1186 * gui/aqua*: Stubs for getting a native OS X UI.
1188 2007-05-15 Sandro Santilli <strk@keybit.net>
1190 * server/asobj/NetStreamGst.{h,cpp}: add a resetPipeline() private
1191 method doing some checks on the return code (some situations are
1192 still unhandled); use resetPipeline() when needed.
1193 * server/asobj/NetStream.cpp: warn once about unimplemented stuff.
1195 2007-05-15 Rob Savoye <rob@bertha.welcomehome.org>
1197 * configure.ac: Use C++ compiler instead of C compiler so the
1198 SIZET_FMT test works correctly with GCC 4.3.x. Move libltdl tests
1199 to top level. Don't configure in the libltdl directory.
1200 * gnash/Makefile.am: Don't list libltdl as a SUBDIR.
1201 * gnash/autogen.sh: Only run libtoolize once.
1202 * backend/sound_handler_sdl.cpp: Rearranage header order for
1203 braindead platforms.
1204 * libbase/Makefile.am: Built ltdl into libbase. Drop linking with
1205 --no-undefined --export-dynamic.
1206 * libgeometry/Makefile.am: Built ltdl into libbase. Drop linking
1207 with --no-undefined --export-dynamic.
1208 * macros/ffmpeg.m4: Don't add ffmpeg to include path. Fix test for
1209 avformat.h to be more portable.
1210 * po/Makefile.am: Install all the translations in a loop.
1211 * server/URLAccessManager.cpp: Include iconv.h. Use lower case for
1213 * server/asobj/NetStreamFfmpeg.cpp: Use lower case for winsock2.h.
1214 * server/asobj/xmlsocket.cpp: Use lower case for winsock2.h.
1215 * utilities/parser.cpp, processor.cpp: Include libintl.h and
1216 locale.h for braindead platforms.
1217 * macros/libltdl.m4: Add autoconf support from libltdl.
1220 2007-05-15 Sandro Santilli <strk@keybit.net>
1222 * server/swf/tag_loaders.cpp (inflate_wrapper): fix infinite loop
1224 * server/parser/morph2_character_def.cpp (read): don't abort
1225 if number of edges in start and end shapes are not equal.
1226 Just raise an SWF error.
1227 * server/stream.{cpp,h} (skip_bytes): return a boolean value
1228 for success/failure.
1229 * server/swf/PlaceObject2Tag.cpp (readPlaceAction): check
1230 return from stream::skip_bytes.
1231 * libbase/jpeg.cpp: fix typo introduced in last commit.
1232 * server/swf/PlaceObject2Tag.cpp (readPlaceActions): don't abort when
1235 2007-05-15 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1237 * server/asobj/NetStream.{cpp.h}, server/asobj/NetStreamFfmpeg.{cpp,h},
1238 server/asobj/NetStreamGst.{cpp,h}: Moved shared code from
1239 NetStreamFfmpeg and NetStreamGst to the NetStream base class.
1241 2007-05-15 Sandro Santilli <strk@keybit.net>
1243 * libbase/jpeg.{cpp,h}: cleanups and robustness (first pass).
1245 2007-05-15 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1247 * backend/sound_handler_{sdl,gst}.cpp: Use the
1248 IF_VERBOSE_MALFORMED_SWF macro.
1249 * libbase/log.h: Added gnash:: to RcInitFile calls.
1250 * server/swf/tag_loaders.cpp: Use stream::read() instead of loops.
1252 2007-05-15 Sandro Santilli <strk@keybit.net>
1254 * libbase/GnashException.h: add missing <string> include.
1256 2007-05-15 Zou Lunkai <zoulunkai@gmail.com>
1258 * testsuite/misc-ming.all/action_execution_order_test9.c:
1261 2007-05-15 Sandro Santilli <strk@keybit.net>
1263 * server/stream.{cpp,h} (set_position): document and change return
1264 type to signal failures.
1265 * server/font.cpp (readDefineFont, readDefineFont2_or_3): use
1266 stream::set_position return code to detect SWF malformations.
1268 2007-05-15 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1270 * backend/sound_handler_{gst,sdl}.cpp: Make soundhandlers more robust.
1271 * server/swf/tag_loaders.cpp: Remember to pass the mp3 data and size.
1273 2007-05-15 Sandro Santilli <strk@keybit.net>
1275 * server/movie_instance.cpp (advance): safely handle movies
1276 with 0 total frames (malformed SWF).
1277 * gui/gui.cpp (advance_movie): handle no looping when the
1278 total frame count is 0 (malformed SWF).
1279 * server/dlist.cpp (swapDepth): fix an out-of-bound access.
1281 2007-05-15 Zou Lunkai <zoulunkai@gmail.com>
1283 * testsuite/misc-ming.all/duplicate_movie_clip_test2.c:
1285 * testsuite/misc-ming.all/action_execution_order_test9.c:
1288 2007-05-14 Sandro Santilli <strk@keybit.net>
1290 * server/parser/movie_def_impl.cpp (read_all_swf): handle premature
1292 * libbase/tu_file.{cpp,h}: changed set_position signature to return
1293 an int (0 for success TU_FILE_SEEK_ERROR on error).
1294 * server/stream.cpp (end_tag): check return from
1295 tu_file::set_position().
1297 2007-05-14 Sandro Santilli <strk@keybit.net>
1299 * testsuite/misc-ming.all/: Makefile.am, NetStream-Square.c,
1300 NetStream-SquareTest.c, Video-EmbedSquare.c,
1301 Video-EmbedSquareTest.c: Renamed video tests to conform
1302 to the tests naming convention (end with "test"). Enabled
1303 build of the SWF. Test runners still missing.
1304 Get FLV path on command line.
1306 2007-05-14 Sandro Santilli <strk@keybit.net>
1308 * server/font.cpp: more robustness improvements.
1309 * server/font.cpp (readDefineFont, readDefineFont2_or_3): pass
1310 shape_character_def the real tag we're parsing.
1311 * server/parser/shape_character_def.cpp (read): when parsing
1312 DEFINEFONT tags provide a dummy solid white fill style to
1313 act as a placeholder for consistency checking.
1315 2007-05-14 Sandro Santilli <strk@keybit.net>
1317 * server/fill_style.{cpp,h}: document default constructor and type.
1318 * server/vm/ASHandlers.cpp (CommonGetUrl): check url security also
1319 when invoking firefox.
1320 * server/font.cpp (readDefineFont, readDefineFont2_or_3): use
1321 symbolic names for tag type.
1322 * server/parser/shape_character_def.cpp (read): temporarely
1323 disabled the "don't set line and fill styles if not defined yet".
1324 It seems to break a lot of movies. We should find out why though,
1325 as I'd think styles must *first* be defined, and *after* referred.
1327 2007-05-14 Sandro Santilli <strk@keybit.net>
1329 * backend/render_handler_agg_style.h (is_solid): check argument
1330 with an assertion before accessing the m_styles vector.
1331 * server/parser/shape_character_def.cpp (read): don't set line and
1332 fill styles to unavailable values. Drop a weird an likely bogus
1333 modification of tag_type when a flagHasNewStyle is set and the
1336 2007-05-14 Sandro Santilli <strk@keybit.net>
1338 * utilities/Makefile.am: don't set LDFLAGS twice.
1339 * server/parser/shape_character_def.{cpp,h}: add ShapeRecordFlags
1340 enum to use symbolic names while parsing. Don't change tag type
1341 when encountering the flagHasNewStyles set and the tag type
1342 is DEFINESHAPE (for which supposedly that flag is reserved);
1343 keep parsing instead and print a message about SWF malformacy.
1344 * gui/Player.cpp (run): exit with a failure if input movie has
1345 collapsed dimensions (malformed SWF most likely).
1346 * server/asobj/xml.{cpp,h}: change extractNode interface to return a
1347 bool, so it can implement a custom ignoreWhite thing (the libxml2
1348 XML_PARSE_NOBLANKS seems to be not working. Add getXMLOptions()
1349 and getIgnoreWhite() utility methods (privates). Fixes bug #19865.
1350 * testsuite/actionscript.all/XML.as: more tests for ignoreWhite.
1352 2007-05-14 Sandro Santilli <strk@keybit.net>
1354 * server/asobj/xmlnode.cpp (stringify): represent empty nodes with the
1355 "<openclose />" format.
1356 * server/asobj/xml.{cpp,h}: parseDoc made private; add clear()
1357 method for dropping childs and attibutes; clear() on parseXML() or
1359 * testsuite/actionscript.all/XML.as: add a cleaner test for parseXML
1360 not appending new definitions. Misses the same for load()
1362 2007-05-14 Sandro Santilli <strk@keybit.net>
1364 * utilities/Makefile.am: put GNASH_LIBS in LDADD and external
1365 libs in LDFLAGS. Drop '-dlopen self'. Please review.
1367 2007-05-14 Rob Savoye <rob@bertha.welcomehome.org>
1369 * macros/mtasc.m4: Patch #9531, fix variable name for MTASC.
1370 * libbase/noseek_fd_adapter.cpp: Include cstring to get C string
1371 functions used for char * manipulation.
1372 * libbase/URL.cpp: Include cstring to get C string functions used
1373 for char * manipulation.
1374 * libbase/embedVideoDecoderFfmpeg.cpp: Include cstring to get C
1375 string functions used for char * manipulation.
1376 * libbase/curl_adapter.cpp: Include cstring to get C string
1377 functions used for char * manipulation.
1379 * server/gnash.h: Include memory for auto_ptr.
1380 * libamf/amf.h: Include cstring for C string functions.
1381 * libamf/amf.cpp: Use lower case for win32 headers, as that's what
1384 2007-05-14 Sandro Santilli <strk@keybit.net>
1386 * testsuite/misc-ming.all/displaylist_depths_test7.c: fix description
1387 to match actual implementation. Don't expect a wrong behaviour.
1389 2007-05-14 Sandro Santilli <strk@keybit.net>
1391 * testsuite/misc-ming.all/: duplicate_movie_clip_test2.c,
1392 displaylist_depths_test9.c: don't expect any failure.
1393 * server/as_environment.cpp (find_target): strip leading colon chars
1394 in path components (fixes ActionDuplicateClip bug).
1395 * testsuite/misc-ming.all/Makefile.am: fixed bad typo (missing
1396 backslash) which triggered NO warning from ./autogen.sh
1397 but still resulted in bogus Makefile.in produced (sic!).
1399 2007-05-14 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1401 * libbase/FLVParser.cpp: Fixed a out-of-bound error (bug #19866).
1402 * testsuite/media/square.flv: Added. Used for testing.
1403 * testsuite/misc-ming.all/NetStream-Square.c: Added. Created simple
1404 SWF which plays square.flv using NetStream.
1405 * testsuite/misc-ming.all/Video-EmbedSquare.c: Added. Created simple
1406 SWF which plays an embedded video (ripped from square.flv).
1408 2007-05-14 Sandro Santilli <strk@keybit.net>
1410 * po/Makefile.am: create destination directories before trying to
1411 install things there.
1413 2007-05-14 John Gilmore <gnu@toad.com>
1415 Internationalization, further cleanup:
1417 * po/Makefile.am: Pass proper flags to xgettext to handle _(...).
1418 * po/LINGUAS: Remove, superseded by Makefile.am's "translations".
1419 * backend/sound_handler_gst.cpp, cygnal/cygnal.cpp, cygnal/http.cpp,
1420 cygnal/statistics.cpp, cygnal/stream.cpp, gui/gtk.cpp,
1421 gui/gtk_glue_gtkglext.cpp, gui/kde.cpp, gui/stl_agg_glue.cpp,
1422 libamf/amf.cpp, libamf/rtmp.cpp, libbase/rc.cpp,
1423 libbase/sharedlib.cpp, server/movie_root.cpp, utilities/parser.cpp,
1424 utilities/processor.cpp: Insert header
1425 comment and fix up copyright spacing.
1426 * backend/sound_handler_gst.cpp, cygnal/cygnal.cpp, cygnal/http.cpp,
1427 cygnal/statistics.cpp, cygnal/stream.cpp, gui/Player.cpp,
1428 gui/gtk.cpp, gui/gtk_glue_gtkglext.cpp, gui/stl_agg_glue.cpp,
1429 libamf/amf.cpp, libamf/rtmp.cpp, libbase/network.cpp, libbase/rc.cpp,
1430 libbase/sharedlib.cpp, server/as_function.cpp, server/debugger.cpp,
1431 server/movie_root.cpp, utilities/parser.cpp, utilities/processor.cpp:
1432 Pass messages through _(...).
1433 * backend/sound_handler_gst.cpp, backend/sound_handler_mp3.cpp,
1434 cygnal/README, cygnal/cygnal.cpp, cygnal/http.cpp,
1435 cygnal/statistics.cpp, cygnal/stream.cpp, gui/Player.cpp,
1436 gui/gtk.cpp, gui/gtk_glue_gtkglext.cpp, gui/stl_agg_glue.cpp,
1437 libamf/amf.cpp, libamf/rtmp.cpp, libbase/network.cpp,
1438 libbase/rc.cpp, libbase/sharedlib.cpp, server/as_function.cpp,
1439 server/debugger.cpp, server/dlist.cpp, server/movie_root.cpp,
1440 utilities/parser.cpp, utilities/processor.cpp:
1441 Clean up messages (remove \n's and !s, change wording, use
1442 log_XXX functions rather than dbglogfile <<, use proper log_XXX
1443 function, fix typos, etc).
1444 * backend/sound_handler_mp3.cpp: New 2007 Free Software Foundation
1445 copyrights applied (to formerly public domain code)
1446 * cygnal/cygnal.cpp, cygnal/http.cpp, cygnal/statistics.cpp,
1447 cygnal/stream.cpp, gui/gtk_glue_gtkglext.cpp, gui/kde.cpp,
1448 gui/stl_agg_glue.cpp, libbase/sharedlib.cpp: Update copyright
1450 * cygnal/http.cpp (HTTP::sendGetReply),
1451 cygnal/stream.cpp (sendfile_thread),
1452 libamf/amf.cpp (AMF::encodeElement, AMF::extractElementLength,
1453 AMF::parseBody, AMF::extractVariable),
1454 server/debugger.cpp (Debugger::dumpStackFrame): Insert FIXME
1456 * gui/kde.cpp (qwidget::qwidget): Translate strings for the
1458 * libbase/network.cpp (Network::writeNet): Remove dead code.
1459 * AUTHORS, gui/gtk.cpp (authors): Add myself to authors list.
1461 2007-05-14 Sandro Santilli <strk@keybit.net>
1463 * server/rect.{cpp,h} (read): check for min/max values swapped
1464 reporting SWF malformation and setting the rect to NULL if
1466 * server/parser/movie_def_impl.cpp (readHeader): report SWF
1467 malformation if movie bounds were malformed.
1469 2007-05-14 Zou Lunkai <zoulunkai@gmail.com>
1471 * testsuite/misc-ming.all/: displaylist_depths_test9.c, Makefile.am:
1472 new scenario for Timeline Control, gnash passes.
1473 But luckly, caught a bug in ActionDuplicateClip :)
1474 * testsuite/misc-ming.all/action_execution_order_test8.c: indent
1475 * testsuite/misc-ming.all/: duplicate_movie_clip_test2.c, Makefile.am:
1476 new testcase for duplicateMovieClip.
1478 2007-05-13 Rob Savoye <rob@bertha.welcomehome.org>
1480 * po/Makefile.am: Add install-data-hook target so the .gmo files
1481 get installed. Build and install German translation.
1482 * po/de.po: German translation by benjamin.goose@lrz.uni-muenchen.de.
1483 * doc/C/sources.xml: Fix unclosed <para> tags.
1484 * macros/ffmpeg.m4: Only print warning and reset
1485 ac_cv_path_ffmpeg_incl if avformat.h doesn't exist.
1487 2007-05-13 Sandro Santilli <strk@keybit.net>
1489 * macros/boost.m4: typo fix (might need another go at testing)
1490 * testsuite/actionscript.all/Number.as: skip conversion-to-number
1491 tests if Ming doesnt' support ASM.
1492 * testsuite/actionscript.all/XML.as: add tests exposing two bugs
1493 with XML (parseXML appending newly parsed stuff and ignoreWhite
1496 2007-05-12 Martin Guy <martinwguy@yahoo.it>
1498 * server/stream.{h.cpp}: Punch a block-read primitive through the
1500 * server/parser/sound_definition.cpp: Move ADPCM code elsewhere
1501 * server/swf/tag_loaders.cpp: Decode all linear formats into native 16,
1502 move ADPCM code here where it's used.
1504 2007-05-12 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1506 * backend/sound_handler_gst.cpp: Make sure sounds are stopped
1507 when done being played. Should fix bug #19628.
1508 * libbase/FLVParser.{h,cpp}: Switched from referring to the last
1509 frame we used, to the next frame we're going to use.
1510 * libbase/curl_adapter.cpp: Fix use of usleep() on windows.
1511 * macros/opengl.m4: Fixed detection on windows.
1512 * macros/boost.m4: Re-commited Deannas boost patch with a small fix.
1514 2007-05-12 Sandro Santilli <strk@keybit.net>
1516 * server/character.h (isDynamic): the root movie, not having
1517 been placed in a parent displaylist, has NO TimelineInfo
1518 associated. Consider this in the assertion aimed at dropping
1519 the _dynamicallyCreated flag.
1520 * libbase/tu_file.cpp (std_tell_func): don't require not to
1521 be at EOF on tell() call. See bug #19861.
1523 2007-05-12 Sandro Santilli <strk@keybit.net>
1525 * server/execute_tag.h, server/swf/PlaceObject2Tag.{cpp,h},
1526 server/swf/tag_loaders.cpp: Drop execute_tag::execute_state_reverse()
1527 and execute_tag::get_depth_id_of_replace_or_add_tag) methods.
1528 * server/sprite_instance.{cpp,h}: (advance_sprite, execute_frame_tags):
1529 call resetDisplayList in advance_sprite rather then delegate to
1530 execute_frame_tags, to avoid an invocation during
1531 restoreDisplayList(). (restoreDisplayList): fix comment for
1532 step1, remove commented out code. Drop the m_is_reverse_execution
1533 flag and associated getter. Drop execute_frame_tags_reverse() method.
1534 Drop find_previous_replace_or_add_tag method. (goto_frame) Move
1535 UdoG comment where it belonge [old design block], add comment about
1536 possible problem with clearing the action queue after displaylist
1538 * testsuite/misc-ming.all/loop_test-Runner.cpp: Don't set action
1541 2007-05-11 Sandro Santilli <strk@keybit.net>
1543 * server/dlist.{cpp,h}: Add another DisplayList mass-removal
1544 function taking a vector of gnash::characters to remove.
1545 * server/character.h: Add support for attaching TimelineInfo
1546 records to (timeline) instances.
1547 * server/sprite_instance.cpp:
1548 (add_display_object, replace_display_object):
1549 add TimelineInfo record to placed timeline instance.
1550 (restoreDisplayList): implemented DisplayList reconstruction
1551 algorithm as defined on the "Timeline control" wiki page.
1552 (goto_frame): use restoreDisplayList when jumping-back, properly
1553 set m_current_frame when jumping-forward, for proper TimelineInfo
1555 * testsuite/misc-ming.all/: displaylist_depths_test4.c,
1556 displaylist_depths_test5.c, displaylist_depths_test6.c,
1557 displaylist_depths_test7.c, displaylist_depths_test8.c:
1558 Most new Timeline-focused testcases pass now.
1559 PLEASE HELP MAKING MORE !!
1561 2007-05-11 Rob Savoye <rob@ute.welcomehome.org>
1563 * macros/curl.m4, sdl.m4: Drop extraneous results.
1564 * macros/x11.m4: Remove --enable test, remove extraneous results.
1566 2007-05-11 Sandro Santilli <strk@keybit.net>
1568 * server/dlist.h (move_display_object): document the call to
1570 * testsuite/misc-ming.all/displaylist_depths_test7.c: fix missing
1571 failure "expectance" and associated comment.
1572 * testsuite/misc-ming.all/: Makefile.am, displaylist_depths_test8.c:
1573 New case: "Jumping backward to the start of a character's lifetime
1574 after dynamic transformation"
1576 2007-05-11 Sandro Santilli <strk@keybit.net>
1578 * server/dlist.{cpp,h} (swapDepths): abort if target depth
1579 equals depth of source character.
1580 * server/sprite_instance.cpp (sprite_swap_depths): raise
1581 a debugging message and skip any depths swap if target depth
1582 equals depth of source character.
1583 * testsuite/misc-ming.all/: Makefile.am, displaylist_depths_test7.c:
1584 New scenario testing that swapDepth(currentdepth) has no effect.
1586 2007-05-11 Sandro Santilli <strk@keybit.net>
1588 * testsuite/misc-ming.all/displaylist_depths_test6.c:
1589 Jump to frame 5, to avoid a failure and success of
1590 the same test in two different points in time, and *stop* there
1592 * server/dlist.{cpp,h}: drop dangerous swap_characters, add safe,
1593 documented and correct swapDepths. (fixes displaylist_depths_test6).
1594 * server/sprite_instance.{cpp,h}: drop dangerous swap_characters,
1595 add safe and swapDepths proxy to DisplayList's.
1597 2007-05-11 Sandro Santilli <strk@keybit.net>
1599 * testsuite/misc-ming.all/Makefile.am: enabled
1600 displaylist_depths_test6.swf runner
1601 * testsuite/misc-ming.all/displaylist_depths_test6.c:
1602 Some comments cleanup, and an additional expected failure
1603 (slightly unrelated to test focus, I'd say).
1605 2007-05-11 Sandro Santilli <strk@keybit.net>
1607 * server/sprite_instance.h: improved documentation for the
1608 add_display_object() method. I think this is where we're going
1609 to add a TimelineInfo record (see Timeline Control page on the
1612 2007-05-11 Zou Lunkai <zoulunkai@gmail.com>
1614 * testsuite/misc-ming.all/: displaylist_depths_test6.c:
1615 new scenario for Timeline Control
1616 NOTE: Gnash fails this one !!
1618 2007-05-11 Sandro Santilli <strk@keybit.net>
1620 * testsuite/misc-ming.all/: Makefile.am, displaylist_depths_test5.c:
1621 new scenario for Timeline Control (see wiki for more details).
1622 NOTE: Gnash fails this one !!
1624 2007-05-10 Sandro Santilli <strk@keybit.net>
1626 * testsuite/misc-ming.all/: Makefile.am, displaylist_depths_test4.c:
1627 new scenario for Timeline Control (see wiki for more details).
1628 NOTE: Gnash fails this one !!
1630 2007-05-10 Sandro Santilli <strk@keybit.net>
1632 * testsuite/analyse-results.sh: print an header before the actual
1633 results; don't limit depth of search for summary files.
1634 * Makefile.am, add an anal rule to run the test results analyzer.
1635 Run the analyzer at end of 'make check', so the report doesn't
1637 * testsuite/Makefile.am: don't run the analyzer from testsuite/ dir
1638 as it would miss some tests in upper directories.
1640 2007-05-10 Sandro Santilli <strk@keybit.net>
1642 * testsuite/misc-ming.all/: Makefile.am, displaylist_depths_test2.c,
1643 displaylist_depths_test3.c: Cleanup comments for test2 and add
1644 new scenario for Timeline Control (see wiki for more details).
1646 2007-05-10 Sandro Santilli <strk@keybit.net>
1648 * testsuite/misc-ming.all/: Makefile.am,
1649 SpriteButtonEventsTest-Runner.cpp, SpriteButtonEventsTest.c:
1650 Produced a MovieClip versio of the ButtonEventTest.swf movie.
1651 Seems to work fine, test automated.
1653 2007-05-10 Sandro Santilli <strk@keybit.net>
1655 * server/event_id.h, server/vm/action.cpp: add
1656 event_id::is_button_event() method
1657 * server/sprite_instance.{cpp,h}: add isEnabled() method,
1658 (on_event): don't react to button events if not enabled.
1659 * testsuite/misc-ming.all: ButtonEventsTest-Runner.cpp,
1660 ButtonEventsTest.c: add test for Button.enable flag.
1662 2007-05-10 Sandro Santilli <strk@keybit.net>
1664 * testsuite/actionscript.all/MovieClip.as: more and better tests for
1666 * server/sprite_instance.cpp (attachMovieClipInterface): initialize
1667 an 'enabled' property in MovieClip.prototype (fixes old and new
1668 tests for it in MovieClip.as);
1670 2007-05-10 Sandro Santilli <strk@keybit.net>
1672 * testsuite/misc-ming.all/displaylist_depths_test2.c: target
1673 SWF7, use getInstanceAtDepth() to verify Gnash succeeds the
1674 test, despite the fact it's "soft references" implementation
1675 is bogus (thanks to zou for the tip!). We might still want a
1676 MovieTester based runner to check for rendering in any case,
1678 * server/sprite_instance.{cpp,h}: Implemented
1679 MovieClip.getInstanceAtDepth() and MovieClip.getSWFVersion();
1680 stubbed MovieClip.getTextSnapshot().
1681 * testsuite/actionscript.all/MovieClip.as: tested
1682 MovieClip.getSWFVersion() and MovieClip.getInstanceAtDepth().
1684 2007-05-10 Sandro Santilli <strk@keybit.net>
1686 * server/as_value.{cpp,h}: encoding of movieclip values
1687 by target path made optional, to help future attempts
1688 at changing it, due to conceptual bug found in it running
1689 the displaylist_depths_test2.swf testcase. The default is
1690 no change. Undefine MOVIECLIP_AS_SOFTREF to keep them by
1691 pointer (still fails some testcases so not enabled).
1693 2007-05-10 Martin Guy <martinwguy@yahoo.it>
1695 * configure.ac: Don't warn about ffmpeg/mad absence during tests;
1696 they are checked and nogoed at the end.
1697 * configure.ac: Don't report SDL FLAGS and help message twice.
1698 * macros/ffmpeg.m4: Avoid spurious syntax errors when avcodec not found
1700 2007-05-09 Sandro Santilli <strk@keybit.net>
1702 * testsuite/misc-ming.all/: Makefile.am, displaylist_depths_test2.c:
1703 New test showing the effects of a swapDepth moving a static
1704 instance to the dynamic zone when jumping back to a frame in which
1705 the char is supposed to be at it's original depth.
1706 Incredibly, Gnash passes all tests, except a couple which are due
1707 to the way we implemented "soft references" and that makes it
1708 hard to test for actual existance of the old instance.
1710 2007-05-09 Udo Giacomozzi <udo.gnu@nova-sys.net>
1712 * testsuite/misc-ming.all/DrawingApiTestRunner.cpp: fix ambiguous
1715 2007-05-09 Sandro Santilli <strk@keybit.net>
1717 * testsuite/actionscript.all/Makefile.am: don't build the
1718 alltests-v#-Runners on make check. We dont' use them currently.
1719 * testsuite/misc-ming.all/: Makefile.am, .cvsignore:
1720 Enabled static_vs_dynamic testcases.
1721 * testsuite/misc-ming.all/static_vs_dynamic1.c: Don't expect a failure
1722 as we're not failing :)
1724 2007-05-09 Sandro Santilli <strk@keybit.net>
1726 * extensions/fileio/fileio.{cpp,h}: don't forget to setup
1727 the FileIO exported interface; Fix some const-correctness
1728 for the class methods; have seek() return the correct value;
1729 cast arguments to the expected type. Needs more love, but
1730 I won't give it *now* :)
1731 * configure.ac: drop unneeded LTVERSION_VERSION macro call.
1732 * gui/: fltk.cpp, gtk.cpp, sdl.cpp:
1733 Check if createRenderHandler of the glue returns
1734 NULL, and return false in that case.
1736 2007-05-09 Sandro Santilli <strk@keybit.net>
1738 * testsuite/MovieTester.cpp (initTestingRenderers): try initializing
1739 an AGG renderer for *each* known pixel format.
1740 * backend/render_handler_agg.{cpp,h} (create_render_handler_agg):
1741 Take pixelformat by *const* pointer, do NOT abort when the given
1742 pixelformat is unsupported, just return NULL.
1743 * testsuite/misc-ming.all/action_execution_order_test8.c:
1744 Added description as reported on bug #19727.
1745 * testsuite/misc-ming.all/static_vs_dynamic2.c:
1746 Moved description of the test on top.
1747 * gui/Makefile.am: fixed typo preventing 'dist' to work.
1748 * testsuite/misc-ming.all/action_execution_order_test8.c:
1749 Fixed access to uninitialized memory (segfault).
1751 2007-05-09 Andrew Guertin <bugzilla@dolphinling.net>
1753 * macros/ming.m4: cleaner fix for #19826 (don't redirect
1756 2007-05-09 Sandro Santilli <strk@keybit.net>
1758 * macros/ming.m4: redirect stderr to /dev/null when using
1759 passing the beta version to printf (would complain if
1760 the version has no beta component). Closes bug #19826.
1762 2007-05-09 Zou Lunkai <zoulunkai@gmail.com>
1764 * testsuite/misc-ming.all/static_vs_dynamic1.c, static_vs_dynamic2.c:
1765 test what we discussed yestoday.
1767 2007-05-08 Sandro Santilli <strk@keybit.net>
1769 * testsuite/misc-ming.all/DrawingApiTestRunner.cpp: tolerate
1770 a 1-pixel Y drift for the harilined black line, as introduced
1771 by latest "pixel hinting" "fix" in AGG (see bug #19775);
1772 Also, changed checked point for the diagonal violet line for
1773 the same reason. See bug #19828 for more info.
1774 * extensions/dejagnu/Makefile.am, extensions/gtk2/Makefile.am,
1775 extensions/mysql/Makefile.am: remove other direct references
1776 to convenience libraries.
1777 * testsuite/Makefile.am, testsuite/server/Makefile.am:
1778 Do not explicitly link convenience libraries under the server/
1779 dir. Fixes bug #19821.
1780 * libbase/extension.cpp: print plugins path.
1781 * extensions/fileio/Makefile.am: export GNASH_PLUGINS to the buil tree
1782 when running the test program.
1783 * testsuite/generic-testrunner.sh: export any GNASH variable in the
1784 environment, so to allow generic test runners to specify a plugin
1785 dir, and eventually a GNASHRC file (when we add support for it).
1786 * Makefile.am (dumpconfig): add info about which extensions are being
1787 built (if not null extensions are scanned, would be better to
1788 just report wheter extensions are buil or not instead..)
1789 * configure.ac: define USE_EXTENSIONS if build of any extension is
1792 2007-05-08 Udo Giacomozzi <udo.gnu@nova-sys.net>
1794 * backend/render_handler_agg.cpp: Fix vector alignment ("pixel
1795 hinting"). Fixes bug #19775.
1797 2007-05-08 Sandro Santilli <strk@keybit.net>
1799 * libbase/LoadThread.h: threading enabled by default.
1800 * macros/ffmpeg.m4: set LIBS and CFLAGS to the detected or provided
1801 values for the macro lifetime, so to more easily find any dependent
1802 lib in custom dirs; do not discard user-provided libdir; be more
1803 verbose about version checking.
1804 * server/asobj/NetStream.cpp (fix members initialization order).
1805 * server/asobj/NetStreamGst.{cpp,h}: Make start thread
1806 use a compile-time option. Defaults to true for now,
1807 but worth disabling for better testing (btw: why do
1808 we need a "start" thread and a "continue" thread?)
1810 2007-05-07 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1812 * libbase/FLVParser.cpp: When seeking to 0 just go to
1814 * server/asobj/NetStream.{h,cpp}: Moved setBufferTime() to
1815 the base class, implemented bufferTime().
1816 * server/asobj/NetStreamFfmpeg.{cpp,h}: Moved setBufferTime()
1818 * server/asobj/NetStreamGst.{cpp,h}: Moved setBufferTime() to
1819 the base class. tried to improve seeking by using an offset
1820 to avoid telling gstreamer about the seek.
1822 2007-05-07 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1824 * server/asobj/NetStream{Ffmpeg,Gst}.cpp: After playback stops,
1825 make it possible to restart video by seeking to 0 and setting
1828 2007-05-07 Martin Guy <martinwguy@yahoo.it>
1830 * backend/sound_handler.h: Fix commentary about RAW and UNCOMPRESSED
1832 * configure.ac: Make absence of ffmpeg or libmad libraries a fatal error
1833 when they are selected, instead of quietly turning media handling off.
1834 * configure.ac: Fix names of Debian packages required for ffmpeg.
1835 * configure.ac: Fix logic of missing ffmpeg library reporting code.
1837 2007-05-07 Sandro Santilli <strk@keybit.net>
1839 * server/asobj/NetConnection.cpp (openConnect): print FLV url before
1840 setting loader stream so that it's visible before full download in
1841 case threading is disabled.
1842 * libbase/log.h: fully qualify __Host_Function_Report__ so
1843 GNASH_REPORT_FUNCTION can be used by classes outside of 'gnash'
1845 * libbase/curl_adapter.cpp (fill_cache): avoid aggressive polling by
1846 taking naps between iterations. "Smart" sleep times are taken
1847 in consideration so we can tweak them.
1849 2007-05-07 Sandro Santilli <strk@keybit.net>
1851 * libbase/LoadThread.{cpp,h}: Make thread usage a compile-time
1852 configuration. Temporarely defaults to NOT using thread till
1853 we fix bug #19811 and general CPU hogs during loading.
1855 2007-05-07 Markus Gothe <nietzsche@lysator.liu.se>
1857 * configure.ac, gui/aqua*: Added aqua/carbon-stubs.
1859 2007-05-06 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1861 * libbase/LoadThread.cpp: Delete the thread after use so we don't
1862 try to join it again. Fixes bug #19811.
1863 * server/asobj/NetStreamGst.cpp: Fixed pausing and play, bug #19797.
1865 2007-05-06 Tomas Groth Christensen <tomasgroth@yahoo.dk>
1867 * server/sprite_instance.cpp: Stop all sounds when restarting
1868 a movie, fixes bug #19568.
1869 * server/asobj/NetStreamFfmpeg.cpp: Fixed return time.
1870 * server/asobj/NetStreamFfmpeg.h: Added a comment.
1871 * server/asobj/NetStreamGst.cpp: Moved gst-init to the
1872 contructor, fixes bug #19795. Only create audio/video elements
1875 2007-05-04 Sandro Santilli <strk@keybit.net>
1877 * testsuite/samples/clip_as_button2-TestRunner.cpp: add pixel
1879 * testsuite/actionscript.all/NetConnection.as: unexpected success..
1881 2007-05-04 Sandro Santilli <strk@keybit.net>
1883 * libbase/FLVParser.h (FLVVideoFrame): add isKeyFrame() method;
1884 use typedefs for video and audio frame containers.
1885 * libbase/FLVParser.cpp: use isKeyFrame(), easier to read.
1887 2007-05-04 Sandro Santilli <strk@keybit.net>
1889 * libbase/FLVParser.cpp (seekAudio, seekVideo): fixed seeking and
1890 hopefully made a bit more readable. The computed values are
1891 now printed for further debugging. They seem correct to me, but
1892 it seems they are not correctly used.
1893 * server/asobj/: NetStream.{cpp,h}, NetStreamFfmpeg.{cpp,h},
1894 NetStreamGst.{cpp,h}: change play() method to take a std::string
1895 ref instead of a char*; always pass environment when casting args
1896 to numbers or strings.
1898 2007-05-04 Sandro Santilli <strk@keybit.net>
1900 * server/asobj/NetStream.cpp: stubbed missing methods and
1902 * libbase/tu_file.cpp (std_get_stream_size_func): use fstat to
1903 get stream size. (other funx for filesystem access): add some assertions
1904 to prevent seeking past the end of the stream.
1905 * libbase/LoadThread.cpp (read): don't seek past the end of the
1906 stream. Add a few assertions checking that _loadPosition is
1907 never > then _streamSize.
1909 2007-05-04 Markus Gothe <nietzsche@lysator.liu.se>
1911 * gui/aqua.cpp: Initial creation.
1913 2007-05-04 Markus Gothe <nietzsche@lysator.liu.se>
1915 * macros/boost.m4: Fixed a bug in GNASH_BOOST_PATH.
1916 * server/asobj/SoundFfmpeg.h: Build on OS X.
1917 * backend/sound_handler_sdl.h: Build on OS X.
1919 2007-05-03 Sandro Santilli <strk@keybit.net>
1921 * server/asobj/NetConnection.{cpp,h}: change openConnection interface
1922 to take url by ref (not by pointer) and nothing else (drop owner
1923 arg). Stubbed documentation of the method (needs more info).
1924 * server/asobj/: NetStreamFfmpeg.cpp, NetStreamGst.cpp, Sound.cpp,
1925 SoundFfmpeg.cpp, SoundGst.cpp, SoundMad.cpp:
1926 Updated calls to openConnection.
1928 2007-05-03 Sandro Santilli <strk@keybit.net>
1930 * server/asobj/NetConnection.{cpp,h}: keep _loader by auto_ptr, some
1931 comments and interfaces cleanup.
1932 * server/asobj/: NetStreamFfmpeg.cpp, NetStreamGst.cpp: update calls
1933 to connectParser(), now taking by ref.
1935 2007-05-03 Sandro Santilli <strk@keybit.net>
1937 * server/asobj/NetConnection.{cpp,h}: Yay, another ActionScript class
1938 layout version. As a side effect stubbed missing properties and
1939 methods of the class + cleanups in the connect() method.
1941 2007-05-03 Sandro Santilli <strk@keybit.net>
1943 * configure.ac: rewording of ffmpeg warnings. Shows a bug in ffmpeg.m4
1944 failing to detect version and thus failing to accept it when
1945 passed explicit --with-ffmpeg-incl and --with-ffmpeg-lib.
1946 * server/asobj/: NetStream.{cpp,h},
1947 NetStreamFfmpeg.cpp, NetStreamGst.cpp:
1948 Use an enum for status codes, avoid notifying multiple
1949 times the same status.
1951 2007-05-03 Sandro Santilli <strk@keybit.net>
1953 * gui/gui.cpp: Add RENDER_ONE_FRAME_EVERY macro to skip
1954 rendering of a given fraction of movie frames (for debugging).
1955 * server/video_stream_instance.cpp (display): call
1956 clear_invalidated().
1958 2007-05-03 Udo Giacomozzi <udo.gnu@nova-sys.net>
1960 * server/video_stream_instance.cpp: implemented proper
1961 add_invalidated_bounds()
1963 2007-05-03 Sandro Santilli <strk@keybit.net>
1965 * server/asobj/Makefile.am, server/parser/Makefile.am,
1966 server/vm/Makefile.am: -release makes no sense for
1967 convenience libraries.
1968 * testsuite/misc-ming.all/DrawingApiTest.as: reintroduced
1969 visual hitTest checks (not automated yet). This time
1970 they don't break the exising test.
1971 * testsuite/MovieTester.{cpp,h}: add redraw() method,
1972 by default only force a redraw on *first* advance.
1974 2007-05-03 Markus Gothe <nietzsche@lysator.liu.se>
1976 * backend/render_handler_ogl.cpp: Make it work with __APPLE_CC__.
1978 2007-05-03 Sandro Santilli <strk@keybit.net>
1980 * server/sprite_instance.cpp (add_empty_movieclip):
1981 call set_invalidated as the newly added character might
1982 replace a previously existing one. See bug #19683.
1983 * server/video_stream_instance.{cpp,h},
1984 server/parser/video_stream_def.{cpp,h}:
1985 Encode ownership of embedded videodecoder by using std::auto_ptr,
1987 * server/asobj/NetConnection.cpp (getBytesTotal): return total bytes,
1988 not "loaded" bytes... - fixes YouTube buffering bar.
1990 2007-05-03 Udo Giacomozzi <udo.gnu@nova-sys.net>
1992 * backend/render_handler_agg.cpp: by default use world invalidated
1994 * server/character.cpp: negative scaling values are legal (related to
1995 bug #18874, but not fixing it)
1996 * backend/render_handler_agg.cpp: use absolute scaling values when
1997 calculating stroke width, fixes 18874
1999 2007-05-03 Andrew Guertin <bugzilla@dolphinling.net>
2001 * backend/: sound_handler.h, sound_handler_gst.cpp,
2002 sound_handler_sdl.cpp: Makes Nellymoser not an "unknown" format in
2003 the error message, just unsupported, Makes GST's unknown format
2004 error message better (copied SDL's), Adds an assertion that
2005 ADPCM and UNCOMPRESSED should never be passed to the sound
2006 handler, Adds a comment to sound_handler.h
2008 2007-05-02 Sandro Santilli <strk@keybit.net>
2010 * testsuite/Makefile.am: explicitly list other gnash libs.
2011 * testsuite/libgeometry/Range2dTest.cpp: tolerate some floating
2014 2007-05-02 Markus Gothe <nietzsche@lysator.liu.se>
2016 * libbase/Makefile.am: Get sure we link against gettext if found.
2018 2007-05-02 Rob Savoye <rob@bertha.welcomehome.org>
2020 * po/Makefile.am: We don't need $(srcdir) since we're specifing
2022 * server/asobj/Makefile.am: Make libgnashasobjs a a convienience
2024 * server/parser/Makefile.am: Make libgnashparser a a convienience
2026 * server/vm/Makefile.am: Make libgnashvm a a convienience
2028 * utilities/Makefile.am: Don't link in all the other libraries.
2029 * gui/Makefile.am: Don't link in all the other libraries.
2031 * libbase/curl_adapter.cpp: Don't redefine snprintf() for win32.
2032 * libbase/noseek_fd_adapter.cpp: Don't redefine snprintf() for
2034 * libbase/log.h: Include io.h for win32.
2035 * libbase/network.cpp: Use inet_ntoa() instead of the newer
2036 inet_ntop(). Include ws2tcpip.h for win32.
2037 * libbase/tu_timer.cpp: Use lowercase mmsystem.h.
2038 * libbase/tu_types.h: Don't use __FUNCDNAME__ to redefine
2039 __PRETTY_FUNCTION__for all win32 builds.
2040 * macros/boost.m4: Remove extraneous boost directory when
2041 searching for header files.
2043 2007-05-02 Sandro Santilli <strk@keybit.net>
2045 * libbase/curl_adapter.cpp (fill_cache): stop uselessly calling
2046 fstat(); don't call curl_multi_perform if not needed.
2047 * libbase/log.cpp: call the logfile singletone getter only once.
2048 * libbase/image.{cpp,h}: move documentation of the update() method
2049 from cpp to h file. This is the most time-expensive routine in
2050 libgnashbase when playing youtube.
2051 * libbase/LoadThread.{cpp,h}: isPositionConfirmed inlined and
2054 2007-05-02 Martin Guy <martinwguy@yahoo.it>
2056 * libbase/tu_config.h,libbase/jpeg.cpp,server/swf/tag_loaders.cpp,
2057 compatibility_include.h: Having jpeglib is compulsory, so
2058 remove TU_CONFIG_LINK_TO_JPEGLIB
2059 * Revert attempt to use endian.hpp. It broke someone's build. QED.
2060 * gui/fb.cpp: Fix compiler warnings
2061 * libbase/tu_config.h,server/swf/tag_loaders.cpp: Allow compilation
2062 without zlib, auto-switching TU_CONFIG_LINK_TO_ZLIB on HAVE_ZLIB_H
2063 (works with renderer=agg/opengl, gui=fb/sdl, media=gst/mad/none;
2064 gtk/kde, cairo, ffmpeg require zlib in their own right)
2065 * configure.ac: Reformat messages
2066 * libbase/tu_config.h,libbase/zlib_adapter.{cpp,h},server/tools.cpp,
2067 server/{impl.cpp,parser/movie_def_impl.cpp,swf/tag_loaders.cpp},
2068 compatibility_include.h: eliminate TU_CONFIG_LINK_TO_ZLIB;
2069 use HAVE_ZLIB_H directly.
2070 * configure.ac: Suggest packages to install when zlib-dev is missing
2071 * configure.ac,macros/ffmpeg.m4: Fix quotation in ffmpeg detection and
2072 skip version checking to avoid syntax errors during "configure"
2073 if the library is not found.
2074 * server/asobj/SoundMad.cpp: Fix compiler warnings.
2075 * gui/sdl.cpp: Regularize bizarre indentation
2076 * gui/sdl.cpp: A closer hack at making movies run at correct speed.
2077 Before: always at 100 frames per second + cpu time.
2078 After: Still not perfect: in non-interactive movie, visuals are a
2079 fraction of a second ahead of MP3 soundtrack.
2081 2007-05-02 Sandro Santilli <strk@keybit.net>
2083 * backend/sound_handler_gst.cpp, gui/Player.cpp, libamf/amf.cpp,
2084 libbase/log.h, server/as_function.cpp, server/swf/tag_loaders.cpp,
2085 server/button_character_instance.cpp, server/character.cpp,
2086 server/sprite_instance.cpp, server/asobj/NetStreamGst.cpp:
2087 Drop log_warning, till we find a semantic for it.
2089 2007-05-02 Sandro Santilli <strk@keybit.net>
2091 * server/sprite_instance.cpp (sprite_getBounds): remove TESTING
2092 warning, I'm pretty confident about this function now.
2094 2007-05-01 Rob Savoye <rob@bertha.welcomehome.org>
2096 * libamf/Makefile.am: Add BOOST_CFLAGS so we can find endian.hpp.
2098 2007-05-01 Sandro Santilli <strk@keybit.net>
2100 * server/asobj/: NetStream.{cpp,h}, NetStreamFfmpeg.{cpp,h},
2101 NetStreamGst.{cpp,h}: move all onStatus handling to base class
2102 and made thread safe.
2104 2007-05-01 Sandro Santilli <strk@keybit.net>
2106 * server/movie_root.h: add getWidth() and getHeight()
2107 * server/asobj/Stage.{cpp,h}: implement Stage.width and
2109 * testsuite/actionscript.all/Stage.as: small test for
2110 Stage.width and Stage.height (not automated)
2112 2007-04-30 Sandro Santilli <strk@keybit.net>
2114 * testsuite/swfdec/swfdec_gnash_tester: allow 11 loop-backs.
2115 * testsuite/swfdec/PASSING: function1.swf now succeeds.
2117 2007-04-30 Sandro Santilli <strk@keybit.net>
2119 * testsuite/libamf.all/Makefile.am: proper clean rule.
2120 * testsuite/misc-ming.all/Makefile.am: proper clean rule.
2121 * doc/C/Makefile.am: distribute actionscript.xml and related
2124 2007-04-30 Martin Guy <martinwguy@yahoo.it>
2126 * backend/sound_handler_sdl.cpp: Fix volume scaling in 8->16 bit
2127 raw data conversion (closes bug #19747)
2128 and convert cascaded ifs to a case.
2130 2007-04-30 Sandro Santilli <strk@keybit.net>
2132 * Makefile.am: don't put 'po' in EXTRA_DIST, as it's already
2134 * server/StringPredicates.h: include cctype.
2135 See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417210.
2136 * po/Makefile.am: don't update the .po files on every .gmo
2137 production. Produce the .gmo in the build tree, not in the
2140 2007-04-30 Martin Guy <martinwguy@yahoo.it>
2142 * libbase/tu_types.{h,cpp}, server/swf/tag_loaders.cpp:
2143 Eliminate remnants of _TU_LITTLE_ENDIAN_
2144 * configure.ac: Drop now-redundant endian header detection
2145 * libamf/amf.{h,cpp}: swapBytes is now file-local and uses libboost
2147 2007-04-30 Sandro Santilli <strk@keybit.net>
2149 * autogen.sh: only process configure.ac in root dir and under libltdl,
2150 running a find annoingly descends in just generated dist dirs.
2151 * testsuite/samples/Makefile.am: distribute gotoFrameOnKeyEvent.swf.
2152 * testsuite/actionscript.all/array.as: add test for deleting an
2153 array element, and for array indexes being proper properties
2155 * configure.ac: if ffmpeg version doesn't match the required one
2156 set media handling to none.
2157 * testsuite/misc-ming.all/action_execution_order_test8.c: add
2158 more output trying to understand the problem better.
2159 * server/parser/shape_character_def.cpp (compute_bounds): harline
2160 strokes don't add anything to the bounds (no need to expand to
2161 circle, same as for hidden strokes).
2162 * testsuite/misc-ming.all/Makefile.am:
2163 Activated action_execution_order_test{7,8}.
2165 2007-04-30 Zou Lunkai <zoulunkai@gmail.com>
2167 * testsuite/misc-ming.all/action_execution_order_test7.c:
2168 a simple and normal one that we should pass.
2169 * testsuite/misc-ming.all/action_execution_order_test8.c:
2170 another one for execution order.
2172 2007-04-29 Sandro Santilli <strk@keybit.net>
2174 * testsuite/misc-ming.all/: Makefile.am, DrawingApiTest.as: add
2175 tests for hitTest (not automatically run, but works fine so far).
2176 * server/button_character_instance.{cpp,h}: implement pointInShape().
2178 2007-04-28 Sandro Santilli <strk@keybit.net>
2180 * server/vm/ASHandlers.cpp (ActionWith): skip with() blocks
2181 given a parameter not casting to an object.
2182 * testsuite/actionscript.all/with.as:
2183 Add tests explaining why the tests in previous
2184 commit are failing in SWF5 version.
2186 2007-04-28 Zou Lunkai <zoulunkai@gmail.com>
2188 * testsuite/actionscript.all/with.as:
2191 2007-04-28 Sandro Santilli <strk@keybit.net>
2193 * server/as_environment.{cpp,h}: stop descending
2194 the CallStack looking into the callers locals!
2195 * testsuite/actionscript.all/Function.as: success
2196 with SWF5 and (missing) scope chain.
2198 2007-04-27 Rob Savoye <rob@pawnee.welcomehome.org>
2200 * gui/fltk.cpp: Cast the key::code so it compiles on Darwin.
2201 * macros/agg.m4: Don't inherit the -rpath setting fropm
2202 pkg-config, it screws up the linux on Darwin.
2203 * macros/incllist, libslist: Look in $with_top_level for support
2204 packages no in the $prefix path.
2205 * macros/pthreads.m4: Add -mthreads for mingw32.
2206 * macros/x11.m4: If X11 is found, also add libSM and libICE if
2207 they are found to resolve dependencies on Darwin.
2208 * server/Makefile.am: Remove -no-undefined as it cause dependency
2210 * server/vm/Makefile.am: Remove -no-undefined as it causes
2211 inter-library dependency problems on Darwin.
2212 * server/parser/Makefile.am: Remove -no-undefined as it causes
2213 inter-library dependency problems on Darwin.
2214 * server/asobjsMakefile.am: Remove -no-undefined as it causes
2215 inter-library dependency problems on Darwin. Add libgeo to the
2217 * server/vm/VM.cpp: Don't use the gnash:: namespace with setting
2218 the global singleton, it won't compile on Darwin.
2220 2007-04-27 Sandro Santilli <strk@keybit.net>
2222 * server/swf/PlaceObject2Tag.cpp (readPlaceActions): fix check for
2223 all reserved bits being zero (removed an annoying false malformed
2225 * gui/gtk.cpp: comment out function tracing for key and mouse events.
2227 2007-04-27 Martin Guy <martinwguy@yahoo.it>
2229 * configure.ac: Add verbose text for missing gstreamer-dev help
2231 2007-04-27 Sandro Santilli <strk@keybit.net>
2233 * testsuite/misc-mtasc.all/README: some info about the MTASC
2235 * testsuite/actionscript.all/Global.as: check that _global._global
2237 * testsuite/actionscript.all/Function.as: add another test for
2238 nested functions and scope chain.
2240 2007-04-27 Sandro Santilli <strk@keybit.net>
2242 * server/as_environment.{cpp,h}: changed the ScopeChain
2243 typedef to be just a vector of as_objects.
2244 * server/swf_function.{cpp,h}: take a vector of as_objects
2245 as ScopeChain, rather then with_entry vector...
2246 * server/vm/ActionExec.{cpp,h}: only expose the ScopeChain,
2247 not the 'with' stack. When constructed for a function, push
2248 the function's activation object to the ScopeChain.
2249 * server/vm/ASHandlers.cpp: update calls to ActionExec and
2250 swf_function when it comes to setting the ScopeChain.
2251 * testsuite/actionscript.all/Function.as: the scope chain test kai
2253 * testsuite/swfdec/PASSING: function-scope-6.swf and function-scope-7.swf
2256 2007-04-27 Sandro Santilli <strk@keybit.net>
2258 * libgeometry/snappingrange.h: add contains(SnappingRange2d) method;
2259 fixed contains(Range2d) to take a const ref rather then a value.
2260 * testsuite/libgeometry/snappingrangetest.cpp: add tests for
2261 contains(SnappingRange2d).
2262 * testsuite/misc-ming.all/DrawingApiTestRunner.cpp: add test for
2263 renderer and invalidated bounds.
2265 2007-04-27 Sandro Santilli <strk@keybit.net>
2267 * gui/gui.cpp: add a DEBUG_MOUSE_COORDINATES define, for making
2268 writing test runners easier.
2269 * testsuite/swfdec/swfdec_gnash_tester: use the .trace.org files when
2270 avaiable, as in that case it means that the .trace are just swfdec
2271 results (Ben is cheating !)
2272 * testsuite/swfdec/PASSING: double.swf fails again.
2274 2007-04-27 Sandro Santilli <strk@keybit.net>
2276 * server/as_value.{cpp,h}: add a static doubleToString(double) function
2277 moved here from a static in Number.cpp, given its good quality.
2278 * server/asobj/Number.cpp: use as_value::doubleToString() for
2279 returning text value. Drop the string representation cache, no
2281 * testsuite/swfdec/PASSING: double.swf now succeeds
2283 2007-04-27 Sandro Santilli <strk@keybit.net>
2285 * libbase/triangulate_impl.h: include config.h.
2286 * libbase/network.{cpp,h}: (writeNet): take a const string ref, not a
2288 * cygnal/: http.cpp, netstats.cpp, statistics.cpp, stream.cpp:
2291 2007-04-27 Zou Lunkai <zoulunkai@gmail.com>
2293 * server/asobj/Key.{cpp,h}:
2294 cleanups; don't invoke user defined onKeyPress(), it's just a
2296 * server/movie_root.cpp.h, server/sprite_instance.cpp:
2297 cleanups and add some comments. don't set m_has_key_event when there
2298 is a user defined onKeyPress() function.
2299 * testsuite/misc-ming.all/key_event_testrunner.cpp:
2302 2007-04-26 Rob Savoye <rob@ute.welcomehome.org>
2304 * Makefile.am: Add po to EXTRA_DIST.
2305 * configure.ac: Set a conditional for gettext. Build po/Makefile
2307 * libbase/Makefile.am: Build all libraries with a release number,
2308 and add --export-dynamic and -no-undefined. Add gettext.h.
2309 * backend/Makefile.am: Build all libraries with a release number,
2310 and add --export-dynamic and -no-undefined.
2311 * server/Makefile.am: Build all libraries with a release number,
2312 and add --export-dynamic and -no-undefined.
2313 * libgeometry/Makefile.am: Build all libraries with a release
2314 number, and add --export-dynamic and -no-undefined.
2315 * server/vm/Makefile.am: Build all libraries with a release
2316 number, and add --export-dynamic and -no-undefined.
2317 * server/parser/Makefile.am: Build all libraries with a release
2318 number, and add --export-dynamic and -no-undefined.
2319 * server/asobjs/Makefile.am: Build all libraries with a release
2320 number, and add --export-dynamic and -no-undefined.
2321 * extensions/dejagnu/dejagnu.cpp: Use instrusive pointers instead
2322 of hard pointers for handlers.
2323 * extensions/fileio/fileio.cpp: Use instrusive pointers instead
2324 of hard pointers for handlers.
2325 * extensions/mysql/mysql_db.cpp: Use instrusive pointers instead
2326 of hard pointers for handlers.
2327 * extensions/gtk2/gtkext.cpp: Use instrusive pointers instead
2328 of hard pointers for handlers.
2330 2007-04-26 Sandro Santilli <strk@keybit.net>
2332 * testsuite/actionscript.all/Function.as: add a test
2333 showing an incompatibility of flash with ECMA262 when
2334 it comes to the 'arguments' object in functions activation
2337 2007-04-26 Sandro Santilli <strk@keybit.net>
2339 * server/as_value.cpp (equals): compare m_object_value when both
2340 operatns are either functions or objects.
2341 * server/as_environment.{cpp,h} (get_variable, get_variable_raw,
2342 findLocal): accept an additional argument to return the target
2343 object the variable was found in.
2344 * server/vm/ActionExec.{cpp,h}: provide an additional getVariable
2345 method accepting an as_object pointer to return the target object
2346 a variable was found in.
2347 * server/vm/ASHandlers.cpp (ActionCallFunction): set the 'this'
2348 pointer to the object found to contain the function.
2349 * testsuite/actionscript.all/Function.as: more successes.
2351 2007-04-26 Sandro Santilli <strk@keybit.net>
2353 * server/as_environment.cpp (get_variable_raw): elements of
2354 the 'with' stack take precedence over locals.
2355 See test in Function.as.
2356 * testsuite/actionscript.all/Function.as: add test for 'with'
2357 stack taking precedence over locals when getting variables.
2359 2007-04-26 Sandro Santilli <strk@keybit.net>
2361 * testsuite/actionscript.all/Function.as: test for 'this' in
2363 * server/as_environment.{cpp,h}: refactor local variables
2364 so they are stored into a proper object. Will help introducing
2365 a VariableRef class that associates a Property to an as_object.
2367 2007-04-26 Sandro Santilli <strk@keybit.net>
2369 * server/as_environment.h, server/movie_root.h,
2370 server/sprite_instance.h, server/vm/action.cpp:
2371 Remove some unused code, remove Id tags from headers.
2373 2007-04-26 Sandro Santilli <strk@keybit.net>
2375 * testsuite/misc-ming.all/key_event_testrunner.cpp: no more
2376 failures expected (thanks kai).
2377 * server/as_value.cpp (to_primitive): fix missing return
2378 from non-void function.
2380 2007-04-26 Zou Lunkai <zoulunkai@gmail.com>
2382 * server/asobj/Key.h
2383 change "Event_id.h" to "event_id.h"
2385 forgot to commit it in last commit
2387 2007-04-26 Zou Lunkai <zoulunkai@gmail.com>
2389 * server/vm/action.cpp:
2390 add is_key_event() method
2391 * server/asobj/Key.{h, cpp}:
2392 change notify_listeners() to public; set_key_down() and set_key_up()
2393 don't trigger event handler now.
2394 * server/button_character_instance.cpp:
2395 * server/edit_text_character.cpp:
2396 replace *_keypress_listener() to *_key_listener()
2397 * server/character.{h, cpp},server/movie_root.{h, cpp}
2398 trigger onClipKeyUp and onClipKeyDown event handlers
2399 * server/sprite_instance.{h, cpp}
2400 bypass user defined key events in on_event(), let the global key object
2401 take over user defined key events.
2402 * testsuite/misc-ming.all/key_event_testrunner.cpp
2405 2007-04-26 Sandro Santilli <strk@keybit.net>
2407 * server/as_value.{cpp,h}: to_primitive() made private, and had
2408 calling any user-defined valueOf for objects; (equals): only
2409 return false when to_primitive() returns the same type we were
2411 * testsuite/actionscript.all/Function.as: two more successes.
2413 2007-04-26 Sandro Santilli <strk@keybit.net>
2415 * server/as_value.cpp (equals): don't abort on object==movieclip !
2416 * testsuite/actionscript.all/Function.as: add more tests 'this'
2417 reference in 'with' and 'function' scope (see bug #19704).
2419 2007-04-26 Sandro Santilli <strk@keybit.net>
2421 * server/array.h, server/as_environment.cpp, server/as_function.h,
2422 server/as_object.cpp, server/as_object.h, server/character.cpp,
2423 server/character.h, server/edit_text_character.cpp,
2424 server/edit_text_character.h, server/asobj/Boolean.cpp,
2425 server/asobj/Color.cpp, server/asobj/ContextMenu.cpp,
2426 server/asobj/CustomActions.cpp, server/asobj/Error.cpp,
2427 server/asobj/LoadVars.cpp, server/asobj/Microphone.cpp,
2428 server/asobj/Mouse.cpp, server/asobj/Number.cpp,
2429 server/asobj/Selection.cpp, server/asobj/SharedObject.cpp,
2430 server/asobj/Stage.h, server/asobj/TextSnapshot.cpp,
2431 server/asobj/Video.cpp, server/asobj/gen-asclass.pl,
2432 server/asobj/gen-asclass.sh, server/asobj/string.cpp,
2433 testsuite/server/GetterSetterTest.cpp:
2434 Changed get_text_value interface to return by std::string
2435 value. Closes bug #19695.
2437 2007-04-25 John Gilmore <gnu@toad.com>
2439 * README, README_CVS: Improve configuration instructions.
2440 More work is needed to make it match the code.
2441 * po/.cvsignore: Ignore all generated .gmo files.
2443 2007-04-25 Sandro Santilli <strk@keybit.net>
2445 * README_CVS: some info for CVS users.
2446 * doc/C/asspec/date.xml: fixed typos preventing the asspec
2448 * doc/C/asspec/movieclip.xml: add docs and conformancy for
2451 2007-04-25 Martin Guy <martinwguy@yahoo.it>
2453 * ChangeLog,server/debugger.{cpp,h},server/vm/ActionExec.cpp:
2454 spello dissasemble -> disassemble
2455 * macros/lib-ld.m4(removed),macros/lib-link.m4:
2456 remove repeated test for GNU ld (libtool does this).
2458 * libamf/amf.cpp,libbase/tu_swap.h,server/parser/action_buffer.cpp,
2459 server/swf/tag_loaders.cpp:
2460 Replace compile-time endianness checking with runtime because
2461 it costs almost nothing and reduces maintenance forever.
2462 As a side-effect, also now handles architectures with
2463 middle-endian IEEE754 doubles and detects non-IEEE arches.
2464 Only the Mozilla devkit stuff now detects endianness
2465 using its own set of built-in rules.
2467 2007-04-24 Sandro Santilli <strk@keybit.net>
2469 * server/sprite_instance.cpp (sprite_hit_test): implement
2470 hitTest() - not all call types tested.
2472 2007-04-24 Sandro Santilli <strk@keybit.net>
2474 * server/sprite_instance.cpp: globalToLocal and localToGlobal
2476 * testsuite/actionscript.all/MovieClip.as: test localToGlobal
2479 2007-04-24 Sandro Santilli <strk@keybit.net>
2481 * server/sprite_instance.cpp: stubbed localToGlobal and setMask
2482 * testsuite/actionscript.all/MovieClip.as: test availability of
2483 localToGlobal and setMask.
2484 * testsuite/misc-ming.all/: Makefile.am, DrawingApiTest.as,
2485 DrawingApiTestRunner.cpp: Prepared a test for invalidated
2486 bounds checking. Gnash clearly fails, but no actual automated
2487 tests added to the test runner yet.
2489 2007-04-24 Sandro Santilli <strk@keybit.net>
2491 * server/vm/ActionExec.{cpp,h}: add delObjectMember() method.
2492 * server/vm/ASHandlers.cpp (ActionDelete): hopefully fixed -
2493 at least as far as we can tell...
2494 * testsuite/actionscript.all/delete.as: more tests for ActionDelete.
2496 2007-04-24 Rob Savoye <rob@ute.welcomehome.org>
2498 * configure.ac: Remove --enable-extension. Add --with-extensions=
2499 that takes a comma delimited list of extension so you can seclect
2500 with ones you want to build.
2501 * Makefile.am: Always add the extensions directory.
2502 * extensions/Makefile.am: Use new conditionals to select builds
2504 * cygnal/cygnal.cpp: Include posix_time.hpp.
2505 * extensions/fileio/fileio.cpp: Use intrusive pointers instead of
2508 2007-04-24 Udo Giacomozzi <udo.gnu@nova-sys.net>
2510 * libgeometry/Range2d.h: added expandToCircle()
2511 * server/rect.h: added expand_to_circle()
2512 * server/parser/shape_character_def.cpp: corrected compute_bound()
2513 to respect outline widths
2514 * testsuite/libgeometry/Range2dTest.cpp: added test for
2517 2007-04-24 Sandro Santilli <strk@keybit.net>
2519 * testsuite/misc-ming.all/: DrawingApiTest.as,
2520 DrawingApiTestRunner.cpp: Add a circle drawing and
2521 test for collision detection of curved fills.
2523 2007-04-24 Sandro Santilli <strk@keybit.net>
2525 * server/shape.{cpp,h} (point_test): only check for the
2526 "interior" of the shape, forget its boundaries.
2527 * testsuite/misc-ming.all/DrawingApiTestRunner.cpp: one
2530 2007-04-24 Sandro Santilli <strk@keybit.net>
2532 * server/shape.{cpp,h}: const-corrected point_test and
2533 wihinSquareDistance();
2534 * server/sprite_instance.cpp (sprite_lineStyle): alpha value is given
2535 in percent, always pass the env to number converters.
2536 * testsuite/misc-ming.all/DrawingApiTest.as: add test checking that
2537 valueOf is invoked on arguments.
2538 * testsuite/misc-ming.all/DrawingApiTestRunner.cpp: more successes.
2540 2007-04-24 Sandro Santilli <strk@keybit.net>
2542 * server/sprite_instance.cpp (on_event): call user-defined function
2543 even if clip-events have been found.
2544 * testsuite/misc-ming.all/action_execution_order_extend_test.c:
2546 * testsuite/swfdec/PASSING: event-order.swf now succeeds.
2547 * testsuite/swfdec/gen_run_swfdec_testsuite.sh: match full lines
2548 in the PASSING file, to avoid partial mathes.
2549 * server/shape.cpp: substitute hash_wrapper with std::map,
2552 2007-04-24 Zou Lunkai <zoulunkai@gmail.com>
2554 * testsuite/misc-ming.all/Makefile.am
2555 activate testcases committed yestoday
2556 * testsuite/misc-ming.all/key_event_test.c
2558 * server/swf/PlaceObject2Tag.{h,cpp}
2559 minor clean up, keep the "all_event_flags" for future use.
2561 2007-04-23 Sandro Santilli <strk@keybit.net>
2563 * server/DynamicShape.{h,cpp} (lineStyle): add a line style even
2564 if it is for specifying a thickness of 0 (hairline);
2565 add a resetLineStyle() function for dropping any style.
2566 * server/sprite_instance.{cpp,h}: add resetLineStyle() for
2568 * server/parser/shape_character_def.cpp (point_test_local):
2569 Use a tolerance of a single twip distance when detecting
2570 collision of hairlined strokes.
2571 * testsuite/misc-ming.all/DrawingApiTest.as: add more comments, and
2573 * testsuite/misc-ming.all/DrawingApiTestRunner.cpp: more tests.
2575 2007-04-23 Sandro Santilli <strk@keybit.net>
2577 * server/shape.{cpp,h}: add path::withinSquareDistance.
2578 * server/types.cpp (point::distance): return 0 for 0 squaredDistance
2580 * server/parser/shape_character_def.cpp (point_test_local):
2581 test for point falling in the shape stroke, taking thickness
2583 * testsuite/misc-ming.all/DrawingApiTestRunner.cpp: more
2586 2007-04-23 Sandro Santilli <strk@keybit.net>
2588 * server/shape.{cpp,h}: add primitive distance functions
2590 * testsuite/server/: Makefile.am, EdgeTest.cpp: add tests
2591 for point-segment distance.
2593 2007-04-23 Sandro Santilli <strk@keybit.net>
2595 * server/: gnash.h, types.cpp: add point::distance() and
2597 * testsuite/server/: Makefile.am, PointTest.cpp: point tests.
2599 2007-04-23 Sandro Santilli <strk@keybit.net>
2601 * server/cxform.{cpp,h}: add output operator and toString method.
2602 * server/DynamicShape.cpp (moveTo): do not reset current
2603 fill style on move. Fixes some of the tests in DrawingApiTest.swf
2605 * testsuite/misc-ming.all/: DrawingApiTestRunner.cpp,
2606 masks_testrunner.cpp: some more successes.
2608 2007-04-23 Sandro Santilli <strk@keybit.net>
2610 * testsuite/misc-ming.all/: DrawingApiTest.as,
2611 DrawingApiTestRunner.cpp: add rendering tests.
2612 Add a drawing in which move() is called after beginFill()
2613 to confirm the fill is not reset after move().
2615 2007-04-23 Sandro Santilli <strk@keybit.net>
2617 * testsuite/misc-ming.all/: Makefile.am, masks_test.c,
2618 masks_testrunner.cpp: Add a MovieTester based test runner
2619 for the masks_test movie. Shows a bug in either the renderer
2620 or in the core preventing rendering of dynamic clips.
2621 * libgeometry/snappingrange.h: add unconditional visitor; add
2622 cast operator; add contains(Range2d); add scale(factor).
2623 * testsuite/MovieTester.{cpp,h}: add a getInvalidatedRanges function;
2624 drop getInvalidatedBounds one.
2625 * testsuite/libgeometry/snappingrangetest.cpp: test contains(Range)
2627 * testsuite/misc-ming.all/simple_loop_testrunner.cpp: update
2628 to use the new getInvalidatedRanges.
2630 2007-04-23 Sandro Santilli <strk@keybit.net>
2632 * libgeometry/snappingrange.h: define the SnappingRanges2d<> in
2633 the gnash::geometry namespace. Keep InvalidatedBounds in the
2634 gnash namespace, for simplicity.
2635 * testsuite/misc-ming.all/simple_loop_testrunner.cpp:
2636 Use contains, not intersects, when testing invalidated bounds.
2638 2007-04-23 Zou Lunkai <zoulunkai@gmail.com>
2640 * testsuite/misc-ming.all/event_handler_scope_test.c
2641 testcase for scope in event handlers
2642 * testsuite/misc-ming.all/key_event_test.c, key_event_testrunner.cpp
2643 testcase for key events
2645 2007-04-21 Sandro Santilli <strk@keybit.net>
2647 * server/: movie_root.{cpp,h}, sprite_instance.{cpp,h},
2648 asobj/LoadVars.cpp: nuke ptr_list use so that boost 1.32
2649 (version in Debian stable) is still usable.
2651 2007-04-21 John Gilmore <gnu@toad.com>
2653 * plugin/plugin.cpp: In the child process, before executing
2654 gnash, close all the file descriptors we inherited from the
2655 browser (except stdout and stderr).
2657 2007-04-20 Sandro Santilli <strk@keybit.net>
2659 * testsuite/MovieTester.{cpp,h}: reworked the
2660 pixel checking interface to not force moving
2661 the pointer (as moving the pointer might trigger
2662 movie events, as was happening with the ButtonEvent
2664 * testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp:
2666 * testsuite/misc-ming.all/attachMovieTestRunner.cpp:
2667 Updated to work with the correct interface.
2669 2007-04-20 Sandro Santilli <strk@keybit.net>
2671 * testsuite/MovieTester.{cpp,h} (advance): advance
2672 first, *then* render. Cache invalidated bound to
2674 * testsuite/misc-ming.all/attachMovieTestRunner.cpp:
2676 * testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp:
2677 Take the covering clip in consideration while testing
2678 the renderer - there are a few xfailed that I'd like
2681 2007-04-20 Udo Giacomozzi <udo.gnu@nova-sys.net>
2683 * backend/render_handler.h (getAveragePixel):
2684 fix computation of max x/y values.
2685 * server/character.h: character are not masks by default
2686 * server/character.h, server/sprite_instance.cpp: when placing
2687 new characters, disable clip_depth (zero is a valid depth)
2689 2007-04-20 Sandro Santilli <strk@keybit.net>
2691 * testsuite/FuzzyPixel.h: const-correctness
2692 * testsuite/MovieTester.{cpp,h}: prepared for working
2693 with all render handlers, implemented support for
2694 a single one (AGG only for now); provided
2695 check_pixel and xcheck_pixel macros.
2696 * testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp:
2697 Test pixel checker (doesn't work).
2699 2007-04-20 Sandro Santilli <strk@keybit.net>
2701 * server/types.{cpp,h}: add toShortString, for neater output.
2702 * libgeometry/snappingrange.h: add output operator.
2703 * server/debugger.cpp, server/parser/action_buffer.cpp,
2704 server/vm/ActionExec.cpp: don't force creation of the
2705 SWFHandlers singleton too early, this hopefully means
2706 at time of initialization the VM version will be known.
2707 * backend/render_handler.h: remove unused parameter warnings.
2708 [ I'm afraid this will confuse doxygen :( ]
2710 2007-04-20 John Gilmore <gnu@toad.com>
2712 More internationalization.
2713 * po/POTFILES.in: Add all files with gettext-able messages.
2714 * po/gnash.pot: Update to include current gettext-able messages.
2715 * po/{es,fr}.po: First few languages that have a few translations.
2716 * po/LINGUAS: Add es and fr (with only a few translations in each).
2717 * README: Gettext program is now a required prerequisite for clean
2718 builds of gnash. (We use the msgfmt program for compiling
2721 2007-04-20 Udo Giacomozzi <udo.gnu@nova-sys.net>
2723 * backend/render_handler.h: Prototype for initTestBuffer()
2724 * backend/render_handler_agg.{cpp,h}: implement initTestBuffer()
2726 2007-04-20 Sandro Santilli <strk@keybit.net>
2728 * testsuite/: Makefile.am, FuzzyPixel.{cpp,h},
2729 MovieTester.{cpp,h}: framework for renderers
2730 testing, needs changes in render_handler to complete.
2733 2007-04-20 Sandro Santilli <strk@keybit.net>
2735 * testsuite/misc-ming.all/masks_test.c: draft masks test.
2736 * doc/C/asspec/movieclip.xml:
2737 Dumped a bit of info about _name. Hopefully Ann will give it some
2739 * testsuite/misc-ming.all/: Makefile.am, ButtonEventsTest-Runner.cpp:
2740 Allow execution of the test runner from a foreign dir.
2742 2007-04-20 Zou Lunkai <zoulunkai@gmail.com>
2744 * testsuite/actionscript.all/MovieClip.as
2745 change undefined to a null string.
2746 change check to xcheck, add warnings
2748 2007-04-19 Sandro Santilli <strk@keybit.net>
2750 * server/as_value.cpp (equals): comment out debugging line.
2751 * testsuite/actionscript.all/MovieClip.as: check that
2752 changing a _parent._name changes own _target.
2753 WARNING: our soft references are bogus !!
2755 2007-04-19 Udo Giacomozzi <udo.gnu@nova-sys.net>
2757 * server/character.{h,cpp}, server/sprite_instance.{h,cpp}:
2758 moved getTarget(), getTargetPath(),
2759 get_text_value() to character class so that button instances
2760 can deal with "targets" too.
2761 * server/character.{h,cpp}: implemented "_target" getter-setter
2762 * server/button_character_instance.cpp: added _target getter-setter
2764 2007-04-19 Sandro Santilli <strk@keybit.net>
2766 * testsuite/actionscript.all/Number.as:
2767 Re-enabled a big block of tests accidentally left
2768 cut out. Expect less failures also ! :)
2770 2007-04-19 Udo Giacomozzi <udo.gnu@nova-sys.net>
2772 * testsuite/misc-ming.all/matrix_test.c: use Math.round() to
2775 2007-04-19 Sandro Santilli <strk@keybit.net>
2777 * testsuite/misc-ming.all/matrix_test.c: tolerate an
2778 error of 1/100 when testing _rotation.
2780 2007-04-19 Udo Giacomozzi <udo.gnu@nova-sys.net>
2782 * testsuite/libamf.all/test_*.cpp: added dummy main() function
2783 for the case when HAVE_DEJAGNU_H is not set
2785 2007-04-19 Bastiaan Jacques <bastiaan@bjacques.org>
2787 * configure.ac: Some platforms apparently define SIZET_FMT as
2788 signed long; add a test for it. Also, use gnashpkgtool.m4 to
2789 look for dejagnu.h as it is not guaranteed to be in the default
2790 compiler search path, especially on non-GNU platforms.
2792 2007-04-19 Martin Guy <martinwguy@yahoo.it>
2794 * testsuite/actionscript.all/Date.as: Change case-[in]dependent
2795 method existence detection strategy to see if it fixes v5 testrun.
2796 * testsuite/libamf.all/test_{object,string,variable}.cpp,
2797 testsuite/server/DisplayListTest.cpp,
2798 testsuite/misc-ming.all/{PlaceObject2Test,root_stop_test}.c,
2799 testsuite/misc-ming.all/action_execution_order_test6.c:
2800 Drop/comment unused variables.
2801 * server/as_value.cpp: Remove vestiges of rejected fix to
2802 Number(<function>) (reported as a bug instead)
2803 * testsuite/actionscript.all/Date.as: Remove tests that fail, including
2804 those due the above bug.
2806 2007-04-19 Sandro Santilli <strk@keybit.net>
2808 * server/asobj/string.cpp: add valueOf own property to String
2810 * server/as_value.{h,cpp}: add equalsSameType() function;
2811 fix bugs in to_number for function values (version-sensitive it
2812 seems); modify equality and inequality operators to follow
2813 strict equality semantic.
2814 * testsuite/movies.all/gravity_embed-TestRunner.cpp: be aware when
2815 comparing as_value types, comparisons are strict now!
2816 * testsuite/swfdec/PASSING: divide-7.swf and object-math-7.swf now
2818 * testsuite/actionscript.all/Global.as: small test for isNaN
2820 * testsuite/actionscript.all/Number.as: tests for
2821 convertion-to-number.
2822 * testsuite/actionscript.all/String.as: test valueOf being a property
2823 of String.prototype.
2825 2007-04-19 Zou Lunkai <zoulunkai@gmail.com>
2827 * testsuite/misc-ming.all/duplicate_movie_clip_test.c
2829 * libbase/tu_types.h
2830 drop SDL integer types
2832 replace inttypes.h with tu_types.h, hopefully more portable
2833 * server/vm/action.cpp
2834 type definition, get rid of compiler warning
2836 2007-04-18 Sandro Santilli <strk@keybit.net>
2838 * server/BitmapMovieInstance.cpp: make sure
2839 the bitmap character is not considered a mask (sic).
2840 * testsuite/MovieTester.{cpp,h}:
2841 Added interfaces for testing pixel values.
2842 Next step would be actually initializing
2843 a renderer during testing (if requested, maybe?)
2845 2007-04-18 Udo Giacomozzi <udo.gnu@nova-sys.net>
2847 * backend/render_handler.h: renamed get_pixel() to getPixel() and
2848 changed from void to bool return value
2849 * backend/render_handler.h, backend/render_handler_agg.cpp:
2850 implemented getAveragePixel()
2852 2007-04-18 Sandro Santilli <strk@keybit.net>
2854 * testsuite/MovieTester.h: add click() method.
2855 * server/BitmapMovieInstance.cpp: place the
2856 bitmap character in the "static depth" zone
2857 to forbid removal (might still be not enough).
2858 * testsuite/misc-ming.all/loadMovieTest.c: have
2859 the clear button remove the clips, not just clear them
2860 * testsuite/misc-ming.all/loadMovieTestRunner.cpp:
2861 check use of the 'scribble' and 'clear' buttons.
2863 2007-04-18 Martin Guy <martinwguy@yahoo.it>
2865 * server/asobj/NetStreamFfmpeg.cpp: Fix compile-breaking typo.
2866 * server/swf/tag_loaders.cpp: Reformat bizarre indentation caused
2867 by someone editing with hard tabs set to 4.
2868 * server/asobj/Date.cpp: Fix signed/unsigned compiler warning.
2869 * libbase/container.h, doc/C/actionscript/as_value.xml:
2870 Expunge the last references to tu_string.
2871 * libbase/tu_file.h: Purge endian dependence, add \brief to methods.
2872 * backend/sound_handler_sdl.cpp: Remove commented-out stuff
2873 * server/swf/tag_loaders.cpp: Remove commented-out stuff
2875 2007-04-18 Udo Giacomozzi <udo.gnu@nova-sys.net>
2877 * server/character.h, server/dlist.cpp, server/swf/PlaceObject2Tag.cpp:
2878 make masks work again, introduce isMask()
2880 2007-04-18 Martin Guy <martinwguy@yahoo.it>
2882 * configure.ac: Introduce HAVE_LONG_TIMEZONE if extern long timezone
2883 exists, and HAVE_TM_GMTOFF if struct tm has member tm_gmtoff.
2884 * doc/C/asspec/date.xml: first draft
2885 * server/asobj/Date.cpp: Complete its implementation
2886 * server/asobj/Global.cpp: Use definitions of NAN and INFINITY from
2888 * server/as_value.h: add definition for INFINITY, as for NAN
2889 * server/as_value.cpp: Reject accidental "Infinity" and "-Infinity"
2890 string-to-number conversions (should give NaN);
2891 Use NAN from as_value.h;
2892 Conversion of an AS function to a number gives NaN, not 0.
2893 * testsuite/actionscript.all/Date.as: Add extensive constructor tests
2895 2007-04-18 Sandro Santilli <strk@keybit.net>
2897 * server/matrix.{cpp,h}: add transform_by_inverse(point&).
2898 * server/character.h: add pointInBounds, pointInShape() and
2899 pointInVisibleShape() new methods; document
2900 get_topmost_mouse_entity.
2901 * server/edit_text_character.{h,cpp}: implement pointInShape.
2902 * server/generic_character.{h,cpp}: implement pointInShape.
2903 * server/sprite_instance.{h,cpp}: implement pointInShape
2904 and pointInVisibleShape; fix get_topmost_mouse_entity
2906 * server/parser/character_def.h: document point_test_local.
2907 * testsuite/misc-ming.all/duplicate_movie_clip_test.c: don't
2909 * testsuite/misc-ming.all/loadMovieTestRunner.cpp: add two
2910 small tests checking that the new two small buttons
2911 are clickable. Needs more tests actually clicking those
2914 2007-04-18 John Gilmore <gnu@toad.com>
2916 * Internationalization, phase 2.
2918 * These modules have had their printed messages passed through
2919 _(...). Those messages have also been cleaned up, thusly:
2920 * Stray \n's removed
2921 * Exclamation points and periods removed at ends of messages
2922 * Typos corrected, and English language wording adjusted.
2923 * Misplaced UPPER CASE shouting removed.
2924 * Many complaints about unknown types, values, etc, now include
2925 the offending value, for ease of remote diagnosis.
2926 * C++-style << printouts converted to log_xxx calls.
2927 * Direct accesses to dbglogfile converted to log_xxx calls.
2928 * printf converted to log_xxx calls.
2929 * Function name debug prints converted to GNASH_REPORT_FUNCTION.
2930 These changes should also make the messages easier to translate.
2931 * Commented-out messages were also cleaned up as above.
2932 * Many modules have also had log_warning calls changed to log_msg,
2933 log_error, log_aserror, log_swferror, or log_unimp, according to
2934 the documentation checked in earlier by strk and gnu.
2935 IF_VERBOSE_xxx macros were inserted around some calls that
2937 * Header comments (at the top of the file) added or adjusted, to
2938 describe each file in its initial line, and to correct whitespace
2939 in the copyright notices. Eliminate trailing spaces and tabs.
2941 * The list of files affected by the above changes:
2942 backend/sound_handler_sdl.cpp
2943 extensions/mysql/mysql_db.cpp
2947 plugin/klash/klash.cpp
2948 plugin/win32/plugin.cpp
2949 server/PropertyList.cpp
2950 server/StreamProvider.cpp
2952 server/as_environment.cpp
2953 server/as_function.cpp
2954 server/as_object.cpp
2956 server/button_character_instance.cpp
2957 server/character.cpp
2960 server/edit_text_character.cpp
2961 server/fill_style.cpp
2963 server/generic_character.cpp
2965 server/sprite_instance.cpp
2967 server/textformat.cpp
2968 server/video_stream_instance.cpp
2969 server/asobj/Camera.cpp
2970 server/asobj/Color.cpp
2971 server/asobj/ContextMenu.cpp
2972 server/asobj/CustomActions.cpp
2973 server/asobj/Date.cpp
2974 server/asobj/Error.cpp
2975 server/asobj/Global.cpp
2976 server/asobj/Key.cpp
2977 server/asobj/LoadVars.cpp
2978 server/asobj/LocalConnection.cpp
2979 server/asobj/Microphone.cpp
2980 server/asobj/Mouse.cpp
2981 server/asobj/MovieClipLoader.cpp
2982 server/asobj/NetConnection.cpp
2983 server/asobj/NetStream.cpp
2984 server/asobj/NetStreamFfmpeg.cpp
2985 server/asobj/NetStreamGst.cpp
2986 server/asobj/Number.cpp
2987 server/asobj/Object.cpp
2988 server/asobj/Selection.cpp
2989 server/asobj/SharedObject.cpp
2990 server/asobj/Sound.cpp
2991 server/asobj/SoundFfmpeg.cpp
2992 server/asobj/SoundGst.cpp
2993 server/asobj/SoundMad.cpp
2994 server/asobj/Stage.cpp
2995 server/asobj/System.cpp
2996 server/asobj/TextSnapshot.cpp
2997 server/asobj/Video.cpp
2998 server/asobj/gen-asclass.pl
2999 server/asobj/gen-asclass.sh
3000 server/asobj/string.cpp
3001 server/asobj/xml.cpp
3002 server/asobj/xmlnode.cpp
3003 server/asobj/xmlsocket.cpp
3004 server/parser/BitmapMovieDefinition.cpp
3005 server/parser/action_buffer.cpp
3006 server/parser/button_character_def.cpp
3007 server/parser/edit_text_character_def.cpp
3008 server/parser/morph2_character_def.cpp
3009 server/parser/movie_def_impl.cpp
3010 server/parser/shape_character_def.cpp
3011 server/parser/sprite_definition.cpp
3012 server/parser/sprite_definition.h
3013 server/parser/text_character_def.cpp
3014 server/swf/DefineFontAlignZonesTag.cpp
3015 server/swf/PlaceObject2Tag.cpp
3016 server/swf/tag_loaders.cpp
3017 server/vm/ASHandlers.cpp
3018 server/vm/ActionExec.cpp
3019 server/vm/action.cpp
3020 libbase/curl_adapter.cpp
3021 libbase/extension.cpp
3025 * 2007 copyright notices were inserted in:
3026 backend/sound_handler_sdl.cpp
3027 extensions/mysql/mysql_db.cpp
3029 plugin/klash/klash.cpp
3030 plugin/win32/plugin.cpp
3031 server/generic_character.cpp
3032 libbase/curl_adapter.cpp
3034 * New 2006, 2007 Free Software Foundation copyrights applied (to
3035 formerly public domain code):
3038 server/parser/button_character_def.cpp
3039 server/parser/edit_text_character_def.cpp
3040 server/parser/morph2_character_def.cpp
3041 server/parser/movie_def_impl.cpp
3042 server/parser/shape_character_def.cpp
3044 * backend/sound_handler_sdl.cpp: Move stray FORMAT_VORBIS comment.
3045 * gui/gui.cpp: Commented out "Resize request when no movie" error
3046 that appears every time gnash is run.
3047 * plugins/klash/klash.cpp: Translated pop-up menu items, about-box,
3048 and updated copyright notice printed by --version and --help.
3049 * server/array.cpp (as_array_object::index_requested): Avoid
3050 c_str accessor when converting string to number.
3051 * server/dlist.{h,cpp}: Change API of DisplayList::dump debug
3052 function, so it can use log_xxx functions.
3053 * server/sprite_instance.cpp (sprite_attach_movie): Comment out
3054 log_msg about initializing properties.
3055 * server/asobj/gen-asclass.{pl,sh}: Use log_unimpl in generated code.
3056 Improve whitespace, and generate header line describing the file.
3057 * server/asobj/TextSnapshot.cpp: Fix whitespace to test gen-asclass.
3058 * text_character_def.cpp: Remove commented-out includes.
3059 * FLVParser.{cpp,h}: Fix compiler warning (signed/unsigned).
3061 I'm sure that I've missed some messages that ought to get
3062 translated (with _(...)). Those will be fixed over time.
3063 All new messages should be created with _(...) so they can
3066 2007-04-18 Sandro Santilli <strk@keybit.net>
3068 * testsuite/misc-ming.all/loadMovieTest.c: add
3069 a couple of "buttons" to scribble on and clear
3070 the loaded movies. Checks for this in the
3071 test runner should follow.
3072 * server/BitmapMovieInstance.h:
3073 Override restart() to avoid cleaning up
3074 the displaylist (since no frame tags will
3077 2007-04-18 Zou Lunkai <zoulunkai@gmail.com>
3079 * testsuite/misc-ming.all/Makefile.am:
3080 activate testcast path_format_test.c
3081 * testsuite/misc-ming.all/duplicate_movie_clip_test.c
3082 new testcase for duplicateMovieClip().
3084 2007-04-17 Sandro Santilli <strk@keybit.net>
3086 * testsuite/misc-ming.all/loadMovieTest.c: stop prepending
3087 'file://' to srcdir as it might be relative and file://
3088 should not be used with relative uris.
3089 * testsuite/misc-ming.all/loadMovieTestRunner.cpp:
3090 Don't cheat, run the test !
3092 2004-04-17 Bastiaan Jacques <bastiaan@bjacques.org>
3094 * libbase/URL.cpp: Don't attempt to remove an item from the vector
3095 of strings if the vector is empty.
3096 * testsuite/libbase/URLTest.cpp: Add a test which shouldn't crash
3099 2007-04-17 Udo Giacomozzi <udo.gnu@nova-sys.net>
3101 * backend/render_handler_agg_style.h: Added DEBUG_LIMIT_COLOR_ALPHA
3103 2007-04-17 Sandro Santilli <strk@keybit.net>
3105 * gui/sdl.cpp (key_event): update call to notify_key_event
3106 to provide no modifiers always (bogus, but at least compiles).
3107 * testsuite/actionscript.all/XML.as: add test
3108 showing that removeNode doesn't recurse to
3110 * server/asobj/xmlnode.{cpp,h}: fix removeNode
3111 to not delete all childrens.
3113 2007-04-17 Sandro Santilli <strk@keybit.net>
3115 * libbase/: tu_file.{cpp,h}, curl_adapter.cpp, zlib_adapter.cpp,
3116 noseek_fd_adapter.cpp:
3117 Add another callback for getting stream error. First pass at
3118 documenting the tu_file interfaces (needs more work).
3119 Updated implementations to provide the new error getter.
3120 * server/asobj/xml.cpp (XML::load): check stream status after
3121 call to xmlReadIO. The libxml2 function seems immune to
3122 stream errors, but we can handle them and avoid parsing
3123 anything if a stream error occurs (404 will be a stream error).
3125 2007-04-17 Udo Giacomozzi <udo.gnu@nova-sys.net>
3127 * backend/render_handler_agg: Replaced drawVideoFrame() to use AGG
3128 functions, implemented nearest neighbor transformations,
3129 implemented masked video playback
3131 2007-04-17 Zou Lunkai <zoulunkai@gmail.com>
3133 * testsuite/misc-ming.all/get_frame_number_test.c:
3135 * testsuite/misc-ming.all/path_format_test.c:
3136 testcase to verify valid path format
3138 2007-04-16 Sandro Santilli <strk@keybit.net>
3140 * server/as_environment.cpp, server/as_value.cpp,
3141 server/as_value.h, server/debugger.cpp, server/debugger.h,
3142 server/edit_text_character.cpp, server/movie_root.h,
3143 server/sprite_instance.cpp, server/sprite_instance.h,
3144 server/timers.cpp, server/asobj/LoadVars.cpp,
3145 server/asobj/Object.cpp, server/asobj/Sound.cpp,
3146 server/asobj/Sound.h, server/asobj/Stage.cpp,
3147 server/asobj/string.cpp, server/asobj/xml.cpp,
3148 server/asobj/xmlnode.cpp, server/asobj/xmlsocket.cpp,
3149 server/vm/ASHandlers.cpp, testsuite/server/GetterSetterTest.cpp:
3150 Drop as_value::to_std_string() - update all callers.
3151 Deprecated sprite_instance::get_variable.
3152 Cost-corrected debugger interfaces.
3154 2007-04-16 Sandro Santilli <strk@keybit.net>
3156 * server/as_environment.{cpp,h}: add a parse_path method to
3157 return an actual object when the given parameter is actually
3159 * server/vm/ASHandlers.cpp (ActionCallFunction): set 'this'
3160 pointer to the object containing the function if the function
3161 name is a path. Fixes bug #18698.
3162 * testsuite/actionscript.all/getvariable.as: success in
3163 callFunction(path.to_function), a few more tests of that kind.
3165 2007-04-16 Sandro Santilli <strk@keybit.net>
3167 * testsuite/actionscript.all/getvariable.as: check 'this' pointer when
3168 calling a function trough a path.
3169 * testsuite/server/Makefile.am: add libgnashamf.la to GNASH libs.
3170 * testsuite/generic-testrunner.sh, doc/C/internals.xml:
3171 Add -f switch to specify the maximum number of frame advancements.
3172 * testsuite/misc-ming.all/Makefile.am: update
3173 get_frame_number_testrunner to advance at most 20 times.
3174 * testsuite/misc-ming.all/get_frame_number_test.c: no more failures
3176 * server/sprite_instance.cpp (get_frame_number): check frame labels
3177 also when convertion to number gives a non-integer value.
3178 * server/vm/ASHandlers.cpp (ActionGotoExpression): don't pretend
3179 any path-looking string is necessarely a path, it can still be
3180 a floating number or a frame label.
3182 2007-04-16 John Gilmore <gnu@toad.com>
3184 * libbase/log.h: Update documentation for log_* functions; rename
3185 log_warning to log_unimpl (with temporary #define for a few days);
3186 move gettext and _ definitions from gnash.h to log.h.
3187 * libbase/log.cpp: Update log_* functions as above.
3188 * server/gnash.h: Move gettext and _ to log.h.
3190 2007-04-16 Sandro Santilli <strk@keybit.net>
3192 * libbase/log.h: draft documentation for the log_* functions.
3193 * testsuite/misc-ming.all/matrix_test.c: add test for skewX() matrix
3194 (failures are just precision-related).
3195 * server/debugger.{cpp,h}: (matchWatchPoint) const-corrected
3196 * server/vm/ASHandlers.cpp: always pass an as_environment pointer
3197 when converting as_value to a string, use to_string rather
3198 then to_std_string() when a reference is enough; (ActionDuplicateClip):
3199 properly cleanup the stack on error; (ActionGotoFrameExpression,
3200 ActionCallFrame): properly handle unknown target.
3201 * testsuite/misc-ming.all/Makefile.am:
3202 Activated get_frame_number and frame_label_test.
3204 2007-04-16 Zou Lunkai <zoulunkai@gmail.com>
3206 * testsuite/misc-ming.all/frame_label_test.c:
3208 * testsuite/misc-ming.all/get_frame_number_test.c:
3210 * server/sprite_instance.cpp:
3211 update call_frame_actions();
3212 * server/vm/ASHandlers.cpp:
3213 properly process frame label in ActionCallFrame() and ActionGotoExpression().
3215 2007-04-15 Sandro Santilli <strk@keybit.net>
3217 * server/edit_text_character.cpp (display): move text glyphs
3218 so to be inside bounds defined for the textfield character.
3219 Fixes bug #17954. This is likely not the cleanest way to
3220 do this, see comments.
3221 * server/matrix.{cpp,h}: provided setters for canonical
3223 * server/character.cpp: avoid direct access to matrix members.
3224 * server/sprite_instance.cpp: avoid direct acces to matrix members.
3225 * server/vm/ASHandlers.cpp: fix signedness compiler warnings.
3226 * testsuite/server/MatrixTest.cpp: add tests for scale concatenation.
3228 2007-04-15 Bastiaan Jacques <bastiaan@bjacques.org>
3230 * libbase/container.{cpp,h}: Remove tu_string{,i}.
3231 * server/as_value.{cpp,h}: Replace tu_string with std::string.
3232 Remove wide string code that was both unused and inherently
3234 * all over the place: Update to match changes in as_value.h.
3235 Also, eliminate tu_string usage entirely.
3237 2007-04-15 Sandro Santilli <strk@keybit.net>
3239 * testsuite/actionscript.all/MovieClip.as,
3240 testsuite/misc-ming.all/matrix_test.c,
3241 testsuite/server/MatrixTest.cpp: more successes
3242 after Eric patch ! A few more tests added in
3243 matrix_test.c too, and more will be needed.
3245 2007-04-15 Eric Hughes <eh@narthex.us>
3247 * server/matrix.cpp (get_x_scale, get_y_scale): fixed implementations
3248 to match the interpretation of matrix used in set_scale_rotation.
3250 2007-04-14 Sandro Santilli <strk@keybit.net>
3252 * server/character.cpp (height_getset, width_getset): round
3253 width and heights to nearest integer twip.
3254 * testsuite/swfdec/PASSING: height4.swf succeeds.
3255 * testsuite/misc-ming.all: Makefile.am, matrix_test.c: new test
3256 for statically-defined matrix interpretation (just started, needs
3259 2007-04-14 Sandro Santilli <strk@keybit.net>
3261 * server/sprite_instance.cpp (sprite_getBounds): round bounds
3263 * testsuite/actionscript.all/MovieClip.as: more successes.
3264 * testsuite/actionscript.all/check.as: Revert bastiaan patch,
3265 changing semantic of most tests.
3267 2007-04-14 Bastiaan Jacques <bastiaan@bjacques.org>
3269 * server/asobj/{Loadvars,NetStream,Sound,xmlnode}.cpp: Use
3270 init_readonly_property for read-only properties.
3271 * server/parser/movie_def_impl.{cpp,h}: Since we're not using
3272 pthreads, there is no need to have our thread function
3273 match a specfic pattern; use one that fits our design.
3274 * testsuite/actionscript.all/check.as: Don't prepend # where
3275 it is not needed to avoid choking gcc3's C preprocessor.
3276 * testsuite/libamf.all/{test_number,test_string}.cpp,
3277 testsuite/misc.ming.all/{intervalTestRunner,
3278 loadMovieTestRunner}: Add needed includes for OpenBSD.
3280 2007-04-14 Sandro Santilli <strk@keybit.net>
3282 * server/sprite_instance.cpp (sprite_getBounds): round bounds
3284 * server/matrix.{h,cpp}: fix conceptual bug in Range2d transform
3286 * testsuite/misc-ming.all/displaylist_depths_test.c,
3287 testsuite/actionscript.all/MovieClip.as: more successes.
3289 2007-04-12 Bastiaan Jacques <bastiaan@bjacques.org>
3291 * server/parser/movie_def_impl.{cpp,h}: Replace pthread usage
3293 * libbase/Makefile.am: No longer include Thread.{h,cpp} in the
3294 build, because this pthread based class is unused and
3296 * server/URLAccessManager.cpp: Comment out unused parameter.
3297 * server/shape.cpp: Comment out dead code.
3298 * server/textformat.cpp: make text_format DSOEXPORT, because
3299 it is used in another DSO.
3300 * all over the place: Remove all inclusions of pthread.h,
3301 because we're no longer directly using pthreads.
3302 * server/gnash.h, gui: version two of Antti Ajanki's GUI
3303 patches, this time the whole thing.
3304 * libbase/container.h: Remove the last pthread.h include.
3306 2007-04-12 Sandro Santilli <strk@keybit.net>
3308 * server/asobj/string.cpp (fromCharCode): revert bastiaan change
3309 breaking existing tests.
3310 * server/character.{cpp,h}: add set_x_scale and set_y_scale
3311 methods to reduce code messing with matrices. Changed
3312 {x,y}scale_getset and {width,height}_getset to use
3313 these two new functions.
3314 * testsuite/server/MatrixTest.cpp: add a few tests for
3315 set_scale_rotation. I'm not sure the tests are correct
3316 thought, I'd like to hear from Martin about that.
3318 2007-04-12 Sandro Santilli <strk@keybit.net>
3320 * server/: button_character_instance.{cpp,h},
3321 character.{cpp,h}, edit_text_character.{cpp,h},
3322 generic_character.h, sprite_instance.{cpp,h}:
3323 get_width() and get_height() made non-virtual
3324 methods using getBounds() internally.
3325 Fixed _width, _height, _xscale, _yscale and _rotation
3326 getter/setter to call valueOf when available.
3328 2007-04-12 Sandro Santilli <strk@keybit.net>
3330 * server/sprite_instance.cpp (duplicateMovieClip):
3331 Duplicate also the drawable.
3332 * testsuite/misc-ming.all/displaylist_depths_test.c:
3335 2007-04-12 Sandro Santilli <strk@keybit.net>
3337 * server/matrix.{cpp,h}: add transform and transform_by_inverse
3338 for Range2d<float> type.
3339 * server/character.h: add a getBounds() virutual method.
3340 * server/: generic_character.h, button_character_instance.{cpp,h},
3341 edit_text_character.h, video_stream_instance.h:
3342 Implement getBounds.
3343 * server/character.cpp: fix width_getset and height_getset
3344 to use the new getBounds interface.
3345 * server/sprite_instance.{cpp,h}: implement getBounds;
3346 implement MovieClip.getBounds.
3347 * testsuite/actionscript.all/MovieClip.as: more tests for
3348 getBounds, more successes.
3349 * testsuite/swfdec/PASSING: height2.swf and height3.swf tests
3352 2007-04-12 Mathew Cucuzella <kookjr@gmail.com>
3354 * doc/C/internals.xml plugin.xml: Fix typos in documentation
3357 2007-04-11 Bastiaan Jacques <bastiaan@bjacques.org>
3359 * server/asobj/string.cpp: from_char_code: create a wide string
3360 in case the user tries to create one.
3361 * gui: Reverted Antti's patches, because they appear to be
3362 lacking some changes in the gnash::key namespace. Fixes build.
3364 2007-04-11 Markus Gothe <nietzsche@lysator.liu.se>
3366 * server/sprite_instance.cpp: uint32 -> uint32_t.
3368 2007-04-11 Stephan Peijnik <sp@gnu.org>
3370 * gui/gtk.cpp: Changed Copyright years from 2005-2007 -> 2005, 2006,
3371 2007. Fixed 'acces'-typo -> 'access'.
3373 2007-04-11 Antti Ajanki <antti.ajanki@iki.fi>
3375 * gui/gtk.cpp gui/gtksup.h gui/gui.cpp gui/gui.h
3376 * gui/kde.cpp gui/kde_glue.h gui/kdesup.h:
3377 moves the handling of GUI shortcuts (Crtl+R for restarting the
3378 movie, Ctrl+Q for quiting, etc.) form GtkGui to base class Gui.
3379 This way all GUIs can inherit the same code instead of having
3381 adds keyboard handling for the KdeGui using this new interface.
3382 Currently KdeGui has no support for keyboard input.
3384 The destructor of KdeGlue deletes _drawing_area object even though
3385 it is not owned by KdeGlue. The _drawing_area is actually the
3386 _qwidget object from KdeGui and is (correctly) deleted at the
3388 KdeGui. This double-free error causes a segfault when closing
3391 2007-04-11 Sandro Santilli <strk@keybit.net>
3393 * server/parser/shape_character_def.cpp (compute_bound):
3394 skip anchor point of empty paths; include both control
3395 and anchor point of any edge.
3396 * server/dlist.h: add a visitAll() method for unconditional
3398 * server/sprite_instance.cpp: optimize WidthFinder, HeightFinder,
3399 ScriptObjectFinder and CharacterExtractor to return void
3400 (can be used by visitAll); (get_width, get_height): include
3401 scan of DrawingAPI canvas.
3402 * testsuite/actionscript.all/MovieClip.as,
3403 testsuite/misc-ming.all/displaylist_depths_test.c:
3406 2007-04-11 Ann Barcomb <kudra@domaintje.com>
3408 * devtools/lib/Gnash/Distribution.pm: made it more
3409 difficult to mistakenly use the wrong root distribution
3412 2007-04-11 Sandro Santilli <strk@keybit.net>
3414 * testsuite/actionscript.all/MovieClip.as: add some tests
3415 for _width,_height and getBounds (all failing!).
3417 2007-04-11 Udo Giacomozzi <udo.gnu@nova-sys.net>
3419 * server/cxform.h: include required inttypes.h
3421 2007-04-11 Sandro Santilli <strk@keybit.net>
3423 * server/: Makefile.am, gnash.h, types.cpp, cxform.{cpp,h},
3424 swf/PlaceObject2Tag.{cpp,h}, swf/tag_loaders.cpp:
3425 Extract PlaceObject2Tag from tag_loaders
3426 and cxform from gnash.h and types.cpp.
3427 * server/character.{cpp,h}: add getUserDefinedEventHandler
3428 function, change static event handlers function to allow
3429 for multiple handlers for the same event.
3430 * server/vm/ExecutableCode.h: add EventCode class.
3431 * server/swf_event.h: drop the 'function' member, provide better
3433 * testsuite/actionscript.all/MovieClip.as: add tests for
3434 user defined events not being proper properties.
3435 * testsuite/actionscript.all/dejagnu_so_init.as: delete the
3436 user-defined onEnterFrame when finished with it.
3437 * server/execute_tag.h: add missing include.
3438 * server/event_id.h: add setKeyCode method, for better protection.
3439 * server/button_character_instance.cpp (on_button_event): look for
3440 user-defined event handlers.
3441 * server/dlist.{cpp,h}, server/impl.h,
3442 server/parser/shape_character_def.h,
3443 server/parser/button_character_def.h:
3444 Update after addition of new files
3445 * testsuite/misc-ming.all/action_execution_order_extend_test.c:
3446 Two unexpected successes, one unexpected failures (due to scrabling
3448 * server/movie_root.{cpp,h}: add pushAction(ExecutableCode).
3449 * server/sprite_instance.{cpp,h}: stop using gettersetter for event
3451 * testsuite/misc-ming.all/displaylist_depths_test.c: test that
3452 event handlers need to be duplicated too.
3454 2007-04-11 Ann Barcomb <kudra@domaintje.com>
3456 * testsuite/actionscript.all/gen-index-wiki.sh doc/C/sources.xml:
3457 Changed all references of 'gnash.lulu.com' to 'www.gnashdev.org'.
3459 2007-04-11 Bastiaan Jacques <bastiaan@bjacques.org>
3461 * libbase/FLVParser.cpp: Append 8 "zero" bytes to the end of the frame
3462 buffer to prevent decoders from going past the end of our frame buffer.
3463 This adds NULL-termination, which is also expected by FFMPEG.
3464 * server/asobj/NetStreamFfmpeg.cpp: Initialize certain members to safe
3465 defaults so they will not be read in their uninitialised states.
3466 * backend/render_handler_agg.cpp: Stop relying on bounds passed from
3467 video definition for image buffer size (since we don't yet do proper
3468 scaling, that is a bad idea); fixes bug #19511. Also, cut off the
3469 video image if it extends beyond the width of our buffer.
3470 * gui/fltk.cpp: Fix compilation by adding statics for GUI methods
3471 that became nonstatic. Also fix some warnings.
3472 * all over the place: Replace SDL integer type names by standard ones.
3473 Thanks to Ann for writing a Perl script to do search-and-replace.
3475 2007-04-11 Sandro Santilli <strk@keybit.net>
3477 * server/character.h: add protected set_event_handlers(), turn
3478 get_event_handelrs into a protected member.
3479 * server/sprite_instance.cpp (duplicateMovieClip): simplified copying
3482 2007-04-11 Sandro Santilli <strk@keybit.net>
3484 * testsuite/misc-ming.all/ming_utils.h: define newSWFAction
3485 to compileSWFActionCode when using older Ming versions.
3486 Now we can use them interxchangeably (the newer newSWFAction
3487 has to be preferred though).
3488 * testsuite/actionscript.all/MovieClip.as: add tests
3489 showing that user-defined event handlers must be handled
3490 differently then placeobject-defined ones. At least
3491 for the sake of duplicating movieclips; add
3492 MovieClip.duplicateMovieClip test.
3493 * testsuite/misc-ming.all/displaylist_depths_test.c:
3494 Add tests for duplicateMovieClip, _width and cloning
3495 static event handlers.
3497 2007-04-11 Zou Lunkai <zoulunkai@gmail.com>
3499 * server/as_environment.cpp:
3500 don't trim of the last "/" in parse_path(), fix parsing path in format "/:x".
3501 * testsuite/actionscript.all/getvariable.as:
3504 2007-04-10 Sandro Santilli <strk@keybit.net>
3506 * server/sprite_instance.{cpp,h}: add duplicateMovieClip method
3507 for use by MovieClip.duplicateMovieClip and ActionDuplicateClip.
3508 * server/vm/ASHandlers.cpp (ActionDuplicateClip): use the new
3509 sprite_instance::duplicateMovieClip method fixing a bogus assumption
3510 about the parent to duplicate into.
3511 * testsuite/actionscript.all/MovieClip.as: add small test for
3512 ActionDuplicateClip.
3514 2007-04-10 Tomas Groth Christensen <tomasgroth@yahoo.dk>
3516 * server/asobj/NetStreamFfmpeg.h: Fixed a bug in the
3517 AudioResampler, which made it only resample the first time.
3518 * libbase/LoadThread.cpp: Handle the case where the cache is
3519 filled and we have yet more data to load.
3521 2007-04-10 Markus Gothe <nietzsche@lysator.liu.se>
3523 * cygnal/http.cpp cygnal/stream.cpp: Added 'return true'-stubs, closes
3526 2007-04-10 Sandro Santilli <strk@keybit.net>
3528 * server/swf/tag_loaders.cpp (readPlaceObject2): reduce
3529 calls to IF_VERBOSE_PARSE.
3531 2007-04-10 Bastiaan Jacques <bastiaan@bjacques.org>
3533 * server/asobj/NetStreamFfmpeg.{cpp,h}: Don't call delete on a
3534 new[]-allocated pointer. Don't try to copy a byte-aligned
3535 data buffer into a "flat" one, and vice versa. Add a helper
3536 class called AudioResampler, which will do audio resampling
3538 * server/xmlsocket.cpp: Use SIZET_FMT.
3539 * libbase/image.cpp: Document update().
3540 * libbase/image.h: Define a virtual destructor for the image_base
3541 class so deriving classes will have their destructors called
3542 when we decide to delete them. Fixes a _big_ memory leak.
3544 2007-04-10 Rob Savoye <rob@bertha.welcomehome.org>
3546 * configure.ac: Test the host to see if we're on a Darwin machine.
3547 * backend/render_handler_ogl.cpp: Build with the native Darwin
3549 * cygnal/netstats.cpp: Include date.hpp.
3550 * gui/Makefile.am: Add FFMPEG_LIBS for cross compiling.
3551 * macros/incllist, incllist: Don't search for Darwin specific
3552 paths, we're correctly using the -framework flag to GCC now.
3553 * macros/opengl.m4: For Darwin, use the OpenGL and AGL frameworks
3554 instead of include or linker paths.
3555 * macros/x11.m4: Find all the right include paths. Look for
3556 libXplugin too, which is Darwin specific, and in a weird place.
3557 * server/StreamProvider.cpp: Remove bogus USE_CURL setting.
3558 * server/StreamProvider.h: Include config.h.
3559 * server/asobj/Makefile.am: Use FFMPEG_CFLAGS too.
3560 * server/parser/Makefile.am: Use FFMPEG_CFLAGS too.
3561 * server/vm/Makefile.am: Use FFMPEG_CFLAGS too.
3562 * utilities/Makefile.am: Add FFMPEG_LIBS.
3564 2007-04-10 Sandro Santilli <strk@keybit.net>
3566 * libbase/log.h: allow switching off any VERBOSITY overhead
3567 by using -DVERBOSE_WHAT=0.
3568 * server/as_environment.{cpp,h}: add the concept
3569 of a default target to support setTarget() calls
3570 (null target spec meaning will to reset the target
3571 to its original value).
3572 * server/vm/ASHandlers.cpp (CommonSetTarget):
3573 When target specification is an empty string
3574 reset the target to its original value.
3575 Use find_target rather then find_object to avoid
3576 variables and character names clashes.
3578 2007-04-10 Sandro Santilli <strk@keybit.net>
3580 * server/parser/movie_def_impl.cpp (read_all_swf): at
3581 end of parsing, check consistency of number of frames
3582 advertised in header and number of frames read from the
3583 stream. Update total frame count if needed and properly
3584 wake up any frame reached condition waiters.
3585 * server/movie_instance.cpp (advance) check return from
3586 ensure_frame_loaded.
3588 2007-04-10 Sandro Santilli <strk@keybit.net>
3590 * server/parser/: movie_definition.h, movie_def_impl.{cpp,h},
3591 sprite_definition.{cpp,h}: stop using TU legacy hashes
3592 and strings: use std::string instead of C strings, use
3593 references instead of pointers in a few places.
3594 * server/sprite_instance.{cpp,h}: use std::string instead
3595 of C strings for frame labels, update other uses of changed
3596 interfaces of parser.
3597 * server/swf/tag_loaders.cpp: update uses of changed interfaces
3600 2007-04-10 Sandro Santilli <strk@keybit.net>
3602 * server/parser/Makefile.am: add FFMPEG_CFLAGS to AM_CPPFLAGS
3603 if using FFMPEG sound.
3604 * testsuite/actionscript.all/getvariable.as: add test for
3605 literal 'invalid:Number' variable name.
3606 * libbase/log.cpp: stop adding CR to debugging output !!
3607 * server/stream.cpp (open_tag): print tag offsets as start
3608 of the tag (including header). This is to match offsets
3609 as printed by Ming's listswf for comparision purposes.
3610 * server/asobj/xmlnode.{h,cpp}: fix appendChild to properly
3611 move the node; implement insertBefore and removeNode; fix
3612 cloneNode to respect not copy childs if not deep; implement
3613 parentNode gettersetter.
3614 * testsuite/actionscript.all/XML.as: add tests for insertBefore,
3615 appendNode, cloneNode, removeNode and parentNode.
3616 * macros/ffmpeg.m4: fix --with-ffmpeg-incl to look for
3617 avcodec.h under the 'ffmpeg' subdir (this is assumed
3618 to exist in Gnash source code).
3620 2007-04-10 Zou Lunkai <zoulunkai@gmail.com>
3622 * server/parser/shape_character_def.cpp:
3623 fix reading fill_styles, actually it was a regression.
3625 2007-04-09 Sandro Santilli <strk@keybit.net>
3627 * testsuite/misc-ming.all/Makefile.am: activated
3628 get_frame_number test.
3630 2007-04-08 Rob Savoye <rob@bertha.welcomehome.org>
3632 * macros/agg.m4, boost.m4, curl.m4, ffmpeg.m4, firefox.m4,
3633 glib.m4, gnashpkgtool.m4, gtk2.m4, gtkglext.m4, jpeg.m4, kde.m4,
3634 libXML.m4, ming.m4, mysql.m4, opengl.m4, pango.m4, pthreads.m4,
3635 sdl.m4, x11.m4: Use ${shlibext} instead of .so to be more
3637 * macros/ffmpeg.m4: Look for avutil after avformat, as there is a
3638 dependancy on the order on some systems.
3639 * macros/x11.m4: Reverse the logic, we *do* want to look for the X11
3640 librsaries if the X11 headers are found earlier.
3641 * testsuite/samples/Makefile.am: Add GotoAndPlayTestRunner to CLEANFILES.
3642 * configure.ac: Improve openbsd host test. Test for Darwin libtool
3643 vs ar. Reset AR if it's the Darwin libtool. Set FL_MUTEX to 0 if
3644 lf_flmutext_register isn't found.
3645 * cygnal/cygnal.cpp: Include libintl.h.
3646 * libbase/curl_adapter.cpp: Use USE_CURL consistantly instead of
3647 HAVE_CURL and HAVE_CURL_CURL.
3648 * libbase/noseek_fd_adapter.cpp: Remove HAVE_STDIN_CURL_H test.
3649 * libbase/rc.cpp: Include cctype.
3650 * macros/incllist, libslist: Add Darwin Developer SDK directories.
3652 2007-04-08 Bastiaan Jacques <bastiaan@bjacques.org>
3654 * server/asobj/NetStreamFfmpeg{.cpp, .h}: Only use a single
3655 thread (rather than two extra threads) for decoding. Plug a
3656 memory leak (ByteIOCxt.buffer). Modularise some more code.
3658 2007-04-08 Ann Barcomb <kudra@domaintje.com>
3660 * devtools/testsuite/c_casts.t: added this test at Bastiaan's
3662 * devtools/lib/Gnash/Utils.pm: fix bug which caused wrong line
3663 numbers to be reported.
3665 2007-04-08 Zou Lunkai <zoulunkai@gmail.com>
3667 * testsuite/misc-ming.all/get_frame_number_test.c:
3668 new testcase for get_frame_number() and goto_frame().
3669 * server/sprite_instance.{cpp,h}
3670 update implementation of get_frame_number() and goto_frame(),
3671 fix the above the testcase.
3673 2007-04-08 Sandro Santilli <strk@keybit.net>
3675 * testsuite/actionscript.all/XML.as: add tests for XML.attributes
3677 2007-04-07 Sandro Santilli <strk@keybit.net>
3679 * server/asobj/xml.cpp (extractNode, parseDoc): properly setup
3681 * server/asobj/xmlnode.{cpp,h}: keep parent by intrusive_ptr.
3682 * testsuite/actionscript.all/XML.as: add tests for
3683 nextSibling and previousSibling
3685 2007-04-07 Tomas Groth Christensen <tomasgroth@yahoo.dk>
3687 * server/asobj/NetStream{Ffmpeg,Gst}.cpp: Use the m_imageframe's
3688 size to determine the size of the returned frame.
3690 2007-04-07 Tomas Groth Christensen <tomasgroth@yahoo.dk>
3692 * packaging/redhat/gnash.spec: Use --enable-media instead of
3694 * server/video_stream_instance.cpp: Delete the image once displayed.
3695 * server/asobj/NetStream.h: Removed the obsolete getter/setters
3697 * server/asobj/NetStreamFfmpeg.{h,cpp}: Removed the obsolete
3698 getter/setters for onStatus. Made get_video() threadsafe.
3699 Removed \n from log/error messages.
3700 * server/asobj/NetStreamGst.{cpp,h}: Removed the obsolete
3701 getter/setters for onStatus. Made get_video() threadsafe.
3702 Removed \n from log/error messages.
3703 * server/asobj/NetConnection.cpp: Removed \n from log/error messages.
3705 2007-04-07 Sandro Santilli <strk@keybit.net>
3707 * server/vm/ASHandlers.cpp (ActionCallMethod): stop warning
3708 about ActionCallMethod arg being not a function (seems
3709 to be common behaviour for invoking constructors).
3711 2007-04-07 Markus Gothe <nietzsche@lysator.liu.se>
3713 * backend/render_handler_ogl.cpp: Removed mipsmaps code, due to
3714 major clean up and rewrite (since it's not used).
3716 2007-04-07 Bastiaan Jacques <bastiaan@bjacques.org>
3718 * server/NetStreamFfmpeg{.cpp, .h}: Fix a deadlock on non-glibc
3719 platforms by waiting for a thread rather than hoping for a
3720 certain execution order (which is fundamentally incompatible with
3721 threads). Cleanup: modularise some code and use string comparison
3722 rather than char-by-char comparison.
3724 2007-04-06 Sandro Santilli <strk@keybit.net>
3726 * server/character.cpp: stop notifying unload event queuing
3727 * server/asobj/NetStreamGst.cpp: warn only once about fluendos
3728 plugin being too old.
3730 2007-04-06 Sandro Santilli <strk@keybit.net>
3732 * server/sprite_instance.cpp (ScriptObjectFinder):
3733 use character depth to tell wheter objects have to
3734 be considered "script" objects or not. Fixes the
3735 all.swf regression and doesn't change our testsuite
3737 * testsuite/actionscript.all/MovieClip.as: test both
3738 ActionRemoveClip and MovieClip.removeMovieClip; also
3739 tests that there's no such think as a _global.removeMovieClip.
3740 * testsuite/misc-ming.all/displaylist_depths_test.c:
3741 Add a bunch of new tests about removing from protected
3742 depth ranges and using swapDepth to move between ranges.
3743 * server/sprite_instance.{h,cpp}: Add a removeMovieClip
3744 public method for common use by ActionRemoveClip tag,
3745 global removeMovieClip function and MovieClip.removeMovieClip
3746 method; fix swapDepths to accept a depth as argument;
3747 fix removeMovieClip to check for allowed depth bounds.
3748 * server/vm/ASHandlers.cpp (ActionRemoveClip): use the new
3749 sprite_instance::removeMovieClip method.
3751 2007-04-06 Sandro Santilli <strk@keybit.net>
3753 * server/: character.h, dlist.{cpp,h}, sprite_instance.{cpp,h}:
3754 Character instance depth is a _signed_ value !
3755 Add a character::staticDepthOffset constant to use for converting
3756 displaylist tag defined depths to negative values.
3757 * server/swf/tag_loaders.cpp: convert displaylist tag defined depths
3758 to negative values by adding character::staticDepthOffset
3759 * testsuite/misc-ming.all/: ButtonEventsTest-Runner.cpp,
3760 testsuite/samples/clip_as_button2-TestRunner.cpp,
3761 testsuite/movies.all/gravity_embedded-TestRunner.cpp:
3762 loop_test-Runner.cpp, simple_loop_testrunner.cpp: fix the
3763 test runners to take staticDepthOffset into account.
3764 * testsuite/actionscript.all/MovieClip.as: getNextHighestDepth()
3768 2007-04-06 Sandro Santilli <strk@keybit.net>
3770 * testsuite/misc-ming.all/: Makefile.am, displaylist_depths_test.c:
3771 Add a new interesting (failing) test showing that static characters
3772 and dynamic characters use a completely different range
3774 * server/sprite_instance.cpp (sprite_get_depth): only convert
3775 depths to negative values for static clips.
3776 * testsuite/actionscript.all/MovieClip.as: add a couple of
3777 tests for getDepth() invoked against dynamic and static
3780 2007-04-05 John Gilmore <bug-gnu-gettext@gnu.org>
3782 Internationalize gnash. Phase 1: use gettextize, update config files.
3784 * macros/{codeset.m4, gettext.m4, glibc2.m4, glibc21.m4,
3785 iconv.m4, intdiv0.m4, intmax.m4, inttypes.m4, inttypes_h.m4,
3786 inttypes-pri.m4, isc-posix.m4, lcmessage.m4, lib-ld.m4,
3787 lib-link.m4, lib-prefix.m4, longdouble.m4, longlong.m4, nls.m4,
3788 po.m4, printf-posix.m4, progtest.m4, signed.m4, size_max.m4,
3789 stdint_h.m4, uintmax_t.m4, ulonglong.m4, wchar_t.m4, wint_t.m4,
3790 xsize.m4}: New files, from gettext-0.14.6.
3791 * po: New directory for translated messages (Portable Object files)
3792 * po/{Makefile.in.in, boldquot.sed, en@boldquot.header,
3793 en@quot.header, insert-header.sin, quot.sed,
3794 remove-potcdate.sin, Rules-quot}: New files, from gettext-0.14.6.
3795 * ABOUT-NLS, config.rpath: New files, from gettext-0.14.6.
3796 * libbase/gettext.h: New file, from gettext-0.14.6.
3797 * server/gnash.h: Include "gettext.h" for NLS.
3798 * po/Makevars: New file: settings for gnash's message translation.
3799 * po/POTFILES.in: New file: source files with translatable strings.
3800 * po/LINGUAS: New file: languages we have translations for.
3801 * Makefile.am (EXTRA_DIST): Add config.rpath.
3803 * configure.ac (AC_OUTPUT): Add po/Makefile.in.
3804 (AM_GNU_GETTEXT): Add, to configure gettext support.
3805 * cygnal/Makefile.am (localedir, INCLUDES),
3806 gui/Makefile.am (localedir, INCLUDES),
3807 utilities/Makefile.am (localedir, INCLUDES): Define LOCALEDIR.
3808 * cygnal/cygnal.cpp (main), gui/gnash.cpp (main),
3809 utilities/{dumpshm,parser,processor}.cpp (main):
3810 Set locale and initialize gettext upon startup.
3811 * utilities/{dumpshm,parser,processor}.cpp: Flag strings with _
3812 for translation, for testing.
3813 * po/gnash.pot: Message string catalog for testing.
3814 * po/es.po: Spanish-language message string catalog for testing.
3816 2007-04-05 Zou Lunkai <zoulunkai@gmail.com>
3818 * server/asobj/Date.cpp
3819 fix passing parameter to utctime();
3821 2007-04-05 Sandro Santilli <strk@keybit.net>
3823 * server/vm/ASHandlers.cpp (ActionRemoveClip): properly parse
3824 the given argument rather then assuming that it refers to
3825 a child of the current target movie. (fixes the softreference
3827 * testsuite/actionscript.all/MovieClip.as: add softreference
3828 test (MovieClip values kept by absolute _target).
3829 * testsuite/actionscript.all/MovieClip.as: fix couple of stack
3831 * server/sprite_instance.{cpp,h} (get_frame_number):
3832 Changed signature to report invalid frame specifications;
3833 simplified and clened implementation of Zou Lunkai.
3834 * server/vm/ASHandlers.cpp: updated calls to get_frame_number.
3835 * testsuite/swfdec/PASSING: gotoframe.swf now passes.
3837 2007-04-05 Sandro Santilli <strk@keybit.net>
3839 * testsuite/misc-ming.all/Makefile.am: enabled run of
3840 reverse_execute_PlaceObject2_test2runner and
3841 action_execution_order_test6runner.
3842 * testsuite/misc-ming.all/ming_utils.c (get_dejagnu_actions):
3843 property initialize the xpassed and xfailed counters.
3845 2007-04-05 Zou Lunkai <zoulunkai@gmail.com>
3847 * testsuite/misc-ming.all/reverse_execute_PlaceObject2_test2.c
3848 add more tests of MovieClip events
3850 2007-04-05 Sandro Santilli <strk@keybit.net>
3852 * server/timers.{cpp,h}: drop the as_environment member
3853 for Timers as we can't ensure it will be kept alive.
3854 We'll use a newly created environment for calling
3856 * server/asobj/: LoadVars.cpp, xmlsocket.cpp: update use of
3858 * server/as_environment.cpp (find_object_dotsyntax):
3859 more verbose debugging for cases in which a dot-syntax
3860 path contains non-object members.
3862 2007-04-05 Zou Lunkai <zoulunkai@gmail.com>
3864 * testsuite/misc-ming.all: reverse_execute_PlaceObject2_test2.c
3865 another testcase for reverse execution of frame tags.
3866 * testsuite/misc-ming.all/reverse_execute_PlaceObject2_test1.c
3867 add notes that reverse execution is likely to be deprecated.
3868 * testsuite/misc-ming.all/action_execution_order_test6.c
3869 do checks and stop movie at the last frame.
3871 2007-04-04 Markus Gothe <nietzsche@lysator.liu.se>
3873 * server/asobj/TextFormat.{cpp,h} - Added stub for class TextFormat.
3875 2007-04-04 Bastiaan Jacques <bastiaan@bjacques.org>
3877 * gui/gui.cpp, backend/render_handler_agg_style.h,
3878 server/{swf/DefineFontAlignZonesTag.cpp, textformat.cpp}:
3879 Comment out unused variables.
3880 * libamf/amf.cpp: Remove unneeded casts. Replace some
3881 C-style casts by C++-style ones. Don't modify const type;
3882 instead, use a temporary (el->data).
3883 * server/{movie_root.cpp, shm.cpp, sprite_instance.cpp,
3884 vm/ActionExec.cpp, asobj/xmlsocket.cpp}: More
3886 * server/{Boolean.cpp, Date.cpp}: Don't assign string
3887 literals to character pointers, which will soon be
3888 deprecated by GCC. Instead, use array declarations.
3889 * server/asobj/{NetStreamFfmpeg.cpp, SoundFfmpeg.cpp}:
3890 Don't compare unsigned with signed ints.
3891 * server/asobj/xml.cpp: Comment out include that is used
3892 by commented out code.
3893 * server/parser/movie_def_impl.h: Fix typo.
3895 2007-04-04 Sandro Santilli <strk@keybit.net>
3897 * server/asobj/xml.cpp: fix parsing of text nodes
3898 * server/asobj/xmlnode.{cpp,h}: use std::string, not
3899 C strings for name and value. Add an enum for NodeType.
3900 * testsuite/actionscript.all/XML.as: more tests for
3901 the memory-parsed XML.
3903 2007-04-04 Sandro Santilli <strk@keybit.net>
3905 * server/asobj/xmlnode.cpp: don't attacy XMLNode interface
3906 to XMLNode instances.
3907 * server/asobj/xml.{h,cpp}: override get_member and set_member
3908 to handled non-proper properties 'loaded' and 'status'
3909 * testsuite/actionscript.all/XMLNode.as: less failures
3910 * testsuite/actionscript.all/XML.as: more tests !
3912 2007-04-04 Sandro Santilli <strk@keybit.net>
3914 * server/array.{cpp,h}: const-corrected push and unshift
3916 * server/asobj/xmlnode.cpp: implement childNodes getter/setter.
3917 * server/asobj/xml.cpp: cleanups.
3919 2007-04-04 Sandro Santilli <strk@keybit.net>
3921 * testsuite/misc-ming.all/Makefile.am: enable
3922 reverse_execute_PlaceObject2_test1runner in 'check' rule.
3923 * server/array.cpp: use a getter/setter for the 'length' property.
3924 * testsuite/actionscript.all/array.as: another success.
3926 2007-04-04 Zou Lunkai <zoulunkai@gmail.com>
3928 * testsuite/misc-ming.all/reverse_execute_PlaceObject2_test1.c
3929 ensure that total() is called at the last step.
3931 2007-04-04 Sandro Santilli <strk@keybit.net>
3933 * testsuite/actionscript.all/array.as: more tests added.
3934 * server/asobj/xml.cpp: remove debugging lines, return undefined
3935 from getBytesLoaded,getBytesTotal if the XML was not loaded.
3936 * server/asobj/xmlnode.cpp: remove debugging lines.
3937 * testsuite/actionscript.all/XML.as: all current tests pass now
3938 (but we need more tests);
3940 2007-04-04 Sandro Santilli <strk@keybit.net>
3942 * server/asobj/xmlnode.cpp (stringify): stop feeding NULL
3943 pointers to output operators !
3944 * server/asobj/xml.cpp (xml_new): support a string as first
3945 argument to constructor.
3947 2007-04-04 Sandro Santilli <strk@keybit.net>
3949 * server/asobj/xml.{cpp,h}: tu_string => std::string
3950 * server/asobj/xmlsocket.cpp: provide a builtin onData
3951 event handler to XMLSocket instances.
3952 * testsuite/actionscript.all/XMLSocket.as: more successes.
3953 * server/URLAccessManager.{cpp,h}: add allowHost interface.
3954 * server/asobj/xmlsocket.cpp (connect): check host security.
3956 2007-04-04 Zou Lunkai <zoulunkai@gmail.com>
3958 * server/sprite_instance.cpp
3959 first attempt to deprecate reverse execution of frame tags
3961 2007-04-03 Sandro Santilli <strk@keybit.net>
3963 * server/edit_text_character.cpp (format_text): handle
3965 * testsuite/misc-ming.all/ming_utils.c: embed a glyph for
3966 the TAB character in our font.
3967 * server/vm/ASHandlers.cpp: extend tag is not in testing
3968 stage anymore, be more explicit about targetPath() arg
3969 not casting to an object.
3970 * server/movie_root.{cpp,h}: limit the number of interval
3972 * server/asobj/xmlsocket.{cpp,h}: more cleanups and fix for
3973 polling from the socket.
3974 * libbase/network.{cpp,h}: do not allow assignment, cleanup
3975 accessor functions to return by const refs.
3976 * server/asobj/xmlsocket.{cpp,h}: do not override inherited
3977 members and methods. Enable some more debugging and added
3980 2007-04-03 Sandro Santilli <strk@keybit.net>
3982 * testsuite/actionscript.all/XMLSocket.as: some more
3984 * server/sprite_instance.{cpp,h}: split the
3985 DisplayList reset code from execute_frame_tags()
3986 to a resetDisplayList() method.
3988 2007-04-03 Sandro Santilli <strk@keybit.net>
3990 * server/asobj/xmlattrs.{cpp,h}: use std::string
3991 for name and value, access trough members, initialize
3993 * server/asobj/xmlnode.{cpp,h}: keep XMLAttr by value,
3994 not by pointer; implement the 'attributes' getter.
3995 * server/asobj/xml.cpp: update XMLAttr uses.
3996 * testsuite/actionscript.all/XML.as: more tests, less failures.
3997 * testsuite/media/gnash.xml: add a tag attribute.
3999 2007-04-03 Sandro Santilli <strk@keybit.net>
4001 * server/asobj/xml.{cpp,h}: have XML be a subclass
4002 of XMLNode. Many cleanups.
4003 * server/asobj/xmlnode.{cpp,h}: many cleanups.
4004 * testsuite/actionscript.all/XML.as: add more tests.
4005 * testsuite/actionscript.all/XMLNode.as: fix some bogus
4008 2007-04-03 Sandro Santilli <strk@keybit.net>
4010 * server/parser/movie_def_impl.h (add_init_action): fix typo.
4011 * testsuite/actionscript.all/XML.as: a few more tests.
4012 * testsuite/media/gnash.xml: new data file for testing.
4013 * server/asobj/xml.{cpp,h}: allow reading XML from
4014 a network stream (untested).
4016 2007-04-03 Markus Gothe <nietzsche@lysator.liu.se>
4018 * server/as_value.h: Include <limits> for NAN.
4019 * backend/render_ogl.cpp: Fixed memory leak.
4021 2007-04-02 Sandro Santilli <strk@keybit.net>
4023 * configure.ac: fix a couple of typos.
4024 * server/button_character_instance.cpp (on_event): queue
4025 events, don't execute immediately
4026 * server/vm/ExecutableCode.h (GlobalCode): take a character
4028 * server/movie_root.{cpp,h} (pushAction): take a character
4030 * testsuite/samples/gotoFrameOnKeyEvent-TestRunner.cpp:
4033 2007-04-02 Tomas Groth Christensen <tomasgroth@yahoo.dk>
4035 * Makefile.am, configure.ac, gui/Makefile.am, gui/gnash.cpp, gui/gtk.cpp:
4036 Changed the "--enable-sound" option to "--enable-media", and removed
4037 the "--with-mp3-decoder" option.
4038 * server/asobj/NetStreamFfmpeg.cpp: Replaced a few assert(0) with
4040 * server/asobj/NetStreamGst.cpp: Only create sound objects if a
4041 soundhandler is present.
4043 2007-04-02 Sandro Santilli <strk@keybit.net>
4045 * server/dlist.{cpp,h} (place_character): call unload()
4046 on characters that are replaced.
4048 2007-04-02 Sandro Santilli <strk@keybit.net>
4050 * gui/sdl.cpp (key_event): update call to notify_key_event.
4051 * server/vm/ExecutableCode.h: change FunctionCode to take
4052 a generic character as target, not necessarely a sprite.
4053 * server/movie_root.{cpp,h}: update pushAction() for events
4054 to take a generic character, add a notify_key_event method
4056 * server/asobj/Key.cpp: notify_key_event moved to movie_root.
4057 * server/gnash.h: remove notify_key_event prototype, it's now
4058 a movie_root method.
4059 * gui/gtk.cpp: use gui::notify_key_event for key events.
4060 * gui/gui.{cpp,h}: add notify_key_event method.
4061 * server/character.{cpp,h}: move queueActionHandler from
4062 sprite_instance here.
4063 * server/sprite_instance.{cpp,h}: cleanups.
4064 * testsuite/MovieTester.cpp: update call to notify_key_event.
4066 2007-04-02 Sandro Santilli <strk@keybit.net>
4068 * testsuite/samples/: Makefile.am, gotoFrameOnKeyEvent-TestRunner.cpp:
4069 First stub at an automated test runner for gotoFrameOnKeyEvent.
4070 TODO item in comments.
4072 2007-04-02 Bastiaan Jacques <bastiaan@bjacques.org>
4074 * server/as_value{.cpp, .h}: Declare NAN in the header
4075 (and fix a typo in the declaration. Use that definition
4076 instead of by using 0.0 / 0.0 to avoid compiler warnings.
4077 * server/asobj/{Date.cpp, Math.cpp}: Don't redefine NAN.
4079 2007-04-02 Sandro Santilli <strk@keybit.net>
4081 * testsuite/misc-ming.all/ming_utils.{c,h}: fix compiler warnings.
4082 * testsuite/samples/: gotoFrameOnKeyEvent.swf, README:
4083 Add new tests used to debug keypress listeners and
4084 goto_frame. Provided by Dongdong <dedodong@163.com>
4085 * server/movie_root.cpp (notify_keypress_listeners):
4086 Skip event execution for unloaded characters
4087 (they will be removed at next ::advance call)
4089 2007-04-02 Sandro Santilli <strk@keybit.net>
4091 * server/dlist.{cpp,h} (remove_display_object): call
4092 unload on removed character.
4093 * server/: character.h, sprite_instance.{cpp,h}:
4094 Moved the isUnloaded()/_unloaded logic from sprite_instance
4096 * server/movie_root.{cpp,h}: remove unloaded characters
4097 from the keypress_listeners set (run at ::advance time).
4099 2007-04-02 Sandro Santilli <strk@keybit.net>
4101 * server/sprite_instance.cpp (goto_frame): remember to call
4102 set_invalidated() before running display list tags!
4103 (UdoG: is this correct?)
4105 2007-04-02 Zou Lunkai <zoulunkai@gmail.com>
4107 * server/sprite_instance.cpp, sprite_instance.h
4108 add is_reverse_execution() to check if is reverse executing frame tags;
4109 * server/tag_loaders.cpp
4110 set "replace_if_depth_is_occupied" to true when reverse executing PlaceObject2.
4111 fixed error messages with playing bombgame.swf, improved implementation of
4115 2007-04-01 Sandro Santilli <strk@keybit.net>
4117 * server/swf/tag_loaders.cpp (define_bits_jpeg_loader,
4118 define_bits_jpeg2_loader, define_bits_lossless_2_loader):
4119 Handle duplicate character id. "Fixes" bug #19474.
4121 2007-03-31 Sandro Santilli <strk@keybit.net>
4123 * gui/Makefile.am, testsuite/server/Makefile.am,
4124 utilities/Makefile.am: add libgnashparser dependency.
4127 2007-03-31 Bastiaan Jacques <bastiaan@bjacques.org>
4129 * configure.ac, gui/gtk_glue_agg.cpp: Add configurable support
4130 for 16-bit GTK, for use on the OLPC. Simply specifying
4131 --with-pixelformat=rgb565 will activate this code.
4133 2007-03-30 Tomas Groth Christensen <tomasgroth@yahoo.dk>
4135 * server/asobj/NetStream{Ffmpeg,Gst}.cpp: Fixed the callback
4136 to the onStatus eventhandler.
4138 2007-03-30 Sandro Santilli <strk@keybit.net>
4140 * server/asobj/Mouse.cpp: cleanups.
4141 * libbase/network.cpp: minor cleanups in debugging lines.
4142 * server/asobj/xmlsocket.{cpp,h}: first pass at cleanup,
4143 fix XMLSocket.connect() to return the correct value.
4144 * server/asobj/Global.cpp: initialize XMLSocket with the
4145 most current interface.
4146 * testsuite/actionscript.all/: Makefile.am, XMLSocket.as:
4147 initial test for XMLSocket (methods availability).
4149 2007-03-30 Tomas Groth Christensen <tomasgroth@yahoo.dk>
4151 * libbase/FLVParser.cpp: Fixed a few bugs.
4152 * libbase/LoadThread.{h,cpp}: Changed to use a cache so we avoid
4153 blocking to often when reading and loading at the same time.
4154 * server/asobj/NetConnection.{h,cpp}: Added loadCompleted().
4155 * server/asobj/NetStream.{h,cpp}: Added setEnvironment(), and
4156 removed the getter/setter for onStatus.
4157 * server/asobj/NetStreamFfmpeg.{h,cpp}: Fixed a big mem-leak. Added
4158 setEnvironment(), and added support for status/error messages.
4159 * server/asobj/NetStreamGst.{h,cpp}: Added setEnvironment(), and
4160 added support for status/error messages.
4161 * testsuite/actionscript.all/NetStream.as: Corrected expected
4162 results for onStatus, and added some for onCuePoint and onMetaData.
4164 2007-03-30 Sandro Santilli <strk@keybit.net>
4166 * server/dlist.cpp (clear_except): don't copy display list (small
4168 * server/sprite_instance.cpp (ctor): initialize the _unloaded member.
4169 * testsuite/actionscript.all/NetStream.as: check that onStatus and
4170 onSeek are not special builtin-properties.
4171 * server/timers.{cpp,h}: add support for passing arguments to
4172 setInterval() callbacks.
4173 * testsuite/misc-ming.all/: intervalTest.as, intervalTestRunner.cpp:
4176 2007-03-30 Sandro Santilli <strk@keybit.net>
4178 * testsuite/misc-ming.all/: intervalTest.as, intervalTestRunner.cpp:
4179 Add test for setInterval() calls with additinal args (Gnash fails).
4180 * server/asobj/xmlsocket.cpp: don't attempt to send
4181 data when not connected !
4182 * testsuite/misc-ming.all/Makefile.am: prepared for
4183 activation of reverse_execute_PlaceObject2_test1runner
4184 (not activated as for Zou request).
4186 2007-03-30 Zou Lunkai <zoulunkai@gmail.com>
4188 * testsuite/misc-ming.all: reverse_execute_PlaceObject2_test1.c
4189 add a new testcase for reverse execution of frame tags. The next
4190 step is to improve it or deprecate it.
4192 2007-03-30 Sandro Santilli <strk@keybit.net>
4194 * testsuite/actionscript.all/: check.as, targetPath.as:
4195 Don't use asm { targetPath } when not supported by
4198 2007-03-30 Sandro Santilli <strk@keybit.net>
4200 * server/as_value.cpp (to_sprite): don't attempt to resolve
4201 the path to a sprite if this value is not a MOVIECLIP type.
4202 * server/swf.h: document ACTION_TARGETPATH
4203 * server/sprite_instance.{cpp,h}: implement getTarget(), have
4204 get_text_value() call getTarget() internally.
4205 * server/vm/ASHandlers.cpp: Implement ActionTargetPath.
4206 * testsuite/actionscript.all/: Makefile.am, targetPath.as:
4207 Test ACTION_TARGETPATH (0x45).
4209 2007-03-29 Rob Savoye <rob@bertha.welcomehome.org>
4211 * configure.ac: Add --disable-menus since an embedded systems
4212 probably won't want them.
4213 * gui/gtk.cpp: Disable most of the menu items if they're
4215 * packaging/redhat/gnash.spec: Build with --disable-menus for the
4218 * doc/C/sources.xml: Fix mismatched sect tags.
4219 * doc/C/asspec: new directory to hold the ActionScript
4220 specification files, so as to not clutter the top level doc
4222 * doc/C/accessibility.xml, array.xml, boolean.xml, button.xml,
4223 camera.xml, color.xml, contextmenu.xml, customactions.xml, date.xml,
4224 error.xml, function.xml, key.xml, loadvars.xml, localconnection.xml,
4225 math.xml, microphone.xml, mouse.xml, movieclip.xml,
4226 moviecliploader.xml netconnection.xml, netstream.xml, number.xml,
4227 selection.xml, sharedobject.xml, sound.xml, stage.xml, string.xml,
4228 system.xml, textfield.xml, textformat.xml, textsnapshot.xml, video.xml,
4229 xml.xml, xmlnode.xml, xmlsocket.xml: Moved to asspec directory.
4230 * doc/asspec/asspec.xml: New top level document for free
4231 ActionScript specification.
4232 * doc/C/gnash.xml: Remove AS Spec entities, they're now in
4233 asspec.xml. Use gnash-dev instead of gnash for questions.
4235 2007-03-29 Markus Gothe <nietzsche@lysator.liu.se>
4237 gui/gtk.cpp: Indent the licensing notes.
4239 2007-03-29 Deanna Phillips <deanna>
4241 * server/vm/fn_call.h: include the stuff needed
4242 for proper intrusive_ptr composition.
4244 2007-03-29 Sandro Santilli <strk@keybit.net>
4246 * server/as_object.{cpp,h} add an optional argument
4247 to init_property and init_readonly_proprety for setting
4248 explicit flags, use same defaults as for init_member.
4249 * server/vm/ASHandlers.cpp (ActionEnum, ActionEnum2):
4250 do not convert values to objects always.
4251 * testsuite/misc-mtasc.all/: Makefile.am, enum.as:
4252 Add test for ActionEnum2.
4253 * testsuite/server/Makefile.am: more linking fixes.
4255 2007-03-29 Sandro Santilli <strk@keybit.net>
4257 * server/asobj/SharedObject.cpp: better stubs (nothing more).
4259 2007-03-29 Sandro Santilli <strk@keybit.net>
4261 * server/movie_root.{cpp,h}: support for
4262 setting scaleMode (allow scaling) and
4263 notifying Stage listeners when disabled.
4264 * server/asobj/Stage.{cpp,h}: rework layout,
4265 implement addListener, removeListener and
4267 * testsuite/actionscript.all/Stage.as: add a few
4268 tests for Stage. The notification-based tests
4269 are not automatically run yet (will need a MovieTester
4270 test runner, with new interfaces to it for resize request)
4271 * utilities/Makefile.am: add libgnashasobjs, now needed.
4273 2007-03-29 Ann Barcomb <kudra@domaintje.com>
4275 * devtools/testsuite/tabs.t: added check for hard tabs in
4278 2007-03-29 Sandro Santilli <strk@keybit.net>
4280 * server/sprite_instance.{h,cpp} (goto_frame): push target
4281 actions to the global list; (unload): set the _unloaded
4282 flag; (m_goto_action_list): deprecated !
4283 * testsuite/misc-ming.all/consecutive_goto_frame_test.c:
4284 don't expect a failure.
4285 * testsuite/swfdec/PASSING: goto3.swf succeeds.
4287 2007-03-29 Sandro Santilli <strk@keybit.net>
4289 * server/asobj/string.cpp (string_split): fix compiler wanring
4290 and handle SWF5 case.
4291 * testsuite/actionscript.all/String.as: expect less failures.
4292 * server/sprite_instance.{h,cpp} add queueActions() method.
4293 * server/swf/tag_loaders.cpp: fix compiler warnings.
4294 * testsuite/server/Makefile.am: link in libgnashparser for the
4295 tests that turn out to need it since rob changed it from
4296 noinst_LTLIBRARY to lib_LTLIBRARY.
4297 * configure.ac: provide MING_SUPPORTS_INIT_ACTIONS conditional.
4298 * testsuite/misc-ming.all/ming_utils.{h,c}: provide
4299 MING_SUPPORTS_INIT_ACTIONS macro and use it to conditinally
4300 buil the init acion interface.
4301 * testsuite/misc-ming.all/Makefile.am: provide MING_VERSION_CODE
4302 macro, enable build of init_action_test when
4303 MING_SUPPORTS_INIT_ACTIONS.
4305 2007-03-28 Zou Lunkai <zoulunkai@gmail.com>
4307 * testsuite/misc-ming.all: init_action_test.c
4308 add a new testcase for DoInitAction.
4309 * testsuite/misc-ming.all/ming_utils.c, ming_utils.h
4310 add a interface for adding init actions for sprites.
4312 2007-03-28 Rob Savoye <rob@bertha.welcomehome.org>
4314 * autogen.sh: Make config-h.in atfer running libtoolize so
4315 Darwin builds stop failing.
4316 * configure.ac: Remove dash after cvs, it confuses rpmbuild.
4317 * backend/Makefile.am: List AGG headers in noinst_HEADERS.
4318 * macros/agg.m4: Set ac_cv_path_agg_incl based on agg_include_dir
4319 to save a few cycles.
4320 * macros/pthreads.m4: Don't set any flags for pthreads on
4321 Darwin. Test for the .dylib suffix too.
4322 * packaging/redhat/gnash.spec: Merge in changes from Redhat.
4323 * server/Makefile.am: Add BOOST and pthreads libs for cross
4325 * server/asobj/Makefile.am: Make an installable library for
4326 dynamically linking on Darwin.
4327 * server/parser/Makefile.am: Make an installable library for
4328 dynamically linking on Darwin.
4329 * testsuite/misc-ming.all/Makefile.am: Add intervalTest.as to
4330 EXTRA_DIST so distcheck passes.
4331 * testsuite/misc-mtasc.all/Makefile.am: Add all .as files to
4332 EXTRA_DIST so distcheck passes. Add to CLEANFILES so distcheck
4334 * testsuite/samples/Makefile.am: Add to CLEANFILES so distcheck
4336 * testsuite/libbase/Makefile.am: Link in libgnashvm too.
4337 * utilities/Makefile.am: Add CURLS_LIBS. Add sufix rule for for
4338 build swf from as files.
4340 2007-03-28 Tomas Groth Christensen <tomasgroth@yahoo.dk>
4342 * server/asobj/NetStreamGst.cpp: Make sure pipeline exists before
4343 accessing it, and the same goes for the FLV parser.
4345 2007-03-28 Sandro Santilli <strk@keybit.net>
4347 * server/sprite_instance.cpp (add_textfield): return void.
4348 * testsuite/actionscript.all/MovieClip.as: add tests for
4351 2007-03-28 Sandro Santilli <strk@keybit.net>
4353 * server/sprite_instance.cpp (add_textfield): use edit_text_character,
4354 not simple text_character (the latter has all the ActionScript
4355 methods attached to it).
4356 * server/edit_text_character.{cpp,h}: keep definition
4358 * server/edit_text_character.{cpp,h}: add stubs
4359 for all known TextField methods.
4360 * server/asobj/Global.cpp: initialize the global
4362 * testsuite/actionscript.all/: Makefile.am, TextField.as:
4363 New testcase for TextField class (just checks availability
4366 2007-03-28 Sandro Santilli <strk@keybit.net>
4368 * libbase/GnashException.h: Add ActionLimitException
4369 * server/as_environment.{cpp,h}: provide callStackDepth()
4370 and cleanCallstack() methods, throw an ActionLimitException
4371 when reaching 255 call stack depth.
4372 * server/vm/ActionExec.{cpp,h}: catch ActionLimitException
4373 by aborting execution of current code.
4374 * server/vm/ASHandlers.cpp (ActionCallFunction): pass the
4375 environment when converting function name to string.
4377 2007-03-28 Tomas Groth Christensen <tomasgroth@yahoo.dk>
4379 * backend/sound_handler_gst.cpp: Don't calculate the numbers of
4380 buffers to feed to the pipeline, since it makes loaded sound
4381 streams stop to early.
4382 * libbase/FLVParser.{h,cpp}: Made it thread-safe. Fixed a lot of
4383 bugs. Added support for extacting size of h.263 video.
4384 * server/asobj/NetConnection.cpp: Set _loader to NULL after deletion.
4385 * server/asobj/NetStreamFfmpeg.cpp: Corrected some error messages and
4387 * server/asobj/NetStreamGst.{h,cpp}: Use our internal FLVParser
4388 when FLV is being played.
4390 2007-03-28 Sandro Santilli <strk@keybit.net>
4392 * server/array.{cpp,h}: implement Array.splice(),
4393 improve toString to actually call the user-provided
4394 toString on all elements.
4395 * testsuite/actionscript.all/array.as: added testcases
4397 * testsuite/misc-ming.all/Dejagnu.c: use a larger window for traces.
4398 * testsuite/misc-ming.all/: FlashVarsTest.as, FlashVarsTest.html,
4399 Makefile.am: added a test for querystring and flashparams parsing.
4400 * server/sprite_instance.cpp (loadMovie):
4401 Parse the querystring given in the URL.
4403 2007-03-28 Bastiaan Jacques <bastiaan@bjacques.org>
4405 * server/as_value.h: Add as_value::to_number<type>(), which will
4406 cast the result of to_number() to the requested number type.
4407 * server/as_object{.h, .cpp}: Rename init_property(name, getter)
4408 to init_readonly_property(name, getter).
4409 * server/{button_character_instance.cpp, sprite_instance.cpp):
4410 Update callers to use init_readonly_property.
4411 * server/asobj/string.cpp: Reimplement the ActionScript String
4412 class using std::string. Also change the style to Rob's
4414 * testsuite/actionscript.all/String.as: Add a few more
4417 2007-03-28 Sandro Santilli <strk@keybit.net>
4419 * server/sprite_instance.{cpp,h}: add setVariables()
4420 method taking a std::map.
4421 * gui/Player.cpp (run): parse URL query string
4422 after parsing FlashVars, for proper handling precedence.
4423 NOTE that this won't work when load starts from an internal
4424 call (loadMovie, getUrl with target etc.)
4426 2007-03-27 Markus Gothe <nietzsche@lysator.liu.se>
4428 * backend/render_handler_ogl.cpp: Added anti-aliasing for polygons
4429 (i.e. fonts and such).
4431 2007-03-27 Sandro Santilli <strk@keybit.net>
4433 * server/sprite_instance.{cpp,h}: add isUnloaded()
4434 method to properly skip execution of queued
4435 actions for unloaded sprites.
4436 * server/vm/: Makefile.am, ExecutableCode.h:
4437 Add definition of a generic Executable Code
4438 for use as element of the global Action Queue.
4439 * server/movie_root.{cpp,h}: add support for
4440 a global Action Queue.
4442 2007-03-27 Bastiaan Jacques <bastiaan@bjacques.org>
4444 * server/as_object.h: Print the passed pointer type
4445 rather than the intrusive_ptr in which it is contained.
4447 2007-03-27 Sandro Santilli <strk@keybit.net>
4449 * testsuite/actionscript.all/Date.as:
4450 Commented out a test that also fails with
4451 the proprietary player (seems related to
4452 DST, started failing when it entered in effect).
4453 Anyone willing to fix the test is welcome.
4454 * server/sprite_instance.cpp (execute_frame_tags):
4455 Execute init actions immediately. This might change
4456 when we get actions execution order definitively right
4457 but it's useful to commit now has a facility for keep
4458 tracking youtube missing bits.
4460 2007-03-25 Martin Guy <martinwguy@yahoo.it>
4462 * configure.ac: reformat all "package not installed" messages
4464 * configure.ac: Fail during configure if AGG libraries not detected;
4465 AGG is no longer "experimental"
4466 * configure.ac: Regularise layout of AC_ARG_*
4468 2007-03-25 Sandro Santilli <strk@keybit.net>
4470 * testsuite/actionscript.all/MovieClip.as: print a warning
4471 about possible confusion created by bugs in the proprietary
4473 * testsuite/actionscript.all/NetConnection.as:
4474 getURL doesn't exist, and connect returns
4477 2007-03-24 Tomas Groth Christensen <tomasgroth@yahoo.dk>
4479 * libbase/LoadThread.{cpp,h}: Changed so that it is possible to
4480 check if the stream is valid.
4481 * server/StreamProvider.cpp: Check if local file exists before
4482 creating the tu_file.
4483 * server/asobj/NetConnection.cpp: Changed to work with the
4484 LoadThread changes. Added an assert for a valid URL.
4486 2007-03-24 Sandro Santilli <strk@keybit.net>
4488 * server/swf/tag_loaders.cpp (readPlaceActions): gracely handle
4489 malformed SWF produced by some old snapshot of Ming CVS.
4490 * testsuite/misc-ming.all/Makefile.am:
4491 Don't try to build tests unsupported by
4492 the installed Ming version.
4494 2007-03-24 Bastiaan Jacques <bastiaan@bjacques.org>
4496 * server/as_function.cpp: Partially revert changes related to fn_call
4497 which mysteriously broke the testsuite.
4498 * server/vm/fn_call.h: Make nargs non-const and add a setter for offset
4499 so as_function can modify them.
4501 2007-03-23 Tomas Groth Christensen <tomasgroth@yahoo.dk>
4503 * server/asobj/NetStreamFfmpeg.cpp: Fixed getting time when
4504 decoder isn't initialized.
4506 2007-03-23 Tomas Groth Christensen <tomasgroth@yahoo.dk>
4508 * backend/sound_handler_sdl.cpp: Count videos sounds.
4509 * libbase/FLVParser.{h,cpp}: Added. Our own homegrown FLV parser.
4510 * libbase/LoadThread.{h,cpp}: Use auto_ptr<tu_file> instead of tu_file,
4511 and added the isPositionConfirmed() function.
4512 * libbase/Makefile.am: Added FLVParser.{h,cpp}.
4513 * macros/libXML.m4: A fix for when using --with-libxml-incl
4514 * server/video_stream_instance.cpp: Use Advance to investigate if a new
4515 video frame is ready, and decide if the bouds should be invalidated.
4516 * server/asobj/NetConnection.{h,cpp}: Pass a auto_ptr<tu_file> to
4517 LoadThread. Always check if the loader exists before using it.
4518 Added connectParser to make it possible for the parser to access the file.
4519 * server/asobj/NetStream.{h,cpp}: Implemented setBufferTime and onStatus.
4520 * server/asobj/NetStreamFfmpeg.{h,cpp}: Use the new FLVParser when we
4521 play a FLV. Added more comments. Implemented setBufferTime, and made
4522 things ready for onStatus.
4523 * server/asobj/NetStreamGst.{cpp,h}: Added stubs and small updates to
4524 keep up with NetStreamFfmpeg. Some work on supporting the -r1 switch.
4525 * server/asobj/SoundGst.cpp: Removed a printf.
4527 2007-03-22 Sandro Santilli <strk@keybit.net>
4529 * testsuite/swfdec/PASSING: two more successes.
4530 * server/stream.{cpp,h} (read_uint): don't force return
4531 to fit in a short. Fixes a regression for 3dtris.swf.
4533 2007-03-22 Bastiaan Jacques <bastiaan@bjacques.org>
4535 * server/as_object.cpp: in set_member_default(), only setValue()
4536 on properties that aren't read-only. Add an init_property()
4537 method specifically for read-only properties which takes only
4538 a setter. Also add a method asPropName() that converts property
4539 names to lowercase, which is a very common pattern in this
4541 * server/button_character_instance.cpp,
4542 server/character{.cpp, .h}, server/character_instance.cpp:
4543 Use the new init_property() for read-only properties. Don't
4544 check if read-only properties are being set in getters.
4545 * server/vm/fn_call.h: Make fn_call more robust: rename
4546 first_arg_bottom_index to _stack_offset, which I think is more
4547 descriptive. Make _stack_offset and _env private properties; add
4548 accessors for them. Make nargs a const property. Add doxygen
4549 comments for all members.
4550 * all over the place: Adjust all users of fn_call members.
4551 Make sure all callers use the new accessors and that no caller
4552 tries to set now-const properties.
4554 2007-03-22 Sandro Santilli <strk@keybit.net>
4556 * server/asobj/Number.cpp: don't attach Number interface
4557 to the Number class itself.
4558 * testsuite/actionscript.all/Number.as: more tests
4559 for valueOf,toString (many still fail for SWF5).
4561 2007-03-22 Sandro Santilli <strk@keybit.net>
4563 * server/font.cpp, server/stream.cpp, server/swf/tag_loaders.cpp:
4564 Fixed signedness warnings after stream interface update.
4566 2007-03-22 Sandro Santilli <strk@keybit.net>
4568 * server/stream.{cpp,h}: fix signedness of integers.
4569 * server/parser/button_character_def.cpp (read):
4570 Survive malformation of button2 events action tags.
4572 2007-03-22 Sandro Santilli <strk@keybit.net>
4574 * server/as_value.{h,cpp}: drop all methods transparently
4575 calling to_number w/out passing an as_environment.
4576 * server/asobj/Global.cpp, server/asobj/xml.cpp,
4577 server/vm/ASHandlers.cpp: properly update to explicitly
4578 invoke as_value::to_number() when needed.
4580 2007-03-22 Zou Lunkai <zoulunkai@gmail.com>
4582 * testsuite/misc-ming.all: action_execution_order_test6.c, Makefile.am.
4583 add a new testcase for passing-by MovieClip events.
4586 2007-03-22 Sandro Santilli <strk@keybit.net>
4588 * testsuite/swfdec/PASSING: comparisons-7.swf now passes.
4589 * testsuite/actionscript.all/Number.as: add tests for
4590 comparison operators (unfortunately Ming never outputs
4591 ActionGreater, but swfdec testsuite contains it).
4592 * server/vm/ASHandlers.cpp (ActionNewLessThen, ActionGreater):
4593 return undefined if numeric conversion returns NaN.
4594 * server/as_value.h: drop 'operator<', is not appropriate as
4595 it insists in returning a bool, while we might eventually
4596 get an undefined value.
4598 2007-03-21 Sandro Santilli <strk@keybit.net>
4600 * testsuite/actionscript.all/check.as: define
4601 MING_SUPPORTS_ASM_GETPROPERTY.
4602 * testsuite/actionscript.all/MovieClip.as: add test for
4603 getproperty call w/out an explicit target.
4604 * server/impl.cpp (create_library_movie): include SWF version info,
4605 at least it's now shown with a bare -v.
4606 * server/vm/ASHandlers.cpp (ActionGetProperty):
4607 An empty string as target means we pick the current top
4608 of scope stack. (SWFHandlers ctor): add comments for
4609 hard-coded numbers properties should have.
4611 2007-03-21 Sandro Santilli <strk@keybit.net>
4613 * server/vm/ASHandlers.cpp (ActionSubString): when length argument
4614 is negative take it as full string length.
4615 * testsuite/actionscript.all/String.as: add tests for 'substring'
4616 action with negative length parameter.
4618 2007-03-21 Sandro Santilli <strk@keybit.net>
4620 * server/as_function.cpp (extends): when VM version is > 5
4621 set 'prototype.__constructor__' in addition to
4622 'prototype.constructor'
4623 * server/swf_function.cpp (getSuper): user __proto__.__constructor
4624 rather then __proto__.constructor.
4625 * testsuite/actionscript.all/: Function.as, Inheritance: more
4628 2007-03-21 Sandro Santilli <strk@keybit.net>
4630 * testsuite/swfdec/PASSING: new successes: onload-childparent.swf,
4631 registerclass-previous.swf.
4632 * server/vm/ASHandlers.cpp (ActionCallFunction):
4633 When function is an object, invoke it's 'constructor';
4634 Properly set the 'this' pointer.
4635 * testsuite/actionscript.all/Function.as: more successes.
4638 2007-03-21 Zou Lunkai <zoulunkai@gmail.com>
4640 * testsuite/misc-ming.all/action_execution_order_extend_test.c:
4641 fix calling _root.note
4643 2007-03-20 Martin Guy <martinwguy@yahoo.it>
4646 Remove duplicate of presence tests for JPEG KDE QT.
4647 Say what to install for KDE QT MYSQL.
4648 * configure.ac macros/kde.m4:
4649 Fix broken QT detection on Debian.
4651 2007-03-20 Ann Barcomb <kudra@domaintje.com>
4653 * server/asobj/gen-asclass.pl: Produces exactly the same output
4654 as gen-asclass.sh with some extra features.
4656 2007-03-20 Sandro Santilli <strk@keybit.net>
4658 * server/builtin_function.h (ctor): add a 'constructor'
4659 property pointing to self.
4660 * testsuite/actionscript.all/LocalConnection.as: add tests
4661 for existance of functions that somehow slipped into Gnash.
4662 * server/as_function.{cpp,h}: add getFunctionConstructor()
4663 public static method.
4664 * server/swf_function.cpp: passing Function as the constructor
4665 property of user-defined functions.
4666 * testsuite/actionscript.all/Function.as: more successes.
4667 * testsuite/actionscript.all/Inheritance.as: more successes.
4669 2007-03-20 Sandro Santilli <strk@keybit.net>
4671 * server/as_function.{cpp,h}: add a constructInstance()
4672 function taking care of proper ActionScript instances
4674 * server/asobj/: Boolean.cpp, Number.cpp, string.cpp
4675 (init_{boolean,number,string}_instance): use
4676 the new as_function::constructInstance() method
4677 to correctly initialize instances.
4678 * server/vm/ASHandlers.cpp (construct_object): simply
4679 forward the call to as_function::constructInstance().
4680 * testsuite/actionscript.all/Function.as: more successes.
4682 2007-03-20 Antti Ajanki <antti.ajanki@iki.fi>
4684 * gui/{kde.cpp, kdesup.h}, plugin/klash/klash_part.cpp: When
4685 embedding a Gnash into Konqueror, skip window creation. This also
4686 fixes a problem with scaling.
4688 2007-03-20 Ann Barcomb <kudra@domaintje.com>
4690 * doc/C/actionscript/new_as_class.xml: Change documentation to
4691 intrusive_ptr (see Sandro's previous commits).
4693 2007-03-20 Sandro Santilli <strk@keybit.net>
4695 * server/as_value.cpp, server/asobj/Boolean.cpp,
4696 server/asobj/Boolean.h, server/asobj/Number.cpp,
4697 server/asobj/Number.h, server/asobj/gstring.h,
4698 server/asobj/string.cpp: Implement init_boolean_instance
4699 and change init_{number,string}_instance to return
4700 by intrusive_ptr (rather then auto_ptr).
4701 Do automatic boolean to Boolean conversion in as_value::to_object.
4702 * testsuite/actionscript.all/Function.as:
4703 Couple of more successes.
4705 2007-03-20 Sandro Santilli <strk@keybit.net>
4707 * server/array.cpp, server/as_environment.cpp,
4708 server/as_function.cpp, server/as_object.cpp,
4709 server/as_object.h, server/as_value.cpp, server/as_value.h,
4710 server/button_character_instance.cpp, server/character.cpp,
4711 server/debugger.cpp, server/edit_text_character.cpp,
4712 server/shm.cpp, server/sprite_instance.cpp,
4713 server/sprite_instance.h, server/swf_function.cpp,
4714 server/swf_function.h, server/textformat.cpp, server/timers.cpp,
4715 server/timers.h, server/video_stream_instance.cpp,
4716 server/video_stream_instance.h, server/asobj/Boolean.cpp,
4717 server/asobj/ContextMenu.cpp, server/asobj/Date.cpp,
4718 server/asobj/Global.cpp, server/asobj/Key.cpp, server/asobj/Key.h,
4719 server/asobj/LoadVars.cpp, server/asobj/LocalConnection.cpp,
4720 server/asobj/MovieClipLoader.cpp,
4721 server/asobj/NetConnection.cpp, server/asobj/NetConnection.h,
4722 server/asobj/NetStream.cpp, server/asobj/NetStream.h,
4723 server/asobj/NetStreamGst.cpp, server/asobj/Object.cpp,
4724 server/asobj/Sound.cpp, server/asobj/string.cpp,
4725 server/asobj/xml.cpp, server/asobj/xmlnode.cpp,
4726 server/asobj/xmlsocket.cpp, server/vm/ASHandlers.cpp,
4727 server/vm/fn_call.h, server/vm/with_stack_entry.h,
4728 testsuite/server/GetterSetterTest.cpp:
4729 Reduce use of "dumb" pointers, using intrusive_ptr instead.
4730 A side-effect is the player2.swf premature deletion assertion
4731 is not triggered anymore now.
4733 2007-03-20 Sandro Santilli <strk@keybit.net>
4735 * testsuite/actionscript.all/LocalConnection.as: Fix the test to NOT
4736 rely on Gnash extensions. Actually check that the extensions are
4737 *not* there, as we want to be compatible !!
4739 2007-03-20 Ann Barcomb <kudra@domaintje.com>
4741 * server/asobj/Key.cpp, MovieClipLoader.cpp, xml.cpp, xmlnode.cpp,
4742 xmlsocket.cpp: Change casts and asserts to ensureType.
4744 2007-03-20 Ann Barcomb <kudra@domaintje.com>
4746 * server/asobj/ContextMenu.cpp, Date.cpp, LoadVars.cpp, string.cpp,
4747 NetConnection.cpp, NetStream.cpp, Sound.cpp, gen-asclass.sh:
4748 Changed instances of ensureClass to use inherited ensureType.
4750 2007-03-20 Ann Barcomb <kudra@domaintje.com>
4752 * doc/C/actionscript/new_as_class.xml: syntax of 'ensure'
4753 changed to correspond with Bastiaan's last commit.
4755 2007-03-20 Bastiaan Jacques <bastiaan@bjacques.org>
4757 * server/as_object.h: Add ensureType<classname>, which is intended to
4758 replace the class-specific ensureClass functions. Suggested by Ann.
4759 Demangle the object name in the exception message if GCC >= 3 is being
4761 * server/asobj/Boolean.cpp: Switch ensureClass to ensureType.
4762 * server/vm/ASHandlers.cpp: In ActionDelete(), don't pop an object off
4763 the AS stack in the hopes that it magically has a property which might
4764 be the object that is to be deleted. Instead, traverse the stack using
4766 * server/as_object.h: Remove the ensureType for raw pointers in favour
4767 of the one for intrusive pointers; the former is now unused.
4768 * server/asobj/NetStreamFfmpeg.cpp: Update for changes in ensureType.
4769 * server/asobj/LocalConnection.cpp: Don't initialise Gnash-only methods
4770 that were intended for debugging.
4772 2007-03-19 Sandro Santilli <strk@keybit.net>
4774 * server/as_value.{cpp,h}: simplify union by using
4775 a single pointer value, toward using a smart pointer
4777 * testsuite/actionscript.all/Function.as: expect a couple
4778 of successes I missed on last commit.
4780 2007-03-19 Ann Barcomb <kudra@domaintje.com>
4782 * server/as_object.h: corrected Doxygen comments about
4783 get_member() versus gettersetter methods.
4785 2007-03-19 Sandro Santilli <strk@keybit.net>
4787 * testsuite/actionscript.all/Function.as: add more tests
4788 for 'constructor', '__constructor__' and super.
4789 A lot of them fail and the test is still not complete.
4791 2007-03-19 Ann Barcomb <kudra@domaintje.com>
4793 * doc/C/actionscript/new_as_class.xml: document the changed syntax
4794 for returning a value (see Bastiaan's commit).
4796 2007-03-19 Bastiaan Jacques <bastiaan@bjacques.org>
4798 * server/vm/fn_call.h: Remove fn_call::result. Instead, all methods and
4799 functions called by ActionScript must return as_value. Thanks to Ann
4800 for the suggestion and for help with regular expressions.
4801 * all over the place: Switch all ActionScript-called methods over to
4802 return as_value. Adjust all related methods. Also make fn_call::nargs
4804 * server/as_value.h: Add additional constructors taking longs as
4805 arguments to account for platforms that define size types as longs.
4807 2007-03-19 Ann Barcomb <kudra@domaintje.com>
4809 * doc/C/actionscript.xml, doc/C/actionscript/*, doc/C/Makefile.am:
4810 Split main.xml into multiple files.
4812 2007-03-19 Sandro Santilli <strk@keybit.net>
4814 * server/timers.cpp (timer_setinterval):
4815 Accept call in the form setInterval(obj, methodname, timer);
4816 warn about unsupported args (right-most arguments).
4818 2007-03-19 Ann Barcomb <kudra@domaintje.com>
4820 * doc/C/actionscript.xml, doc/C/gnash.xml, doc/C/actionscript/main.xml,
4821 doc/C/Makefile.am: ActionScript has been removed from the Gnash
4822 manual. A new ActionScript manual has been created. Most of
4823 material has been rewritten and incorporates Sandro's
4824 feedback on the previous version.
4826 2007-03-19 Sandro Santilli <strk@keybit.net>
4828 * testsuite/misc-ming.all/ming_utils.h: Add Ming defines available onl
4829 in CVS; some of the new testcases depend on these. Suggested by
4832 2007-03-19 Bastiaan Jacques <bastiaan@bjacques.org>
4834 * testsuite/actionscript.all/LoadVars.as: Don't assume that the system on
4835 which testcases are run has a HTTP server running on localhost that meets
4836 our specifications. Instead, read object property data from a local file
4837 and update the expected output to match.
4839 2007-03-19 Zou Lunkai <zoulunkai@gmail.com>
4841 * testsuite/misc-ming.all/action_execution_order_test4.c:
4842 add tests about onClipEvent(onConstruct) and user defined onLoad for _root
4844 2007-03-18 Bastiaan Jacques <bastiaan@bjacques.org>
4846 * testsuite/libamf.all/test_number.cpp: Don't overflow the data buffer.
4848 2007-03-18 Antti Ajanki <antti.ajanki@iki.fi>
4850 * gui/kde.cpp: Since the GUI callbacks are no longer statics, adjust
4851 our usage of them to match.
4853 2007-03-17 Sandro Santilli <strk@keybit.net>
4855 * server/swf_function.cpp (call operator): don't
4856 provide 'super' if SWF version is < 6.
4858 2007-03-17 Markus Gothe <nietzsche@lysator.liu.se>
4860 * libamf/amf.h: Fixed a naming issue on non-GCC.
4861 * server/asobj/Date.cpp: Fixed namespace-issue for 'trunc'
4863 2007-03-16 Sandro Santilli <strk@keybit.net>
4865 * server/vm/ASHandlers.cpp: more usage of as_value::to_debug_string().
4866 * server/as_value.{cpp,h}: add to_debug_string(), have output
4868 * server/as_environment.{cpp,h}: use debugging output for as_values
4869 when dumping stack,registers and locals.
4871 2007-03-16 Rob Savoye <rob@bertha.welcomehome.org>
4873 * testsuite/libamf.all/string-variable.amf: Binary test case for
4875 * testsuite/libamf.all/number-variable.amf: Binary test case for
4877 * testsuite/libamf.all/test_variable.cpp: Test case for encoding
4878 and decoding variable assignments which as used in AMF objects.
4879 * libamf/amf.cpp, amf.h: Add support for encoding variables. Make
4880 extractVariables actually set the fields of the element so they
4881 have some value when returned.
4883 * libamf/amf.cpp, amf.h: Use capitols for enum values. Fix
4884 encoding and decoding of numbers, strings, and objects.
4885 * libamf/rtmp.cpp, rtmp.h: Use capitols for enum values.
4886 * libamf/Makefile.am: Remove amftest.cpp, it's now in testsuites
4888 * testsuite/Makefile.am: Add libamf.all directory.
4889 * testsuite/libamf.all/Makefile.am: Build test cases, do "make
4891 * testsuite/libamf.all/test_number.cpp: Test case for AMF numbers.
4892 * testsuite/libamf.all/test_object.cpp: Test case for AMF objects.
4893 * testsuite/libamf.all/test_string.cpp: Test case for AMF strings.
4894 * testsuite/libamf.all/f03f.amf: Binary test file for number format.
4895 * testsuite/libamf.all/connect-object.amf: Binary test file for
4897 * testsuite/libamf.all/connect-string.amf: Binary test file for
4900 2007-03-16 Sandro Santilli <strk@keybit.net>
4902 * testsuite/actionscript.all/: Function.as, Inheritance.as:
4903 Some more tests for __constructor__.
4904 * server/vm/ASHandlers.cpp (construct_object): set up the
4905 undocumented and non-standard __constructor__ member.
4906 * server/asobj/Object.cpp (object_registerClass): don't forget
4907 to return a boolean value !
4908 * server/sprite_instance.cpp: allow overriding the _name property.
4909 * testsuite/swfdec/PASSING: more successes.
4911 2007-03-16 Sandro Santilli <strk@keybit.net>
4913 * server/as_value.{cpp,h}: depreciate operator+=, implement valueOf
4915 * server/vm/ASHandlers.cpp (ActionNewAdd): pass environment over
4916 calls to as_value::to_number, for properly calling valueOf.
4917 * testsuite/actionscript.all/Number.as: more tests for valueOf
4918 * testsuite/misc-ming.all/: .cvsignore, Makefile.am:
4919 Automate run of the new testcases.
4921 2007-03-16 Zou Lunkai <zoulunkai@gmail.com>
4923 * tesrttsuite/misc-ming.all/action_execution_order_test4.c.
4924 * testsuite/misc-ming.all/action_execution_order_test5.c.
4925 add 2 more testcases to verify actions execution order.
4927 2007-03-13 Sandro Santilli <strk@keybit.net>
4929 * server/as_value.h (to_number): null and undefined are converted
4930 to NaN for SWF7 up; drop is_inf,is_finite and is_nan methods,
4931 handle in the caller.
4932 * server/asobj/Global.cpp: proved _global.NaN and _global.Infinity
4933 values; fix isFinite() and isNaN().
4934 * testsuite/actionscript.all/Number.as: more tests for the NaN and
4936 * server/as_value.cpp (to_tu_string): both -0.0 and 0.0 number values
4937 get converted to the string "0".
4938 * testsuite/actionscript.all/Boolean.as: do not expect failures for
4939 string to boolean conversion for SWF7 up.
4940 * server/as_value.cpp (to_bool): have NaN numbers evaluate to
4941 false; add version-specific versions to_bool_v5(), to_bool_v6() and
4942 to_bool_v7(); add to_std_string_versioned.
4943 * testsuite/server/: DisplayListTest.cpp, GetterSetterTest.cpp,
4944 MatrixTest.cpp, PropertyListTest.cpp, as_prop_flagsTest.cpp:
4945 include check.h last, to avoid 'check' macro to clash with boost
4946 headers (ptr_container stuff).
4947 * server/sprite_instance.cpp: add support for MovieClip.loadVariables.
4948 * server/Makefile.am, server/LoadVariablesThread.{cpp,h},
4949 server/asobj/LoadVars.cpp: extracted what was previously called LoadRequest
4950 in LoadVars.cpp, for general use, cleanups.
4951 * server/vm/ASHandlers.cpp (CommonGetUrl): add support for the
4953 * testsuite/misc-mtasc.all/function.as: add more test for
4954 the arguments object.
4955 * server/vm/ASHandlers.cpp (ActionNewAdd, ActionTrace): pass an environment when
4956 converting as_value to string, to properly invoke any toString
4958 * server/character.cpp (parent_getset): _parent is undefined (not
4959 null) for _root sprite.
4960 * testsuite/actionscript.all/String.as: add tests for automatic
4961 calling of the toString() method.
4962 * testsuite/actionscript.all/Function.as: add tests for toString
4964 * server/as_function.h: override get_text_value() to properly return
4966 * server/as_value.cpp (convertion to string): Invoke any toString method
4967 associated with objects, if caller properly passes an as_environment
4969 * testsuite/swfdec/PASSING: many more successes.
4970 * server/as_value.h: add constructor by const std::string ref.
4971 * server/vm/VM.{h,cpp}: add getPlayerVersion()
4972 * server/asobj/System.{h,cpp}: cleanups, use getPlayerVersion()
4973 for System.capabilities.version
4974 * server/sprite_instance.cpp (attachMovieClipProperties): initialize
4975 the $version member.
4976 * testsuite/actionscript.all/MovieClip.as: more tests for the '$version'
4977 built-in variable; new test for _parent of root being undefined (not
4979 * server/as_object.{cpp,h}: add a third argument for init_member to
4980 override protection (can be omitted to use previous default).
4982 2007-03-13 Sandro Santilli <strk@keybit.net>
4984 * testsuite/actionscript.all/System.as: add checks for $version.
4985 * testsuite/swfdec/PASSING: 3 more tests succeed.
4986 * server/sprite_instance.cpp (get_text_value): remove the trailing
4987 dot from name of top-level movies.
4989 2007-03-12 John Gilmore <gnu@toad.com>
4991 * configure.ac: Suggest agg-2.5 rather than 2.4 if
4992 agg_gradient_lut.h is missing.
4993 * configure.ac: Sandro's fix to "ming version" test that failed if
4994 ming was not installed.
4996 2007-03-12 Sandro Santilli <strk@keybit.net>
4998 * server/as_object.cpp (init_member): fix typo setting flags
4999 for buiting methods all wrong.
5000 * testsuite/actionscript.all/delete.as: don't expect the failures
5001 on function prototype deletion anymore.
5002 * server/button_character_instance.{cpp,h}: implement
5003 ::construct() to postpone characters instance name assignmnet
5004 at stage placement time.
5006 2007-03-12 Udo Giacomozzi <udo.gnu@nova-sys.net>
5008 * server/character.h: introduce wantsInstanceName() to provide
5009 a clean way to tell which objects need an instance name
5010 * server/button_character_instance.{h,cpp}: Give childs a name;
5011 implement get_relative_target() for buttons; define that
5012 buttons should get instance names
5013 * server/edit_text_character.h: text fields need instance names
5015 * server/sprite_instance.{h,cpp}: implement and use
5019 2007-03-12 Sandro Santilli <strk@keybit.net>
5021 * server/as_prop_flags.h: add equality and inequality operators.
5022 * testsuite/actionscript.all/delete.as: add test verifying that
5023 delete on object references won't affect other references
5024 on the same object; add test to check that a user-defined
5025 function's prototype is not deletable (fails in Gnash!).
5026 * server/vm/ASHandlers.cpp (ActionCallFunction, ActionCallMethod,
5027 ActionNewMethod): rather then pushing undefined values for
5028 missing argument values on the stack, warn about the type of
5029 SWF malformation and modify the number of args by using at most
5030 what's on the stack.
5031 * testsuite/swfdec/PASSING: callfunction-stack.swf
5034 2007-03-12 Bastiaan Jacques <bastiaan@bjacques.org>
5036 * server/asobj/Boolean.cpp: Add ensureBoolean() to guard
5039 2007-03-12 Sandro Santilli <strk@keybit.net>
5041 * testsuite/actionscript.all/Global.as: argh, it
5042 seems that _global is a non-Object object :!?
5043 * testsuite/swfdec/PASSING: 3 newly added swfdec tests
5045 * testsuite/misc-ming.all/Makefile.am: activated the
5046 new action execution order tests.
5048 2007-03-11 Zou Lunkai <zoulunkai@gmail.com>
5050 * testsuite/misc-ming.all/action_execution_order_test1.c.
5051 * testsuite/misc-ming.all/action_execution_order_test2.c.
5052 * testsuite/misc-ming.all/action_execution_order_test3.c.
5053 3 new testcases to verify action execution order.
5055 2007-03-11 Deanna Phillips <deanna>
5057 * cygnal/stream.cpp: Added #include <unistd.h>
5059 2007-03-10 Rob Savoye <rob@bertha.welcomehome.org>
5061 * macros/boost.m4: Only select one library! So please leave the
5062 break lines in after the libraries are matched in the file
5063 system. Check for date_time in the same way to handle the weird
5064 naming of boost libraries.
5066 2007-03-10 Sandro Santilli <strk@keybit.net>
5068 * testsuite/actionscript.all/Makefile.am:
5069 Import Dejagnu.swf from the same dir the SWF is in, to work
5070 around player8+ lame security model.
5071 * server/array.{cpp,h}: provide an override for
5073 * testsuite/swfdec/PASSING: array.swf now passes.
5075 2007-03-10 Sandro Santilli <strk@keybit.net>
5077 * testsuite/swfdec/PASSING: expect 5 more successes.
5078 * testsuite/swfdec/swfdec_gnash_tester: allow 11 advances rather
5079 then 10 (this is likely due to Gnash current additional advance
5080 required for proper construction of initial stage). Makes 5 more
5081 tests from the swfdec testsuite pass (including gotoframe!!).
5082 * server/sprite_instance.cpp (add_display_object):
5083 Only syntetize instance names for sprite instances
5084 (fixes swfdec's names.swf testcase).
5086 2007-03-09 Tomas Groth Christensen <tomasgroth@yahoo.dk>
5088 * libbase/LoadThread.h: Documented the class.
5090 2007-03-09 Sandro Santilli <strk@keybit.net>
5092 * testsuite/swfdec/swfdec_gnash_tester:
5093 Fixed to allow loopbacks.
5095 2007-03-09 Stuart Anderson <anderson@netsweng.com>
5097 * testsuite/misc-ming.all/Makefile.am: fix check rule
5098 when building with Ming < 0.4.0-beta2.
5100 2007-03-09 Sandro Santilli <strk@keybit.net>
5102 * configure.ad: Add MAKESWF_SUPPORTS_PREBUILT_CLIPS conditional.
5103 * extensions/dejagnu/dejagnu.cpp, extensions/fileio/fileio.cpp:
5104 Use builtin_function and init_member for members initialization.
5105 * server/as_value.{cpp,h}, server/vm/ASHandlers.cpp,
5106 server/vm/action.cpp: Drop C_FUNCTION as_value type.
5107 WARNING: attempts to initialize as_values with
5108 a function pointer will now result in BOOLEAN values !!
5109 The compiler will warn you about this, but make sure
5110 you enable warnings.
5111 * server/: sprite_instance.cpp, textformat.cpp,
5112 video_stream_instance.cpp, edit_text_character.cpp:
5113 Use builtin_function for function as_values.
5115 2007-03-09 Tomas Groth Christensen <tomasgroth@yahoo.dk>
5117 * libbase/LoadThread.{h,cpp}: Added implementation of a download thread.
5118 * libbase/Makefile.am: Included LoadThread.{h,cpp}.
5119 * libbase/curl_adapter.cpp, libbase/noseek_fd_adapter.cpp,
5120 libbase/tu_file.{h,cpp}, libbase/zlib_adapter.cpp: Removed
5121 get_cur_stream_size(), instead used LoadThread::getBytesLoaded().
5122 * server/asobj/NetConnection.cpp: Use LoadThread.
5123 * server/asobj/NetStream.{h,cpp}, server/asobj/NetStreamFfmpeg.{h,cpp},
5124 server/asobj/Sound.{h,cpp}, server/asobj/SoundFfmpeg.{h,cpp}: Fixed
5125 compilation with newer FFMPEG versions.
5127 2007-03-09 Sandro Santilli <strk@keybit.net>
5129 * server/asobj/xmlsocket.cpp: use call_method() and call_method0()
5130 rather then duplicate its implementation.
5131 * server/asobj/xml.cpp: use call_method() rather then
5132 duplicate its implementation.
5133 * server/as_environment.cpp: include index in registers dump.
5134 * server/vm/ASHandlers.cpp (ActionEnumerate, ActionEnumerate2):
5135 Make 'for (i in <non-object-value>)' an ASCODING error.
5136 * server/: sprite_instance.{cpp,h}, character.{cpp,h}:
5137 Moved getNextUnnamedInstanceName() from sprite_instance
5138 to character, for use withing other character types
5139 (like buttons) and use a single counter for the whole
5142 2007-03-09 Sandro Santilli <strk@keybit.net>
5144 * server/asobj/Object.cpp: remove TESTING
5145 warnings for getOwnProperty, isPrototypeOf and
5146 isPropertyEnumerable. Warn only once about unimplemented
5147 watch and unwatch methods.
5148 * server/vm/ASHandlers.cpp: warn only once about
5149 Enum2 being in TESTING stage.
5151 2007-03-09 Sandro Santilli <strk@keybit.net>
5153 * server/as_object.{cpp,h}: add getOwnProperty and prototypeOf()
5155 * server/asobj/Object.cpp: implement Object.hasOwnProperty(),
5156 Object.isPropertyEnumerable() and isPrototypeOf(); stub
5157 Object.watch() and Object.unwatch().
5158 * testsuite/actionscript.all/Object.as: add tests for
5159 Object.hasOwnProperty(), Object.isPropertyEnumerable() and
5160 isPrototypeOf(); add TODO note for testing Object.watch()
5161 and Object.unwatch().
5163 2007-03-08 Udo Giacomozzi <udo.gnu@nova-sys.net>
5165 * server/character.h: drop m_enabled since nobody uses it
5166 * server/button_character_instance.{h,cpp}: add "enabled" property
5167 and receive mouse events only when enabled
5169 2007-03-08 Bastiaan Jacques <bastiaan@bjacques.org>
5171 * gui/gtk.cpp: Fix GTK/AGG redrawing upon expose events by switching
5172 to the new invalidation interface. In this incarnation, only the area
5173 which is newly exposed is redrawn.
5175 2007-03-08 Udo Giacomozzi <udo.gnu@nova-sys.net>
5177 * extensions/fileio/fileio.cpp: Fixed fread()
5179 2007-03-08 Sandro Santilli <strk@keybit.net>
5181 * server/as_object.h: new protected clearProperties() method.
5182 * server/sprite_instance.cpp (restart): clear properties.
5184 2007-03-08 Sandro Santilli <strk@keybit.net>
5186 * server/sprite_instance.cpp (construct):
5187 Ensure first frame is loaded, to eventually not waiting for
5188 ::advance to call ::construct and finally remove the startup
5189 lateny we're currently experiencing;
5190 (restart): call construct() directly, rather then postponing
5191 the call to ::adnvace and relying on the crappy
5192 m_onload_event_called flag.
5194 2007-03-08 Sandro Santilli <strk@keybit.net>
5196 * server/character.h: document set_event_hanlder,
5197 get_event_handler (as we're getting it wrong).
5198 * testsuite/actionscript.all/MovieClip.as:
5199 Test that the onLoad member of a MovieClip
5200 can be set to any value.
5201 * server/sprite_instance.{h,cpp}: drop unused
5202 m_update_frame variable. (restart): simplify
5203 and properly reset the displayList backup.
5205 2007-03-08 Zou Lunkai <zoulunkai@gmail.com>
5207 * testsuite/misc-ming.all/action_execution_order_extend_test.c:
5208 Add a check, seems PlaceObject2 tag should not define any functions
5210 2007-03-07 Sandro Santilli <strk@keybit.net>
5212 * gui/gtk.cpp: hook restart menu
5213 * server/sprite_instance.cpp (restart): properly
5214 clear the displaylist. Invalidated bounds could
5215 likely be more fine-tuned.
5217 2007-03-07 Sandro Santilli <strk@keybit.net>
5219 * gui/gui.{h,cpp}: add play(), pause() and stop() methods,
5220 change implementation to be semantically correct and not
5221 mess with sprites playstate; Changed menu_* to non-statics
5222 to properly acces state. I'm sure this will break fltk but
5223 fixing should be easy with men_fun and bind1st..
5224 * gui/gtk.cpp: enable stop(), pause() and play() menu items.
5225 * server/asobj/ContextMenu.cpp: Some more stubs.
5226 * testsuite/actionscript.all/ContextMenu.as: Some more tests.
5227 * server/as_value.cpp (to_bool) don't choke
5228 when converting a movieclip value to a boolean.
5229 * testsuite/actionscript.all/Boolean.as:
5230 Add tests for convertion to boolean value.
5232 2007-03-07 Robert Millan <rmh@aybabtu.com>
5234 * plugin/plugin.cpp: Guard the first argument to kill() for previously
5235 unconsidered values.
5237 2007-03-07 Udo Giacomozzi <udo.gnu@nova-sys.net>
5239 * backend/render_handler_agg.cpp: fixed segfault #19223; set correct
5240 visiblerect; fixed Range2d.width() usage; fixed getMaxY() usage
5241 * extensions/fileio/fileio.{h,cpp}: implemented an experimental
5242 scandir() function (may move to a separate extension); same story
5244 * server/sprite_instance.cpp: Make sure clear_invalidated() is called
5245 for sprites which currently have an empty DisplayList
5246 * server/button_character_instance.{h,cpp}: Implemented correct behaviour
5247 on button state change (invalidate only when needed, restart only
5248 reappeared characters)
5250 2007-03-07 Sandro Santilli <strk@keybit.net>
5252 * testsuite/swfdec/: README, swfdec_gnash_tester:
5253 Initial stuff to hook on swfdec testsuite.
5255 2007-03-06 Rob Savoye <rob@bertha.welcomehome.org>
5257 * missing: Update to newer version.
5258 * mkinstalldirs: Update to newer version.
5259 * Makefile.am: Add new "olpc" target to cross build RPM using a
5260 non standard config triplet to force rpmbuild to work correctly,
5261 since it doesn't support the vendor field. Add macros/incllist
5262 macros/libslist to EXTRA_DIST.
5263 * packaging/redhat/gnash.spec: Add support for cross building
5265 * packaging/redhat/rpmrc: Config file for rpmbuild to convert non
5266 standard config for geode-olpc into a standard i386-olpc-linux
5267 build, but use the correct cross compiler.
5268 * plugin/plugin.cpp: Cast away the const for MIME_TYPES_DESCRIPTION.
5269 * plugin/klash/Makefile.am: Don't build klash.moc, it's built in
5271 * configure.ac: Remove --enable-fork option, it's unused. Get the
5272 root directory to look for headers and libraries for a cross build
5273 from GCC, as the path is different when building RPMs.
5274 * cygnal/Makefile.am: Fix spelling of noinst_HEADERS.
5275 * cygnal/README: Fix typo.
5276 * extensions/Makefile.am: Add support for other directories for
5277 building a distribution.
5278 * extensions/gtk2/Makefile.am: Include from gui directory
5279 too. Don't build test program by default for now.
5280 * gui/Makefile.am: Add XML to include paths.
5281 * gui/gnash.cpp: Disable network support for now.
5282 * gui/gtksup.h: Return the GtkWidget handle of a window.
5283 * libbase/Makefile.am: PTHREAD_LIBS should always be after
5285 * libbase/network.cpp: Tweak debug messages. Test for priviledged
5286 ports. Add support for a blocking select when waiting for a
5288 * macros/boost.m4: Break when the right path is found.
5289 * macros/ffmpeg.m4: Handle multiple directories with -I when
5290 setting topdir. Print a warning if avcodec.h is found, but
5292 * macros/gnashpkgtool.m4: Don't create an enable option for
5293 everything, it's confusing.
5294 * macros/kde.m4: Look in incllist as well as libslist for QT
5296 * testsuite/Makefile.am: Add generic-testrunner.sh to dist_noinst_SCRIPTS.
5297 * testsuite/misc-ming.all/Makefile.am: Add intervalTest.as to
5300 2007-03-06 Bastiaan Jacques <bastiaan@bjacques.org>
5302 * backend/render_handler_agg.cpp: Fix an off-by-one error causing
5303 invalid memory accesses. Use rint() instead of the missing round()
5305 * gui/fltk{.cpp, sup.h, _glue_agg.cpp, _glue_agg.h}: Reimplement AGG
5306 clipping using the new interfaces.
5307 * macros/boost.m4: Fix order of lines so that the value of LIBS is
5308 properly restored. Fixes bug #19211.
5309 * server/asobj/Date.cpp: Add an implementation (written by Sandro)
5310 of trunc for platforms that don't define it, e.g. OpenBSD 3.9.
5312 2007-03-06 Sandro Santilli <strk@keybit.net>
5314 * server/as_value.cpp (to_to_string): positive Infinity
5315 doesn't have the plus sign prepended (at least for SWF5, didn't
5316 check with other targets).
5317 * server/vm/ASHandlers.cpp (ActionCallMethod): properly
5318 setup the 'this' pointer when not specified in the tag
5319 itself as the object parameter.
5320 * server/vm/ActionExec.{h,cpp}:
5321 Add a _this_ptr member and a getThisPointer() function
5322 for use with function calls.
5323 * server/swf_function.cpp (operator()): setup the this_ptr
5324 in ActionExec instance.
5325 * testsuite/misc-mtasc.all/function.as: unexpect last failure.
5326 Looking for more failures now...
5328 2007-03-06 Sandro Santilli <strk@keybit.net>
5330 * testsuite/misc-mtasc.all/function.as:
5331 Add a (succeeding) test for 'this' pointer being correctly set
5332 on ActionCallMethod with *defined* name.
5334 2007-03-06 Udo Giacomozzi <udo.gnu@nova-sys.net>
5336 * libgeometry/snappingrange2d.h: do not call combine_ranges() too
5339 2007-03-06 Sandro Santilli <strk@keybit.net>
5341 * server/vm/ASHandlers.cpp (ActionCallMethod): when method name
5342 is undefined, we must use the provided object's constructor.
5343 * testsuite/misc-mtasc.all/function.as: add (failing) test for
5344 'this' pointer being correctly set on ActionCallMethod.
5346 2007-03-06 Ann Barcomb <kudra@domaintje.com>
5348 * server/asobj/xmlsocket.cpp: convert init_member to new
5351 2007-03-06 Sandro Santilli <strk@keybit.net>
5353 * server/as_object.cpp (instanceOf): made circular inheritance an
5355 * testsuite/actionscript.all/Inheritance.as: test circular inheritance
5357 * server/vm/ASHandlers.cpp (ActionWith): survive empty 'with' blocks.
5358 * testsuite/actionscript.all/with.as: test empty 'with' block.
5360 2007-03-06 Udo Giacomozzi <udo.gnu@nova-sys.net>
5362 * backend/render_handler_agg.cpp: Round outline edge anchor points to
5363 eliminate anti-aliasing blur and to do it the MM way...; draw outlines
5364 always with at least 1.0 pixels width
5365 * libgeometry/snappingrange2d.h: Implement growBy()
5366 * gui/gui.cpp: grow invalidated ranges by 2 pixels to solve anti-aliasing
5367 and outline displacement problems
5369 2007-03-06 Sandro Santilli <strk@keybit.net>
5371 * testsuite/misc-mtasc.all/: Makefile.am, TestClass.as, function.as:
5372 Testcase for ActionCallMethod showing the 'this' pointer is not
5373 correctly set in Gnash when we lack a method name.
5374 * server/vm/ASHandlers.cpp (ActionCallMethod): use object as a
5375 function when method name is undefined. This makes a step
5376 forward with laszlo, altough I'm not sure about wheter
5377 the 'this' pointer is correctly set to the function itself.
5378 * server/debugger.{h,cpp}: use unsigned types for register indexes;
5379 properly accept *const* string refs.
5381 2007-03-05 Sandro Santilli <strk@keybit.net>
5383 * utilities/processor.cpp: don't call gnash::clear, I suspect
5384 we're unable to properly cancel loading threads, and this
5385 being the cause for the occasional segfaults raising on
5386 'make check' (to be confirmed, hopefully).
5388 2007-03-05 Ann Barcomb <kudra@domaintje.com>
5390 * server/asobj/xmlnode.cpp: convert init_member to new
5393 2007-03-05 Sandro Santilli <strk@keybit.net>
5395 * server/: character.h, sprite_instance.{h,cpp}:
5396 Add character::unload() virtual method to properly unload
5398 * server/dlist.cpp: call character::unload() rather then
5399 directly invoking the UNLOAD event.
5400 * testsuite/misc-ming.all/action_execution_order_extend_test.c:
5401 Do not expect failures of unload event execution.
5403 2007-03-05 Ann Barcomb <kudra@domaintje.com>
5405 * doc/C/internals.xml: section 'ActionScript Support' was updated
5406 in an attempt to describe the current interface.
5408 2007-03-05 Sandro Santilli <strk@keybit.net>
5410 * testsuite/misc-ming.all/action_execution_order_extend_test.c:
5411 Add onLoad *clip* event and verify that having the clip event
5412 defined triggers actual execution of the the onLoad event
5413 for it (even the user-defined one!).
5414 * libgeometry/snappingrange.h: add visit() templated function.
5415 * server/parser/movie_def_impl.h, server/parser/movie_definition.h:
5416 Document movie_definition::get_bytes_total().
5417 * testsuite/misc-ming.all/Makefile.am: enable run
5418 of action_execution_order_extend_test by 'make check'.
5420 2007-03-05 Zou Lunkai <zoulunkai@gmail.com>
5422 * testsuite/misc-ming.all/action_execution_order_test.c: Comments fix.
5423 * testsuite/misc-ming.all/action_execution_order_extend_test.c:
5424 A new testcase for testing action execution order.
5426 2007-03-04 Tomas Groth Christensen <tomasgroth@yahoo.dk>
5428 * libbase/curl_adapter.cpp: Added support for getting the total size
5429 of file being downloaded (get_stream_size()), and the current cached
5430 size (get_cur_stream_size()).
5431 * libbase/tu_file.{cpp,h}: Added get_size() and get_cur_size() which
5432 uses get_stream_size() and get_cur_stream_size().
5433 * libbase/noseek_fd_adapter.cpp, libbase/zlib_adapter.cpp: Added dummy
5434 support for get_stream_size() and get_cur_stream_size()
5435 * server/asobj/NetConnection.{cpp,h}: Switched to use StreamProvider
5436 * server/asobj/NetStream.{cpp,h}, server/asobj/NetStreamFfmpeg.{cpp,h},
5437 server/asobj/NetStreamGst.{cpp,h}: Added support for the bytesLoaded
5438 and bytesTotal property.
5440 2007-03-03 Sandro Santilli <strk@keybit.net>
5442 * server/as_value.h: add ALLOW_C_FUNCTION_VALUES to prepare
5443 for dropping C_FUNCTION value types as a whole. Undefine
5444 it to make finding bogus uses easier and finish the
5446 * server/asobj/: MovieClipLoader.cpp, Number.cpp, Object.cpp,
5447 Selection.cpp, SharedObject.cpp, Sound.cpp, Stage.cpp,
5448 System.cpp, TextSnapshot.cpp, Video.cpp, xml.cpp:
5449 Use builtin_function when initializing methods.
5450 * server/asobj/: Boolean.cpp, Camera.cpp, Color.cpp,
5451 ContextMenu.cpp, CustomActions.cpp, Date.cpp, Error.cpp,
5452 Global.cpp, Key.cpp, gLoadVars.cpp, LocalConnection.cpp,
5453 Math.cpp, Microphone.cpp, Mouse.cpp, NetConnection.cpp,
5455 Use builtin_function when initializing methods.
5457 2007-03-03 Sandro Santilli <strk@keybit.net>
5459 * server/as_value.{cpp,h}: always check for real type
5460 of an as_object to properly set type to AS_FUNCTION
5461 for actual as_function instances. always check
5462 for NULL pointers to properly set type to NULLTYPE.
5463 Fixes latest tests in Function.as.
5464 * server/: as_object.h, as_function.h:
5465 Add virtual to_function() method to reduce RTTI use.
5466 * testsuite/actionscript.all/Function.as:
5467 Test using 'this' as a constructor. Doesn't currently
5468 work becase the 'this' as value is initialized to be
5469 of kind OBJECT rather then AS_FUNCTION (as_value constructor
5470 by as_object doesn't check real type).
5472 2007-03-03 Martin Guy <martinwguy@yahoo.it>
5474 * server/as_value.cpp: More conservative version of NAN fixes.
5475 * testsuite/actionscript.all/Date.as: Check for Date.UTC() existing
5476 and working even before a Date object is instantiated.
5478 2007-03-03 Bastiaan Jacques <bastiaan@bjacques.org>
5480 * gui/gtk.cpp: Don't neglect to render the buffer for renderers other
5482 * gui/fltk.cpp: Invalidate the whole drawing area, which now appears
5483 to be a requirement for Agg when we choose not to let the GUI deal with
5485 * gui/sdl_agg_glue.cpp: Idem dito.
5487 2007-03-03 Martin Guy <martinwguy@yahoo.it>
5489 * server/as_value.cpp: Revert "NaN" change: it makes all GUI canvasses
5491 * server/asobj/XMLNode.cpp: Fix garbled code in {previous,next}Sibling
5493 2007-03-03 Martin Guy <martinwguy@yahoo.it>
5495 * testsuite/actionscript.all/Number.as: Add test for unary minus
5496 * testsuite/actionscript.all/Date.as: Turn "date" temp var into "d"
5497 * testsuite/actionscript.all/TODO: Check result of call to undefined fn
5498 * server/as_value.cpp: Return NAN for bad arguments
5499 * server/asobj/Date.cpp: Fix compiler warning
5500 * server/asobj/xmlnode.cpp: Remove unused vars, highlight 2 bugs
5501 * server/asobj/xml.cpp: Remove unused vars, reproduce commentary
5502 * server/asobj/shape.cpp: Highlight possible bug
5503 * backend/render_handler_ogl.cpp: Removed unused variables
5504 * gui/gtk.cpp: Fix compiler warning signed/unsigned
5506 2007-03-02 Sandro Santilli <strk@keybit.net>
5508 * server/as_environment.{cpp,h}, server/swf_function.cpp:
5509 Registers must also be stacked between function calls,
5511 With this commit I put local registers, local variables
5512 and a function pointer into a CallFrame struct
5513 and stack that directly. pushCallFrame() and popCallFrame()
5514 now replace the add_frame_barrier/set_local_frame_top things.
5515 This commit fixes the testcase under misc-mtasc.all !
5516 * server/vm/ASHandlers.cpp (ActionVar):
5517 Ignore local variable declarations in non-function
5518 context, and make it an aserror.
5519 * server/vm/ASHandlers.cpp (ActionNew): add missing
5520 premature return on malformed SWF.
5521 * server/debugger.{cpp,h}: proxy local variables and
5522 registers dumping to as_environment funx.
5524 2007-03-02 Udo Giacomozzi <udo.gnu@nova-sys.net>
5526 * testsuite/libgeometry/snappingrangetest.cpp: Testcase for snapping
5528 * libgeometry/snappingrange.h: drop DSOLOCAL
5530 2007-03-02 Rob Savoye <rob@bertha.welcomehome.org>
5532 * macros/libslist: Add /usr/X11/lib, without the usual R6.
5533 * macros/incllist: Add /usr/X11/include, without the usual R6.
5535 2007-03-02 Sandro Santilli <strk@keybit.net>
5537 * testsuite/misc-mtasc.all/inheritance.as:
5538 Add more tests, more failing !
5540 2007-03-01 Sandro Santilli <strk@keybit.net>
5542 * server/vm/ASHandlers.cpp (ActionNewMethod):
5543 Use object parameter as *the* function if method name is
5544 undefined; check that the constructor is actually a function;
5545 (ActionNew) check that the constructor is actually a function;
5546 (constructor_object) assert that the constructor is a function.
5547 * testsuite/misc-mtasc.all/inheritance.as:
5548 Add test provided by P T Withington for debugging
5549 problems with OpenLaszlo foundation classes.
5551 2007-03-01 Tomas Groth Christensen <tomasgroth@yahoo.dk>
5553 * server/asobj/NetConnection.cpp: Added support for relative path.
5554 * server/asobj/NetStreamFfmpeg.cpp: include sound_handler.h.
5556 2007-03-01 Udo Giacomozzi <udo.gnu@nova-sys.net>
5558 * server/video_stream_instance.cpp: simplify add_invalidated_bounds()
5559 * libgeometry/snappingrange.h: Clarify comment; use initialization list
5560 in constructor; some minimal changes
5561 * backend/render_handler.h, libgeometry/snappingrange.h: fixed some compiler
5563 * server/gnash.h, server/types.cpp: introducing cxform::is_invisible()
5564 * server/sprite_instance.cpp: treat cxform.alpha==0 like !m_visible
5566 2007-03-01 Zou Lunkai <zoulunkai@gmail.com>
5568 * server/dlist.cpp: keep function declaration consistent with the headfile;
5569 libamf/amf.cpp: typos, get rid of warnings for vc8 compiler.
5571 2007-03-01 Sandro Santilli <strk@keybit.net>
5573 * testsuite/actionscript.all/: array.as, Function.as
5574 Don't expect failures when checking for missing
5576 * server/as_function.cpp (getFunctionPrototype):
5577 Don't register 'apply' and 'call' members if
5578 SWF < 6; use builtin_function when registering them.
5579 * testsuite/actionscript.all/String.as:
5580 Add test for 'substring' with base == length;
5581 Fix test for SWF5 (no Function.call or Function.apply
5583 * server/vm/ASHandlers.cpp (ActionGotoExpression):
5584 Simplified function, reduced emitted warnings;
5585 (ActionSubString): fix case in which base is == length.
5586 * server/asobj/Global.cpp: register Stage object always.
5587 * server/asobj/Stage.cpp: don't register addListener
5588 and removeListener if SWF < 6.
5589 * testsuite/actionscript.all/Stage.a: update after fix.
5591 2007-02-28 Sandro Santilli <strk@keybit.net>
5593 * libgeometry/Range2d.h (scale): allow the scaled range to be
5594 monodimensional in any direction.
5595 * gui/gui.cpp: removed extra tokens at end of #include directive.
5596 * libgeometry/snappingrange.h: strip CRs, fix contains(), copyright
5597 notice and doxygen formatting.
5598 * testsuite/DummyCharacter.h: update to add_invalidated_bounds
5599 (would not need if character provided a default implementation :)
5601 2007-02-28 Udo Giacomozzi <udo.gnu@nova-sys.net>
5603 * backend/render_handler.h,
5604 gui/fb.cpp, gui/fbsup.h, gui/gtk.cpp, gui/gtksup.h, gui/gui.cpp,
5606 server/button_character_instance.cpp,
5607 server/button_character_instance.h,
5608 server/character.cpp,
5612 server/edit_text_character.cpp,
5613 server/edit_text_character.h,
5614 server/generic_character.cpp,
5615 server/generic_character.h,
5616 server/movie_root.cpp,
5617 server/movie_root.h,
5620 server/sprite_instance.cpp,
5621 server/sprite_instance.h,
5622 server/video_stream_instance.cpp,
5623 server/video_stream_instance.h: replace single invalidated bounds
5624 with new, abstract InvalidatedRanges class and
5625 add_invalidated_range() function to support multiple ranges.
5626 * gui/gtk_glue_agg.cpp: corrected calculation of width/height
5627 * backend/render_handler_agg.cpp: Redesigned and optimized rendering
5628 engine; avoid re-calculation of edges for sub-shapes; re-use AGG
5629 paths; initialize AGG styles only once
5630 * libgeometry/snappingrange.h, libgeometry/Makefile.am: new class
5632 * testsuite/MovieTester.cpp: Adapted to work with multiple ranges
5633 * testsuite/misc-ming.all/loadMovieTestRunner.cpp: add return value
5636 2007-02-28 Sandro Santilli <strk@keybit.net>
5638 * testsuite/: Makefile.am, DummyCharacter.h:
5639 Dummy character instance for use in test cases.
5640 * testsuite/server/: Makefile.am, DisplayListTest.cpp:
5641 Initial test for DisplayList (just tests equality
5642 and inequality operators).
5643 * server/dlist.{cpp,h}: Add equality, inequality
5644 and output operators.
5646 2007-02-28 Sandro Santilli <strk@keybit.net>
5648 * server/array.cpp: use builtin_method for builtin
5649 methods :) ensure the 'this' pointer passed
5650 to builtin methods is valid.
5651 * testsuite/actionscript.all/array.as:
5652 Add test for calling Array builtin functions
5653 using FUnction.call.
5655 2007-02-28 Sandro Santilli <strk@keybit.net>
5657 * server/asobj/gen-asclass.sh: updated to
5658 use new, more robust and more correct layout.
5659 * server/asobj/string.cpp: robustness and
5660 correctness improvements: use builtin_function,
5661 not c_function for buildin methods; make sure
5662 methods are applied to a String instance.
5663 * testsuite/actionscript.all/String.as: add a
5664 test for builtin methods being allowed to be
5665 called using Function interface
5666 (String.prototype.slice.call: just a small example)
5668 2007-02-28 Sandro Santilli <strk@keybit.net>
5670 * server/vm/ASHandlers.cpp: use log_aserror for
5671 ActionScript errors; (ActionExtends): check
5672 that the thing being extended is a function !!
5674 2007-02-28 Sandro Santilli <strk@keybit.net>
5676 * testsuite/actionscript.all/String.as: add
5677 test for read-only nature of 'length' property;
5678 fix test for SWF5 target.
5680 2007-02-28 Sandro Santilli <strk@keybit.net>
5682 * server/swf.h: add reference to ActionConstantPool
5684 * server/parser/action_buffer.h (read_int16):
5685 Use int16_t type, not 'int'.
5686 * server/parser/action_buffer.cpp (process_decl_dict):
5687 Use int16_t type, not 'int'.
5688 * server/vm/ActionExec.{cpp,h} (operator()):
5689 Additional SWF consistency check for action 'length'
5692 2007-02-28 Sandro Santilli <strk@keybit.net>
5694 * server/vm/ActionExec.{cpp,h}: Survive malformed
5696 * server/as_function.cpp: fix Function.apply()
5697 and Function.call() to correctly fetch the
5698 'this' pointer (ie: not accessing the stack
5700 * server/swf_function.{h,cpp}: properly setup
5701 the 'arguments' variable at dispatch time.
5702 * testsuite/actionscript.all/Function.as:
5703 Test the 'arguments' variable in function context.
5704 * server/array.{cpp,h}: allow resize trough
5705 setting the 'length' property.
5706 * testsuite/actionscript.all/array.as: test
5707 that arrays 'length' is settable.
5709 2007-02-28 Markus Gothe <nietzsche@lysator.liu.se>
5711 * server/asobj/Date.cpp: #define NAN (0.0/0.0) as this is not comp.
5712 with C++98 and non-GCC compilers borks.
5713 * gui/gtk.cpp: Added '//' before commentary.
5715 2007-02-27 Martin Guy <martinwguy@yahoo.it>
5717 * server/asobj/Date.cpp: Implement Date.UTC(). It is not yet
5718 initialised properly (Date.UTC() still gives undefined)
5719 * testsuite/actionscript.all/Date.cpp: Test Date.UTC()
5720 * server/asobj/Global.cpp: remove oxbow code.
5721 * server/asobj/Global.cpp: bugfixen: log_aserror is (now?) printf-like
5722 * server/asobj/string.cpp: bugfixen: log_aserror is (now?) printf-like
5724 2007-02-27 Sandro Santilli <strk@keybit.net>
5726 * libgeometry/Range2d.h: add contains(Range2d) method.
5727 * testsuite/libgeometry/Range2dTest.cpp: Add tests for 'contains'.
5729 2007-02-27 Sandro Santilli <strk@keybit.net>
5731 * backend/Makefile.am, backend/sound_handler.h,
5732 backend/sound_handler.cpp, backend/sound_handler_gst.h,
5733 backend/sound_handler_sdl.h, extensions/Makefile.am,
5734 gui/Player.cpp, gui/Player.h, gui/gtk.cpp, gui/gui.cpp,
5735 server/Makefile.am, server/button_character_instance.h,
5736 server/gnash.h, server/impl.cpp, server/impl.h,
5737 server/mouse_button_state.h, server/sound.cpp, server/sound.h,
5738 server/sprite_instance.cpp, server/asobj/Sound.cpp,
5739 server/asobj/SoundFfmpeg.cpp, server/asobj/SoundGst.cpp,
5740 server/asobj/SoundMad.cpp, server/parser/Makefile.am,
5741 server/parser/button_character_def.cpp,
5742 server/parser/button_character_def.h,
5743 server/parser/movie_def_impl.cpp,
5744 server/parser/sound_definition.cpp,
5745 server/parser/sound_definition.h, server/swf/tag_loaders.cpp,
5746 server/vm/ASHandlers.cpp, server/vm/action.cpp,
5747 testsuite/Makefile.am, testsuite/MovieTester.cpp,
5748 testsuite/MovieTester.h, testsuite/sound_handler_test.h,
5749 testsuite/actionscript.all/LoadVars.as,
5750 testsuite/misc-ming.all/Makefile.am,
5751 testsuite/misc-mtasc.all/hello.as,
5752 testsuite/movies.all/Makefile.am, testsuite/samples/Makefile.am:
5753 Files scramble. sound_handler has now it's own header, sound.{cpp,h}
5754 has been moved to parser/sound_definition.{cpp,h}.
5756 2007-02-26 Markus Gothe <nietzsche@lysator.liu.se>
5758 * extensions/fileio/Makefile.am: Added {PTHREAD,BOOST}_CFLAGS
5760 2007-02-26 Sandro Santilli <strk@keybit.net>
5762 * server/impl.cpp, server/swf/tag_loaders.{cpp,h}:
5763 Add support for IMPORTASSETS2 (an SWF8 tag).
5765 2007-02-26 Sandro Santilli <strk@keybit.net>
5767 * server/parser/sprite_definition.h: don't check
5768 for movie definition being NULL as we're not allowing
5770 * server/parser/sprite_definition.cpp (ctor) *require*
5771 a movie_definition as we'll need it for a few things,
5772 including getVersion..
5773 * server/generic_character.h: store character_def
5775 * server/sprite_instance.{cpp,h}: new add_textfield method;
5776 fix add_empty_movieclip to provide a movie_definition to
5777 sprite-definition constructor; handle dynamic sprites
5778 when calling getBytestLoaded/getBytesTotal.
5780 2007-02-26 Sandro Santilli <strk@keybit.net>
5782 * testsuite/actionscript.all/Inheritance.as:
5783 a couple of additional tests for accessing
5784 a function's prototype after a call to
5786 * testsuite/misc-ming.all/RollOverOutTest.c: don't
5787 use Ming-specific 'gotoFrame' ActionScript syntax.
5788 * testsuite/misc-ming.all/gotoFrame2Test.as: don't
5789 use Ming-specific 'gotoFrame' ActionScript construct.
5790 With newer Ming versions (0.4.0.beta4 up) the gotoAndPlay()
5791 call will be converted to GOTOFRAME2 nonetheless.
5792 * server/vm/ASHandlers.cpp (ActionGotoExpression:
5793 Frame are 1-based when referred to by Flash coders.
5794 * testsuite/samples/Makefile.am:
5795 Enabled run of GotoAndPlayTest.swf self-contained
5798 2007-02-26 Sandro Santilli <strk@keybit.net>
5800 * server/parser/morph2_character_def.cpp (display):
5801 survive malformed SWF (mismatching number of paths
5802 or edges in start and end shape); (read): warn
5803 about malformed swf. Fixes bug #19085.
5805 2007-02-26 Sandro Santilli <strk@keybit.net>
5807 * testsuite/misc-mtasc.all/: Makefile.am, inheritance.as:
5808 Test inheritance using MTASC.
5809 * server/swf_function.cpp: 'super' in function2 register is now
5810 tested, don't warn anymore.
5812 2007-02-25 Sandro Santilli <strk@keybit.net>
5814 * libbase/URL.cpp (encode,decode): support ' ' <=> '+' conversion.
5815 * server/asobj/LoadVars.cpp: add support for LoadVars.sendAndLoad().
5817 2007-02-25 Sandro Santilli <strk@keybit.net>
5819 * libbase/curl_adapter.cpp: implemented seek_to_end
5820 for curl-based stream.
5821 * server/as_object.cpp (enumerateProperties):
5822 Fix wrong 'this_ptr' send to PropertyList::enumerateKeyValue()
5824 2007-02-25 Sandro Santilli <strk@keybit.net>
5826 * libbase/URL.{cpp,h}: add encode() and decode()
5827 public static functions.
5828 * server/asobj/Global.cpp (escape/unescape):
5829 Use URL::encode and URL::decode.
5831 2007-02-25 Sandro Santilli <strk@keybit.net>
5833 * server/PropertyList.{cpp,h}: add
5834 enumerateKeyValue() method; renamed
5835 enumerateValues to enumerateKeys (makes more sense).
5836 * server/as_object.{cpp,h}:
5837 add enumerateProperty() overloaded function to
5838 write properties to a std::map
5839 * testsuite/server/PropertyListTest.cpp: add
5840 test for enumerateKeyValue().
5842 2007-02-25 Sandro Santilli <strk@keybit.net>
5844 * server/asobj/NetConnection.{cpp,h}:
5845 Allow build w/out libcurl.
5846 * extensions/fileio/Makefile.am: fix
5847 'make check' and 'make dist' rules.
5848 * server/asobj/LoadVars.cpp: implemented
5849 LoadVars.loaded property.
5850 * testsuite/actionscript.all/LoadVars.as:
5851 Test LoadVars.loaded.
5853 2007-02-25 Markus Gothe <nietzsche@lysator.liu.se>
5855 * macros/libslist: Check in lib32 before lib64.
5856 * utilities/processor.cpp: Fixed optopt as extern ifndef _GNUC_
5857 * macros/boost.m4: Generic approach to test date-time.
5858 * testsuite/libbase/Makefile.am: Fixed $(NULL)-bug.
5859 * server/asobj/Date.cpp: Removed extra ; thus letting gcc compile
5861 * libbase/embedVideoDecoder.h: Removed errornous ','.
5862 * server/asobj/LoadVars.cpp: Fixed "LoadVars.cpp:160: error: ISO C++
5863 forbids variable-size array 'buf'"
5864 * server/asobj/Number.cpp: \%s -> %s.
5866 2007-02-24 Sandro Santilli <strk@keybit.net>
5868 * testsuite/actionscript.all/Math.as:
5869 Fix testcase to reflect actual behaviour when SWF target
5871 * server/asobj/LoadVars.cpp:
5872 Made code more robust, and hopefully also cleaner.
5873 * utilities/processor.cpp:
5874 Fix waitforadvance handling. Wait 5 seconds before
5875 kicking movie to next frame. This allows for testing
5876 intervals and similar time-dependent features.
5877 * testsuite/actionscript.all/LoadVars.as:
5878 Add test for LoadVars.load, LoadVars.getBytesTotal,
5879 LoadVars.getBytesLoaded and LoadVars.onLoad.
5881 2007-02-23 Sandro Santilli <strk@keybit.net>
5883 * server/asobj/LoadVars.cpp:
5884 Use Timers to avoid premature deletion
5885 of the LoadVars object while it's loading
5886 threads are still alive.
5888 2007-02-23 Udo Giacomozzi <udo.gnu@nova-sys.net>
5890 * configure.ac: Fix some minor typos
5892 2007-02-23 Rob Savoye <rob@ute.welcomehome.org>
5894 * configure.ac: Add --with-pixelformat=option to set the AGG pixel
5895 format via the command line to override the defaults if
5896 desired. Exit if one of the values for --with-pixelformat is
5899 2007-02-23 Sandro Santilli <strk@keybit.net>
5901 * testsuite/media/: vars.txt, vars2.txt: data
5902 files for use with LoadVars and loadVariables
5904 * server/as_function.h: add a call() function
5905 to make operator() calls nicer when having
5906 an as_function pointer.
5907 * server/asobj/LoadVars.cpp: implement getBytesLoaded,
5908 getBytesTotal, onLoad and onData events, load() method.
5909 * server/StreamProvider.{cpp,h}: turn into
5910 a singleton, add getStream() version taking
5912 * server/impl.cpp: use the StreamProvider singleton.
5914 2007-02-23 Udo Giacomozzi <udo.gnu@nova-sys.net>
5916 * backend/render_handler_agg.cpp: Use PIXELFORMAT_xxx defines
5919 2007-02-22 Rob Savoye <rob@ute.welcomehome.org>
5921 * configure.ac: Set the pixel type when using AGG for better
5922 efficiency by looking at the GUI type. Print out MySQL paths if
5923 extensions are enabled. Don't build klash if KDE isn't found.
5925 2007-02-22 Udo Giacomozzi <udo.gnu@nova-sys.net>
5927 * server/sprite_instance.cpp: Respect m_old_invalidated_bounds even
5930 2007-02-22 Sandro Santilli <strk@keybit.net>
5932 * libbase/curl_adapter.cpp:
5933 Use a member to store post data, as it
5934 needs a longer lifetime for libcurl to work.
5935 * testsuite/libbase/Makefile.am:
5936 Don't run CurlStreamTest by 'make check'
5937 as it's not ready for automatic testing.
5938 * testsuite/libbase/CurlStreamTest.cpp:
5939 Turn the test into a tool supporting POST
5940 operations (for manual testing it).
5942 2007-02-22 Tomas Groth Christensen <tomasgroth@yahoo.dk>
5944 * backend/sound_handler_gst.cpp: Removed the use of ffdec_mp3 since
5945 it isn't recommended by gstreamer. Added warnings if the used
5946 version of the fluendo-mp3-plugin is too low.
5948 2007-02-22 Udo Giacomozzi <udo.gnu@nova-sys.net>
5950 * backend/render_handler_agg.cpp, backend/render_handler_agg_style.h:
5951 Switched to pre-multiplied pixel values. Fixes some anti-aliasing
5952 issues and improves rendering performance, especially for gradients.
5953 * backend/render_handler_agg.cpp:
5954 Avoid re-initialisation of AGG path class inside for-loop.
5955 * extensions/fileio/fileio.cpp: Fixed fgets() to avoid segfaults;
5956 call fclose() in destructor to close file descriptor in any case.
5957 * server/movie_root.h: Provided write access for m_timer
5958 * gui/fb.cpp: Update global timer to make getTimer() work
5959 at least with the FB GUI
5961 2007-02-22 Sandro Santilli <strk@keybit.net>
5963 * libbase/curl_adapter.{cpp,h}:
5964 Add support for http POST (untested).
5966 2007-02-21 Sandro Santilli <strk@keybit.net>
5968 * testsuite/actionscript.all/Makefile.am:
5970 * testsuite/actionscript.all/check.as:
5971 Provide MEDIA() macro to easy access to
5972 paths in testsuite/media directory.
5974 2007-02-21 Sandro Santilli <strk@keybit.net>
5976 * libbase/log.{cpp,h}: add log_debug and used
5977 for GNASH_REPORT_FUNCTION.
5978 * server/asobj/Global.cpp, server/vm/ASHandlers.cpp:
5979 Changed trace() function to use log_trace.
5981 2007-02-21 Tomas Groth Christensen <tomasgroth@yahoo.dk>
5983 * backend/sound_handler_{gst,sdl}.cpp: Removed newline from warnings, and
5984 added more user help.
5985 * macros/ffmpeg.m4: Yet another go at bug #16663.
5987 2007-02-21 Tomas Groth Christensen <tomasgroth@yahoo.dk>
5989 * configure.ac, macros/ffmpeg.m4: Another go at bug #16663.
5990 * backend/sound_handler_gst.cpp: Added warnings when using fluendos
5991 mp3 plugin for gstreamer, since it doesn't support soundstreams.
5993 2007-02-21 Sandro Santilli <strk@keybit.net>
5995 * server/sprite_instance.cpp (do_actions): report actions
5997 * server/vm/ASHandlers.cpp: Store number of arguments
5998 into an unsigned integer. Fixes an abort with a malformed
6000 * testsuite/misc-ming.all/eventSoundTest1-Runner.cpp:
6001 Don't expect failures anymore !
6003 2007-02-21 Tomas Groth Christensen <tomasgroth@yahoo.dk>
6005 * configure.ac, macros/ffmpeg.m4: Output warning when old ffmpeg-version
6006 detected. Will hopefully fix bug #16663.
6007 * gui/Player.cpp: Set the soundhandler to NULL when shutting down, Will
6008 hopefully fix bug #18545.
6009 * server/asobj/NetStreamFfmpeg.cpp, server/asobj/SoundFfmpeg.cpp,
6010 server/asobj/SoundMad.cpp: Disconnect cleanly from the soundhandler,
6012 * server/sound.{cpp,h}: Made sound_stream_tag into a state tag.
6013 * testsuite/sound_handler_test.cpp: Increment the counting variables
6014 stopped_all and started_all.
6016 2007-02-21 Sandro Santilli <strk@keybit.net>
6018 * server/Makefile.am,
6019 server/swf/DefineFontAlignZonesTag.{cpp,h}:
6020 Initial implementation of DefineFontAlignZones
6021 tag loader (unfinished).
6022 * server/impl.cpp: use unfinished loader for
6023 DEFINEFONTALIGNZONES.
6024 * server/stream.h: add skip_to_tag_end() method.
6026 2007-02-21 Sandro Santilli <strk@keybit.net>
6028 * server/font.{cpp,h}, server/impl.cpp,
6029 server/swf/tag_loaders.{cpp,h}:
6030 Add support for DEFINEFONT3 tag (not much done,
6031 as Alexis report it to be equal to DEFINEFONT2
6032 in definition - needs support of DEFINEALIGNZONES
6033 tag to be fully supported.
6035 2007-02-21 Sandro Santilli <strk@keybit.net>
6037 * testsuite/misc-ming.all/: Makefile.am, gotoFrame2Test.as:
6038 Stubbed Udo's test as Ming source and build rule and test runner.
6040 2007-02-21 Udo Giacomozzi <udo.gnu@nova-sys.net>
6042 * testsuite/samples/GotoAndPlayTest.{as,swf}: Testcase for
6045 2007-02-21 Sandro Santilli <strk@keybit.net>
6047 * server/sound.{h,cpp}: made start_sound_tag a "state"
6048 tag. This seems to fixes eventSoundTest1.swf, altoguth
6049 it's runner still fails (a bug in the tester, most likely).
6050 * testsuite/misc-ming.all/DrawingApiTestRunner.cpp:
6051 Fixed input filename (sorry guys).
6053 2007-02-20 Sandro Santilli <strk@keybit.net>
6055 * server/sprite_instance.cpp (get_topmost_mouse_entity):
6056 Check also drawable bounds !
6057 * testsuite/misc-ming.all/DrawingApiTestRunner.cpp:
6058 Don't expect failure with filled shapes making
6059 the MovieClip grab mouse envets. Add another test
6060 showing that non-filled shapes (simple lines) still
6063 2007-02-20 Sandro Santilli <strk@keybit.net>
6065 * server/sprite_instance.cpp (get_invalidated_bounds):
6066 Include bounds of drawable instance.
6067 * server/vm/with_stack_entry.h: add non-const
6068 version of object() accessor.
6069 * server/vm/ActionExec.{cpp,h}: add getTarget()
6070 method to properly set "this" pointer for function
6072 * server/vm/ASHandlers.cpp (ActionCallFunction):
6073 Properly set the "this" pointer by fetching it
6074 from ActionExec "thread" (looks in 'with' stack).
6076 2007-02-20 Sandro Santilli <strk@keybit.net>
6078 * testsuite/actionscript.all/with.as: add test for function
6079 call in 'with' context (fails!).
6080 * testsuite/misc-ming.all/eventSoundTest1-Runner.cpp:
6081 Fix input filename; expect the failures (we'll be happy
6082 to see XPASS messages :)
6084 2007-02-20 Tomas Groth Christensen <tomasgroth@yahoo.dk>
6086 * server/gnash.h: Added support for the new test-soundhandler.
6087 * testsuite/sound_handler_test.{h,cpp}: Added. A soundhandler for
6089 * testsuite/Makefile.am: Added the new test-soundhandler.
6090 * testsuite/MovieTester.{cpp,h}: Added support for the new
6092 * testsuite/misc-ming.all/{eventSoundTest1.c,eventSoundTest1-Runner.cpp}:
6093 Added. Tests simple event sounds.
6094 * testsuite/misc-ming.all/Makefile.am: Added the eventSoundTest1
6095 testcase and its runner.
6096 * testsuite/media/sound1.mp3: Added. Used in the eventSoundTest1
6099 2007-02-20 Sandro Santilli <strk@keybit.net>
6101 * testsuite/misc-ming.all/: DrawingApi.as => DrawingApiTest.as,
6102 DrawingApiTestRunner.cpp, Makefile.am:
6103 Add a runner for DrawingApi test (failing).
6105 2007-02-20 Sandro Santilli <strk@keybit.net>
6107 * testsuite/misc-ming.all/: Makefile.am,
6108 RollOverOutTest-Runner.cpp, root_stop_testrunner.cpp:
6109 Allow run of test runners from external dirs.
6110 * configure.ac: report failign gstreamer detection
6111 to refer to failign 0.10 or higher gstreamer
6113 * testsuite/simple.exp: have CR also break lines.
6114 * testsuite/misc-ming.all/attachMovieTestRunner.cpp:
6115 Oops, SWF6 is converting stuff to lowercase, so
6116 we need to get_member( "mousedown"/"mouseup" )
6117 rather then "mouseDown"/"mouseUp".
6118 Don't expect a failure anymor ! :)
6120 2007-02-20 Sandro Santilli <strk@keybit.net>
6122 * testsuite/misc-ming.all/attachMovieTest.c:
6123 print instance name on mouse down/up events.
6124 * server/button_character_instance.cpp (on_button_event):
6125 survive on unhandled event handler.
6126 * server/character.{cpp,h}: add getter_setter for
6127 onMouseDown, onMouseUp and onMouseMove; add has_mouse_event()
6129 * server/movie_root.{cpp,h}:
6130 Add mouse listeners. Change key listeners to use std::set
6131 (more appropriate) and to use intrusive_ptr (safer);
6132 Notify mouse listeners on move and click events, don't
6133 duplicate notification on *active* entity as these events
6134 (mouse up,down,move) are not restricted to entity under the
6136 * server/sprite_instance.{cpp,h}: (on_event): if a builtin
6137 handler is invoked, don't go look for functions; register
6138 as a mouse listener if have mouse event handlers.
6140 2007-02-20 Udo Giacomozzi <udo.gnu@nova-sys.net>
6142 * extensions/fileio/fileio.cpp: Fixed some compiler warnings
6144 2007-02-19 Sandro Santilli <strk@keybit.net>
6146 * testsuite/misc-ming.all/: attachMovieTest.c,
6147 attachMovieTestRunner.cpp:
6148 Add onMouseDown and onMouseUp handlers to
6149 exported symbol. Confirms bug #19040.
6151 2007-02-19 Rob Savoye <rob@bertha.welcomehome.org>
6153 * macros/boost.m4: Tweak patch for bug #18788 to work when cross
6156 2007-02-19 Wil Mahan <wmahan+gnu@gmail.com>
6158 * configure.ac, macros/boost.m4: add check for libboost-date-time
6161 2007-02-19 Tomas Groth Christensen <tomasgroth@yahoo.dk>
6163 * macros/ffmpeg.m4: The minimum LIBAVCODEC_VERSION is now 51.11.0.
6164 Also we can now handle if VP6 (FFMPEG_VP6) or avcodec_decode_audio2()
6165 (FFMPEG_AUDIO2) is not supported by the used version of ffmpeg.
6166 * backend/sound_handler_sdl.cpp: Added support for FFMPEG_AUDIO2
6167 * libbase/embedVideoDecoderFfmpeg.cpp: Made use of the constructor and
6168 deconstructor. Added support for FFMPEG_VP6.
6169 * libbase/embedVideoDecoderGst.cpp: Made use of the constructor and
6171 * server/asobj/NetStreamFfmpeg.cpp: Added support for FFMPEG_AUDIO2.
6172 * server/asobj/Sound.cpp: Use the supplied name when searching for exports.
6173 * server/asobj/SoundFfmpeg.cpp: Added support for FFMPEG_AUDIO2.
6174 Made the deconstructor work better.
6175 * server/asobj/SoundGst.cpp: Made the deconstructor work better.
6177 2007-02-19 Sandro Santilli <strk@keybit.net>
6179 * server/: DynamicShape.{cpp,h}, sprite_instance.{cpp,h}:
6180 Implement beginFill() and endFill()
6181 * testsuite/misc-ming.all/DrawingApi.as: non-automatic
6182 source for testing the drawing api. Feel free to add
6185 2007-02-19 Udo Giacomozzi <udo.gnu@nova-sys.net>
6187 * server/fill_style.h: add missing return type
6188 * gui/fb.cpp: add support for eGalax/eTurbotouch touchscreens;
6189 use persistent buffer for PS/2 mice also
6191 2007-02-19 Sandro Santilli <strk@keybit.net>
6193 * server/fill_style.{cpp,h}: add setSolid() method.
6195 2007-02-19 Sandro Santilli <strk@keybit.net>
6197 * server/parser/shape_character_def.{h,cpp}: removed calls
6198 for dynamic drawing. Use DynamicShape instead.
6199 * server/: Makefile.am, DynamicShape.{cpp,h}:
6200 New subclass of shape_character_def to abstract dynami drawing
6201 * server/sprite_instance.{cpp,h}:
6202 Implement lineStyle, moveTo, lineTo methods of MovieClip
6203 class. This works by maintaining a DynamicShape member.
6204 * server/parser/BitmapMovieDefinition.{cpp,h}: use
6205 a DynamicShape rather then a shape_character_def.
6207 2007-02-19 Sandro Santilli <strk@keybit.net>
6209 * server/shape.{cpp,h}: new empty() and close()
6212 2007-02-18 Rob Savoye <rob@bertha.welcomehome.org>
6214 * plugin/.klash/Makefile.am: Install klashpartui.rc,
6215 klash_part.desktop, and pluginsinfo in their correct
6216 directories. bug #190821.
6218 2007-02-17 Sandro Santilli <strk@keybit.net>
6220 * server/parser/shape_character_def.{cpp,h}:
6221 Changed signature of add_fill_style and
6222 add_line_style to take into account reuse
6223 of existing styles and to abstract offset
6225 * server/parser/BitmapMovieDefinition.cpp:
6226 Update call to add_fill_stle; don't make
6227 assumption about offset of the newly added
6230 2007-02-16 Martin Guy <martinwguy@yahoo.it>
6232 * doc/C/sources.xml: Correct Debian dev package names.
6233 * server/asobj/Date.cpp: Remove commentary copied from sephiroth;
6234 it was lifted straight from MacroMedia copyright material
6235 (see http://www.brajeshwar.com/reference/as2)
6236 * server/asobj/Date.cpp: Document incompatabilities with FlashPlayer.
6237 * server/asobj/Math.cpp: Remove unused and duplicate code.
6238 * server/asobj/Math.cpp: Don't abort on missing args; return NAN
6239 * testsuite/actionscript.all/Math.as: Add test suite for Math methods.
6240 * testsuite/actionscript.all/Makefile.am: Add Math.as to tests to run.
6242 2007-02-16 Sandro Santilli <strk@keybit.net>
6244 * testsuite/misc-ming.all/consecutive_goto_frame_test.c:
6245 Visually trace action execution, use C-style comments.
6246 * server/sprite_instance.cpp (advance_sprite):
6247 always update oldDisplayList, not only when in PLAY state !
6248 * testsuite/misc-ming.all/action_execution_order_test.c:
6249 Check UNLOAD being called only *once* (proper management
6252 2007-02-16 Sandro Santilli <strk@keybit.net>
6254 * testsuite/misc-ming.all/consecutive_goto_frame_test.c:
6255 reduce frame rate to 1 frame per second.
6256 Shows that all actions (up to the final stop) are
6257 executed at the first advancement (are *supposed* to work like that)
6258 * server/sprite_instance.cpp (add_display_object):
6259 don't check for "events" match when comparing existing
6260 char at given depth. Fixes move_object_test.swf.
6261 * testsuite/misc-ming.all/: Makefile.am, move_object_test.c:
6262 Test unnamed instances handling on restart, and also test
6263 for syntetized instance names.
6265 2007-02-16 Udo Giacomozzi <udo.gnu@nova-sys.net>
6267 * server/sprite_instance.cpp: Removed name check to get sprites
6268 moved to their correct position after a loop
6270 2007-02-16 Sandro Santilli <strk@keybit.net>
6272 * server/dlist.{h,cpp}: don't dispatch UNLOAD event
6273 unless explicitly requested by caller.
6274 * server/sprite_instance.cpp: properly dispatch
6275 UNLOAD event on just-removed chars.
6276 * testsuite/misc-ming.all/action_execution_order_test.c:
6277 Added an additional test for order of onLoad event call.
6279 2007-02-16 Sandro Santilli <strk@keybit.net>
6281 * server/sprite_instance.cpp:
6282 Warn only once about unsupported stuff; Provide
6283 the *unimplemented* MovieClip.moveTo method.
6284 * testsuite/actionscript.all/MovieClip.as: don't
6285 expect failure in checking moveTo.
6287 2007-02-16 Sandro Santilli <strk@keybit.net>
6290 * server/asobj/: Color.cpp, Sound.cpp:
6291 Warn only once about unsupported stuff; don't terminate
6292 log_<whatever> with a newline (will be added); properly
6293 tag ActionScript errors (log_aserror, and protect by
6294 IF_VERBOSE_ASCODING_ERRORS).
6295 * server/sprite_instance.{cpp,h}: Fixed (hopefully)
6296 the action execution order. Implementation is far
6297 from elegant, but gives the idea of how it should work,
6298 and actually passed our test for it, w/out breaking
6300 * testsuite/misc-ming.all/action_execution_order_test.c:
6301 Add an additional test to verify that function definitions
6302 are not specially handled as it comes to action execution
6303 order. Don't expect failures anymore.
6304 * server/dlist.{cpp,h}: add clear_except() override taking
6305 a DisplayList as argument. Add a call_unload argument
6306 for both clear_except() methods; add empty() method;
6307 add clear() override taking a DisplayList as argument.
6308 * utilities/processor.cpp: add -f <frames> switch to control
6309 the number of "advance" calls on the top movie.
6311 2007-02-15 Sandro Santilli <strk@keybit.net>
6313 * server/parser/movie_definition.h: documented get_frame_size().
6314 * server/parser/BitmapMovieDefinition.h (get_{width,height}_pixels):
6315 use TWIPS_TO_PIXELS for consistency with movie_definition.
6316 * server/parser/BitmapMovieDefinition.cpp (getShapeDef): use 1 twip
6317 per image pixel while drawing.
6319 2007-02-15 Rob Savoye <rob@bertha.welcomehome.org>
6321 * doc/C/gtkext.xml: Chapter on the Gtk extension.
6322 * doc/C/mysqlext.xml: Chapter on the MySQL extension.
6323 * doc/C/fileext.xml: Chapter on the File I/O extension.
6324 * doc/C/Makefile.am: Add new files to dependencies.
6326 * doc/C/extensions.xml: New file on the extension mechanism, and
6327 on writing extensions.
6328 * doc/C/gnash.xml: Add extensions chapter.
6330 * extensions/gtk2: New directory for Gtk2 API extension.
6331 * extensions/gtk2/hello.as: The well known Gtk "Hello" example
6332 program written in ActionScript.
6333 * extensions/gtk2/gtkext.{cpp,h}: Wrappers for the Gtk2 API to
6334 export it into Gnash.
6336 2007-02-14 Udo Giacomozzi <udo.gnu@nova-sys.net>
6338 * server/BitmapMovieInstance.cpp, server/parser/BitmapMovieDefinition.cpp:
6341 2007-02-14 Sandro Santilli <strk@keybit.net>
6343 * server/: movie_instance.cpp, movie_root.cpp: move
6344 tu_random reset from movie_instance to movie_root
6345 (random number generation should be taken care at global level);
6346 Have movie_instance::advance call ::construct() rather
6347 then manually executing frame tags.
6348 * testsuite/misc-ming.all/action_execution_order_test.c:
6349 Add an additional complexity to the test, checking
6350 for proper DisplayList construction to happen *before*
6352 * server/asobj/xmlnode.cpp: fix getter-setters for read-only
6353 properties to survive attempts to set (logging the aserror).
6355 2007-02-14 Rob Savoye <rob@bertha.welcomehome.org>
6357 * testsuite/actionscript.all/XMLNode.as: Fix tests for newly work
6359 * server/asobj/xmlnode.{cpp,h}: Make nextSibling, previousSibling,
6360 firstChild, and lastChild work correctly.
6362 2007-02-14 Sandro Santilli <strk@keybit.net>
6364 * server/swf/tag_loaders.{cpp,h}: implement serialnumber_loader.
6365 * server/impl.cpp: register SERIALNUMBER loader.
6366 * server/stream.{h,cpp}: add read_string_with_lenght() function
6367 taking length as argument; add get_tag_length() function
6368 returning length of current tag.
6370 2007-02-14 Tomas Groth Christensen <tomasgroth@yahoo.dk>
6372 * backend/sound_handler_sdl.cpp, server/asobj/NetStreamFfmpeg.{h,cpp},
6373 server/gnash.h: Changed the aux_streamer_ptr callback to return bool.
6374 * libbase/gstgnashsrc.h, server/asobj/NetStreamGst.cpp: Moved definition
6375 of gnash_plugin_desc to registering file to avoid multiple definitions.
6376 * server/asobj/SoundGst.{cpp,h}, server/asobj/SoundFfmpeg.{cpp,h},
6377 server/asobj/SoundMad.{cpp,h} Added FFMPEG, Gstreamer and libmad
6378 backends for the Sound class.
6379 * server/asobj/Sound.{cpp,h}: Added support for the new backends.
6380 * server/asobj/Makefile.am: Added SoundGst.{h,cpp}, SoundFfmpeg.{h,cpp},
6381 and SoundMad.{h,cpp},
6382 * server/asobj/NetConnection.{cpp,h}: Made accept as_object as argument
6383 instead of NetStream, to allow Sound to use NetConnection.
6385 2007-02-14 Sandro Santilli <strk@keybit.net>
6387 * server/shape.h: add more public functions for
6389 * server/parser/morph2_character_def.cpp: try to
6390 avoid direct access to shape private wonnabes;
6391 simplified code, hopefully more readable now.
6392 * server/parser/shape_character_def.cpp: try
6393 to avoid direct access to shape pritave wonnabes.
6395 2007-02-14 Sandro Santilli <strk@keybit.net>
6397 * server/shape.{cpp,h}: added primitives for
6398 drawing API: drawLineTo, drawCurveTo.
6399 Method names track Ming interface.
6400 * server/parser/BitmapMovieDefinition.cpp:
6401 Use the path drawing api, draw a thicker outline
6402 (outline works, fill not).
6404 2007-02-14 Sandro Santilli <strk@keybit.net>
6406 * server/sprite_instance.cpp (goto_frame):
6407 Don't trash actions following gotoFrame() calls
6408 (fixes multiple_doactions_and_goto_frame_test.c).
6409 Added comments about problems with consecutive_goto_frame_test.
6410 * testsuite/misc-ming.all/multi_doactions_and_goto_frame_test.c:
6411 Don't expect the failure anymore :)
6413 2007-02-14 Tomas Groth Christensen <tomasgroth@yahoo.dk>
6415 * server/asobj/ASSound.{cpp,h}: Renamed to Sound.{h,cpp}.
6416 * server/asobj/Global.cpp, server/asobj/Makefile.am, win32/VC8/gnash.vcproj,
6417 win32/VC8/npgnash.vcproj: Updated to use Sound.{h,cpp} instead of
6420 2007-02-14 Sandro Santilli <strk@keybit.net>
6422 * testsuite/misc-ming.all/Makefile.am: run the multi_doactions
6424 * testsuite/misc-ming.all/multi_doactions_and_goto_frame_test.c:
6426 * server/BitmapMovieInstance.{cpp,h}: use sprite_instance::display,
6427 don't override it. instead, place the bitmap shape in the
6429 * server/parser/BitmapMovieDefinition.{cpp,h}: change
6430 constructor to take an image rather then a bitmap_character_def
6431 (the latter has a poor interface).
6432 * server/impl.cpp: updated construction of BitmapMovieDefinition.
6433 * server/parser/shape_character_def.h: new add_line_style()
6434 method, for programmatic definition of shapes.
6436 2007-02-14 Zou Lunkai <zoulunkai@gmail.com>
6438 * testsuite/misc-ming.all/multi_doactions_and_goto_frame_test.c
6439 another testcase for goto_frame.
6441 2007-02-13 Rob Savoye <rob@bertha.welcomehome.org>
6443 * configure.ac: Disable dmalloc check for now. Configure
6444 extension/fileio directory.
6445 * extensions/Makefile.am: Build in the fileio directory.
6447 * server/asobj/xmlnode.cpp: Implement toString(). Make appendChild
6449 * server/asobj/xml.cpp: Re-implement toString(). Make
6450 createElement() and createTextNode() actually work.
6451 * server/asobj/xmlnode.h, xml.h: Include stringstream, and add to
6452 stringify() prototype.
6453 * server/asobj/xml.cpp:
6454 * server/vm/ActionExec.cpp: Renable the stack dump messages for
6456 * testsuite/actionscript.all/XML.as: Replace all the create* and
6457 appendChild() tests now that this functionality actually works.
6458 * server/Makefile.am: Add boost and pthread libs for cross compiling.
6459 * server/asobj/Makefile.am: Add glib and gstreamer cflags, needed
6460 when cross compiling with Gstreamer support.
6463 2007-02-13 Sandro Santilli <strk@keybit.net>
6465 * server/parser/shape_character_def.h: new add_path() and
6466 add_fill_style() methods, to allow for programmatic
6467 definition of shape chars (will likely need more of these
6468 for implementing the Drawing API).
6469 * server/sprite_instance.h: add a protected place_character
6470 method, to fiddle with displaylist w/out character *ids*.
6471 * server/shape.h (class path): add setLeftFill, setRightFill
6472 and setStartPoint methods; document some more.
6473 * server/sprite_instance.{cpp,h}:
6474 Drop unused registeredClass arg in constructor.
6475 * server/parser/sprite_definition.cpp:
6476 update call to sprite_instance constructor.
6478 2007-02-13 Sandro Santilli <strk@keybit.net>
6480 * server/: Makefile.am, fill_style.{cpp,h},
6481 styles.{cpp,h}: moved fill_style class in its
6482 own file. Removeod unused code, provided
6483 a fill_style constructor for creating clipped
6485 * server/render.h: had doxygen comments point
6486 to the correct place (render_handler).
6488 2007-02-13 Sandro Santilli <strk@keybit.net>
6490 * server/parser/: Makefile.am, BitmapMovieDefinition.h:
6491 Class used to return a movie_definition from load of a JPEG.
6492 * server/: Makefile.am, BitmapMovieInstance.{cpp,h}:
6493 Instance of a BitmapMovieDefinition (a movie_instance).
6494 * server/impl.cpp: move the unimplemented stuff over
6495 to the new BitmapMovie classes.
6496 * testsuite/misc-ming.all/loadMovieTestRunner.cpp:
6497 Don't expect a failure in loading the external JPEG
6498 (it loads, just doesn't display).
6500 2007-02-13 Sandro Santilli <strk@keybit.net>
6502 * testsuite/misc-mtasc.all/.cvsignore: new file.
6503 * testsuite/misc-ming.all/consecutive_goto_frame_test.c:
6504 expect the current failures, just to allow 'make check'
6505 to continue working (known bugs need be 'expected', if
6506 they unexpectedly pass 'make check' will exit with a
6507 FAILURE code so we can joy and remove the expectance).
6508 * testsuite/misc-mtasc.all/: Makefile.am, hello.as:
6509 Generalized Makefile, stuff Dejagnu.swf in first frame
6510 and dejagnu_so_fini.as in last frame using 'makeswf'.
6511 Ready to start with mtasc tests.
6513 2007-02-13 Udo Giacomozzi <udo.gnu@nova-sys.net>
6515 * gui/gui.cpp: Make full redraw on ENABLE_REGION_UPDATES_DEBUGGING
6517 * gui/fb.cpp, gui/fbsup.h: Initial support for mouse
6518 * server/character.h: Avoid redrawing when matrix did not change
6519 * backend/render_handler_agg.cpp: Correctly handling NULL clipping
6521 * server/character.cpp, server/character.h,
6522 server/sprite_instance.cpp: distinguish between own and child's
6523 invalidation state to avoid useless redrawing (should be a big
6524 performance gain in certain cases)
6526 2007-02-13 Rob Savoye <rob@bertha.welcomehome.org>
6528 * extensions/fileio/Makefile.am, fileio.cpp, fileio.h, test.as:
6529 New files for direct File I/O extension for Gnash.
6531 2007-02-12 Sandro Santilli <strk@keybit.net>
6533 * macros/mtasc.m4: provide some detection for mtasc
6534 (CLASSPATH detection needs more work).
6535 * configure.ac: detect mtasc availability.
6536 * Makefile.am: dump MTASC info on 'make dumpconfig'.
6537 * testsuite/Makefile.am: descend in misc-mtasc.all
6538 * testsuite/misc-mtasc.all/Makefile.am: initial Makefile
6540 * testsuite/misc-mtasc.all/hello.as: simple test
6541 (build with 'make hello.swf').
6543 2007-02-12 Sandro Santilli <strk@keybit.net>
6545 * server/button_character_instance.cpp (on_button_event):
6546 Survive MOUSE_DOWN and MOUSE_UP events.
6547 * server/movie_root.cpp: (generate_mouse_button_events):
6548 Dispatch events MOUSE_DOWN and MOUSE_UP togheter with PRESS
6549 and RELEASE (see bug #19040).
6550 * server/sprite_instance.cpp (can_hanle_mouse_envent):
6551 Consider MOUSE_DOWN and MOUSE_UP events (see bug #19040).
6553 2007-02-12 Tomas Groth Christensen <tomasgroth@yahoo.dk>
6555 * server/asobj/ASSound.{cpp,h}, server/asobj/Global.cpp: Updated the
6556 AS Sound class to the new init method.
6558 2007-02-12 Sandro Santilli <strk@keybit.net>
6560 * server/sprite_instance.{cpp,h}: reverted
6561 goto_frame patch introducing regression failures.
6564 2007-02-12 Sandro Santilli <strk@keybit.net>
6566 * server/tesselate.cpp: std::fabsf => std::abs.
6567 * server/execute_tag.h: doxygen documentation,
6568 add new execute_action() function.
6569 * server/sprite_instance.{cpp,h}: changed signature
6570 of execute_frame_tags() to allow executions of
6573 2007-02-12 Markus Gothe <nietzsche@lysator.liu.se>
6575 * server/debugger.h: &val, &val -> &var, &val
6576 * server/matrix.cpp: Using namespace std;
6578 2007-02-12 Sandro Santilli <strk@keybit.net>
6580 * server/character.h: documented ::advance() method.
6581 * testsuite/misc-ming.all/action_execution_order_test.c: made
6582 more verbose, reduced frame rate to better see what goes on,
6583 don't use C++ comments.
6584 * testsuite/misc-ming.all/Makefile.am: add consecutive_goto_frame_test
6585 to the 'make check' loop.
6586 * libbase/utility.h: std::logf => std::log.
6588 2007-02-12 Zou Lunkai <zoulunkai@gmail.com>
6590 * testsuite/misc-ming.all/consecutive_goto_frame_test.c
6591 add a new testcase for testing consecutive ActionGotoAndStop.
6594 2007-02-12 Markus Gothe <nietzsche@lysator.liu.se>
6596 * libbase/utility.h: Added note on log2
6598 2007-02-11 Deanna Phillips <deanna>
6600 * server/asobj/Number.cpp: Removed use of fpclassify.
6602 2007-02-11 Sandro Santilli <strk@keybit.net>
6604 * server/sprite_instance.cpp: stubbed unloadMovie ActionScript
6606 * server/asobj/MovieClipLoader.cpp: properly register
6607 the MovieClipLoader global class (use builtin_function,
6608 not a "dumb" c_function.
6609 * testsuite/actionscript.all/: Makefile.am, MovieClipLoader.as:
6610 simple test for MovieClipLoader (just inheritance and functions
6613 2007-02-11 Markus Gothe <nietzsche@lysator.liu.se>
6615 * server/asobj/Number.cpp: Reverted stupid mistake.
6617 2007-02-11 Sandro Santilli <strk@keybit.net>
6619 * macros/pthreads.m4: use -pthread for linux, as suggested by boost
6622 2007-02-11 Martin Guy <martinwguy@yahoo.it>
6624 * server/asobj/Date.cpp: Disable use of tzset/timezone that does not
6625 compile on BSD, contrary to the GNU glibc manual.
6627 2007-02-11 Sandro Santilli <strk@keybit.net>
6629 * server/: impl.cpp, swf.h: renamed IMPORT2 as IMPORTASSETS2, tracking
6630 Ming naming convention; add ENABLEDEBUGGER2 definition (and null
6632 * server/asobj/Number.cpp: don't redefine fpclassify: _fpclassify
6633 won't build on an ubuntu dapper; fpclassify is defined in math.h,
6636 2007-02-10 Rob Savoye <rob@bertha.welcomehome.org>
6638 * libbase/Makefile.am: Add glib and gstreamer cflags, needed when
6639 cross compiling with Gstreamer support.
6640 * macros/gnashpkgtool.m4: Search_libs after a directory search.
6641 * macros/pkg.m4: Use pathlist to find pkg-config.
6642 * server/Makefile.am: Add glib and gstreamer cflags, needed when
6643 cross compiling with Gstreamer support.
6644 * server/debugger.cpp,: Tweak usage
6645 * server/parser/Makefile.am: Add libxml, glib, and gstreamer
6646 cflags, needed when cross compiling with Gstreamer support.
6647 * server/vm/Makefile.am: Add glib and gstreamer cflags, needed
6648 when cross compiling with Gstreamer support.
6649 * utilities/Makefile.am: With GST for sound, include glib and
6650 gstreamer libraries.
6652 2007-02-10 Markus Gothe <nietzsche@lysator.liu.se>
6654 * server/asobj/Math.cpp: using namespace std;
6655 * server/asobj/Number.cpp: using namespace std; Fixes for C99->C++.
6656 * libbase/postscript.cpp: using namespace std;
6657 * libbase/tu_file.cpp: namespacing.
6659 2007-02-10 Udo Giacomozzi <udo.gnu@nova-sys.net>
6661 * gui/fb.cpp: fixed some compilation problems when DOUBLE_BUFFER is
6662 disabled; fixed _validbounds so that the movie is visible again;
6663 added 2 pixel border to invalidated bounds to fix anti-aliasing
6664 problems; set scaling to view movie full-screen; added/fixed
6665 support for 24 and 32 bit modes
6666 * render_handler_agg.cpp: added pixel format BGRA32
6668 2007-02-10 Sandro Santilli <strk@keybit.net>
6670 * server/sprite_instance.cpp: remove characters
6671 not in current DisplayList from _frame0_chars when
6672 looping back. See patch #5620.
6673 * testsuite/misc-ming.all/Makefile.am:
6674 fixed typo in loadMovieTestRunner dependency.
6676 2007-02-10 Zou Lunkai <zoulunkai@gmail.com>
6678 * testsuite/misc-ming.all/place_and_remove_object_insane_test.c
6679 add a new check that fails current Gnash and some comments. Only
6680 xchecks are supposed to be insane.
6682 2007-02-09 Rob Savoye <rob@bertha.welcomehome.org>
6684 * doc/C/debugger.xml: New file about the Flash debugger.
6685 * doc/C/sources.xml: Add --disable-debugger option.
6686 * doc/C/gnash.xml: Add info about the -g option. Add an entity for
6687 the new debugger chapter.
6688 * doc/C/gnash-man.xml: Add info about the -g option.
6690 * server/debugger.{cpp, h}: Implement breakpoint functions. Add a
6692 * server/vm/ASHandlers.cpp: Break and watch point here.
6693 * server/vm/ActionExec.cpp: Don't watchpoint here anymore.
6695 * macros/ffmpeg.m4: Check for the version of ffmpeg and print a
6696 warning if it's too old to use.
6697 * configure.ac: Print warning if you have ffmpeg, but it's a
6698 version older than 5.29.0. #18663.
6700 2007-02-09 Bastiaan Jacques <bastiaan@bjacques.org>
6702 * libbase/tu_types.h: Add the BYTE_ORDER name used on Mac OSX.
6704 2007-02-09 Tomas Groth Christensen <tomasgroth@yahoo.dk>
6706 * libbase/Makefile.am: Added embedVideoDecoderGst.{cpp,h}.
6707 * libbase/embedVideoDecoderGst.{cpp,h}: Added. Use Gstreamer to decode
6709 * libbase/embedVideoDecoder.h, libbase/embedVideoDecoderFfmpeg.cpp:
6710 Added support for more codecs.
6711 * server/parser/Makefile.am, server/parser/video_stream_def.cpp,
6712 server/parser/video_stream_def.h: Added support for using Gstreamer
6713 to decode embedded video.
6715 2007-02-09 Sandro Santilli <strk@keybit.net>
6717 * testsuite/actionscript.all/dejagnu_so_init.as: made use
6718 of frame loop a compile-time define for having another way
6719 to test setInterval.
6720 * testsuite/misc-ming.all/: Makefile.am, intervalTest.as,
6721 intervalTestRunner.cpp: add test *runner* for intervalTest.swf
6723 2007-02-09 Sandro Santilli <strk@keybit.net>
6725 * testsuite/MovieTester.cpp: advance the movie_root, not
6726 the topmost sprite ! This properly run interval timers.
6727 * server/movie_root.{cpp,h}: Store Timer objects
6728 by value, not by pointer (make memory management easier);
6729 I might change this in the future, but for now it works
6730 fine. Possible future changes include: reserving a number
6731 of slots for timers (possibly setting a limit), reusing
6732 slots of expired timers (needs a testcase to see if that's
6734 * server/timers.{cpp,h}: Big cleanup; got rid of timer_as_object;
6735 use integer values for times, reduced function calls (store timeouts
6736 in microseconds directly); documented.
6737 * server/asobj/xmlsocket.cpp: fix use of Timer class.
6738 * testsuite/misc-ming.all/: Makefile.am, intervalTest.as: new
6739 test for setInterval() and clearInterval(). Lacks a test *runner*
6740 but the manually running it clearly shows it works with this commit
6741 (and not before). Note that self-contained tests are already
6742 present, but a MovieTester based runner is required for proper
6745 2007-02-09 Martin Guy <martinwguy@yahoo.it>
6747 * server/asobj/Math.cpp: Methods for constants have uppercase names
6749 2007-02-09 Sandro Santilli <strk@keybit.net>
6751 * server/parser/: movie_def_impl.h, movie_definition.h:
6752 Don't include timers.h.
6753 * server/asobj/Global.cpp: add setInterval and clearInterval
6755 * testsuite/actionscript.all/Global.as: test existance of
6756 setInterval and clearInterval function.
6758 2007-02-08 Rob Savoye <rob@bertha.welcomehome.org>
6760 * server/debugger.cpp: Dump the name of as_objects on the stack
6761 too. Some objects are created internally, so don't have a symbol
6763 * server/as_object.h: Return the raw properties handle so the
6764 debugger can use it. Add set_std_string method to let one add
6765 standard STL strings.
6766 * server/debugger.cpp, debugger.h: Add support for setting
6767 variables or registers from the debugger console. Fix the symbol
6768 table to actually work, so now function names are displayed when
6769 doing a stack frame dump instead of just the address. Add minimal
6770 support for dumping information about the movie.
6771 * server/vm/ASHandlers.cpp: Grab the correct address when adding
6772 symbols to the debugger.
6774 2007-02-08 Sandro Santilli <strk@keybit.net>
6776 * server/timers.{h,cpp}: add execution operator.
6777 * server/movie_root.{h,cpp}: removed do_something method,
6778 replaced by Timer's execution operator. Changed add_interval_timer
6779 to take a Timer& rather then a void*. Fixed clear_interval_timer
6780 to avoid modifying the Timer list consequently making interval
6781 ids invalid (all commented, check out for details).
6782 * server/sprite_instance.{h,cpp}: removed {add,clear}_interval_timer
6783 and do_somthing methods. Callers should use the ones in movie_root.
6784 * server/asobj/xmlsocket.cpp: don't register setInterval and
6785 clearInterval functions as they should be globals !
6787 2007-02-08 Tomas Groth Christensen <tomasgroth@yahoo.dk>
6789 * server/video_stream_instance.cpp, server/parser/video_stream_def.cpp:
6790 Make sure current video really is from a VideoFrame tag, before trying to
6793 2007-02-08 Sandro Santilli <strk@keybit.net>
6795 * testsuite/misc-ming.all/: Makefile.am, loadMovieTestRunner.cpp:
6796 Test runner for loadMovie.swf.
6798 2007-02-08 Bastiaan Jacques <bastiaan@bjacques.org>
6800 * server/debugger.cpp: Simple cleanup: remove unneeded casts.
6802 2007-02-08 Sandro Santilli <strk@keybit.net>
6804 * server/asobj/MovieClipLoader.cpp (loadClip): use the new
6805 sprite_instance::loadMovie() method.
6806 * server/movie_root.cpp: keep root sprite alive during actions
6808 * server/sprite_instance.{cpp,h}: complete implementation of
6809 MovieClip.loadMovie().
6811 2007-02-08 Martin Guy <martinwguy@yahoo.it>
6813 * server/asobj/Number.cpp: Only do string-to-number conversion when
6814 text value is required, not on every math operation; moved text
6815 conversion code out of class definition into its own function.
6816 * server/asobj/Number.cpp: Added text conversion of NaN and Infinities.
6818 2007-02-08 Sandro Santilli <strk@keybit.net>
6820 * server/event_id.h: add id() accessor, properly use the id_code enum.
6821 * server/sprite_instance.cpp (can_handle_mouse_event): handle
6822 case insensitiveness for SWF<7 fixing bug exposed by
6823 loadMovieTest.swf; (sprite_load_movie): add
6824 a few more checks, needs more work.
6825 * testsuite/misc-ming.all/: Makefile.am, loadMovieTest.c:
6826 simple testcase for MovieClip.loadMovie(); exposes a bug
6827 in event handling too. No runner for it (yet).
6829 2007-02-08 Tomas Groth Christensen <tomasgroth@yahoo.dk>
6831 * libbase/embedVideoDecoder.h, libbase/embedVideoDecoderFfmpeg.cpp:
6832 Added more video codecs.
6833 * server/asobj/NetStreamFfmpeg.cpp: Check if url is readable.
6834 * server/asobj/NetStreamGst.cpp: Check if a NetConnection object exists.
6835 * server/parser/video_stream_def.cpp: Fixed a warning.
6836 * testsuite/actionscript.all/rtmp.as: Made it actually test something.
6838 2007-02-08 Tomas Groth Christensen <tomasgroth@yahoo.dk>
6840 * libbase/Makefile.am: Added embedVideoDecoder.h,
6841 embedVideoDecoderFfmpeg.{h,cpp}
6842 * libbase/embedVideoDecoderFfmpeg.{h,cpp}: Added. Decoder for embedded video
6844 * server/impl.cpp: Added support for parsing swf embedded in a player (.exe)
6845 * server/asobj/NetStreamFfmpeg.{cpp,h}: Fixed some warnings.
6846 * server/parser/movie_def_impl.h: Removed unused soundstream list.
6847 * server/video_stream_instance.{cpp,h},
6848 server/parser/video_stream_def.{cpp,h}, server/swf/tag_loaders.cpp:
6849 Added support for embedded video.
6851 2007-02-08 Sandro Santilli <strk@keybit.net>
6853 * server/character.{h,cpp} (get_relative_target_common):
6855 * testsuite/actionscript.all/MovieClip.as: add test for _parent
6856 member of actionscript created movieclips.
6858 2007-02-07 Sandro Santilli <strk@keybit.net>
6860 * testsuite/actionscript.all/Global.as: expect failures with
6861 'unescape'... anyone confirming the results with other players
6863 * testsuite/MovieTester.{cpp,h}: add pressKey() and releaseKey()
6865 * testsuite/misc-ming.all/: KeyTest-Runner.cpp, KeyTest.as,
6866 Makefile.am: test for Key events.
6867 * testsuite/actionscript.all/Object.as: add test for overriding
6868 addProperty() member of an object.
6870 2007-02-07 Martin Guy <martinwguy@yahoo.it>
6872 * server/asobj/Data.cpp: Completed reverse engineering of get/set
6874 * configure.ac: Added check for ftime()
6875 * testsuite/actionscript.all/Date.as: Add tests for get/set methods
6877 2007-02-07 Sandro Santilli <strk@keybit.net>
6879 * server/debugger.h: const-correctness fixes.
6880 * server/parser/action_buffer.h: buffer accessor return by const
6882 * server/asobj/Key.cpp (notify_key_event): fix update
6883 of the _global.Key object, properly handle case of function names
6884 (TODO: produce an automated testcase for this!).
6885 * server/sprite_instance.cpp (movieclip_ctor): don't attach MovieClip
6886 properties, as those are only good for real sprites.
6887 * server/swf/tag_loaders.cpp: use log_swferror where appropriate,
6888 (swf_event::read): tolerate malformed header.
6890 2007-02-07 Sandro Santilli <strk@keybit.net>
6892 * server/types.cpp (rgba::read): made more readable.
6893 * server/vm/fn_call.h: add dump_args() method.
6894 * server/asobj/Object.cpp: use log_aserror() where appropriate,
6895 dump function args when invalid. Don't giveup when number of
6896 args is greater then required.
6898 2007-02-07 Sandro Santilli <strk@keybit.net>
6900 * testsuite/actionscript.all/Object.as: add tests for invalid calls
6901 to addProperty() [ found in hello.swf from Laszlo ]
6902 * server/asobj/Object.{cpp,h}: export getObjectInterface()
6903 * server/asobj/as_object.{cpp,h} (get_prototype): return
6904 Object class interface when hit top of inheritance chain;
6905 make sure to never access m_prototype directly but always
6906 use get_prototype() instead. This ensures that *every* object
6907 ends up being an Object instance.
6908 * testsuite/actionscript.all/Function.as: a few more tests to
6909 ensure that functions are instance of Object.
6910 * testsuite/actionscript.all/: MovieClip.as, Inheritance.as:
6911 Don't expect failures while checking for objects being
6912 instance of Object class.
6914 2007-02-07 Sandro Santilli <strk@keybit.net>
6916 * server/swf/tag_loaders.cpp (define_shape_loader): neater parse
6918 * server/types.{cpp,h}: add output operator and toString
6919 method for rgba class.
6920 * server/styles.cpp (fill_stle::read): neater color print.
6921 * server/parser/shape_character_def.cpp (read):
6924 2007-02-06 Rob Savoye <rob@bertha.welcomehome.org>
6926 * server/as_value.h: Add is_as_function() .
6927 * server/debugger.cpp: Try to lookup a symbol name for each
6928 address when dumping the stack. Add support for a symbol table for
6929 all functions and "new" objects and an "i s" command to dump the
6930 symbol table. "i f" now dumps the stack frame, it was "i s"
6932 * server/parser/action_buffer.h: Add accessors for the code
6934 * server/vm/ASHandlers.cpp: Don't need std:: since we're using the
6935 std namespace. Add a symbol for function definitions.
6936 * server/vm/ActionExec.cpp: Stash the pc pointer for later instead
6937 of passing it in on the command line.
6938 * utilities/parser.cpp, processor.cpp: Add support for the debugger.
6940 2007-02-06 Sandro Santilli <strk@keybit.net>
6942 * server/debugger.{h,cpp}: (disassemble): first argument
6943 can safely be passed as a 'const' pointer.
6944 * server/parser/action_buffer.h: added get_buffer() to
6945 return an unsugned char.
6946 * server/vm/ActionExec.cpp (operator()): use
6947 action_buffer::get_buffer() to fetch an appropriate argument
6948 for Debugger::disassemble.
6950 2007-02-06 Martin Guy <martinwguy@yahoo.it>
6952 * server/asobj/Data.cpp: Fixed bug in setUTCHours(),
6953 make utc/localtime specification compulsory in inner workings.
6954 * server/asobj/Number.cpp: Convert numbers to strings the same way as a
6955 certain commercial Flash Player does.
6956 * configure.ac: Add check for memmove, used in Number.cpp
6958 2007-02-06 Rob Savoye <rob@bertha.welcomehome.org>
6960 * configure.ac: Add --disable-debugger option.
6961 * server/debugger.h, debugger.cpp: New files for Flash debugger
6963 * gui/gnash.cpp: Add -g option to start the debugger console.
6964 * server/as_environment.h: Add methods to set registers.
6965 * server/parser/action_buffer.cpp: Add to existing string value,
6967 * server/vm/ActionExec.cpp: Add support for the Flash
6968 debugger. Simplify the methods where case conversion is done.
6970 2007-02-06 Sandro Santilli <strk@keybit.net>
6972 * server/as_environment.cpp (get_variable_raw):
6973 Don't provide "_global" when SWF version is < 6.
6974 * testsuite/actionscript.all/getvariable.as: don't expect
6975 failures in SWF5 mode (_global related)
6976 * testsuite/actionscript.all/Global.as: use check_equals
6977 when possible, fix for missing SWF5 _global, remove
6978 escape() tests with SWF > 5 as I can't confirm correct
6980 * testsuite/actionscript.all/delete.as: fix for SWF5 run
6983 2007-02-05 Tomas Groth Christensen <tomasgroth@yahoo.dk>
6985 * server/asobj/NetConnection.cpp: Make sure we don't setup a connection
6986 that already exists.
6987 * server/asobj/NetStreamFfmpeg.{cpp,h}: Fixed a potential hanging thread.
6988 * server/asobj/NetStreamGst.{cpp,h}: Switched from pthreads to boost.
6989 Fixed a potential hanging thread.
6991 2007-02-05 Sandro Santilli <strk@keybit.net>
6993 * server/PropertyList.cpp: delete overridden properties in import();
6994 properly clear current container on assignment operator (also fixed
6995 it's signature). Properly delete Property in delProperty().
6996 * server/PropertyList.h: Properly document Property ownership.
6998 2007-02-05 Zou Lunkai <zoulunkai@gmail.com>
7000 * server/movie_root.cpp, server/asobj/xml.cpp,
7001 server/asobj/xmlnode.cpp.
7002 typos, get rid of unnecessary warnings with vc8 compiler
7004 2007-02-05 Markus Gothe <nietzsche@lysator.liu.se>
7006 * macros/pthreads.m4: Fixed a quirky LIBS/CFLAGS-bug.
7007 * libbase/log.cpp: Removed BOOST_HAS_THREADS.
7008 * cygnal/cygnal.cpp: Removed implicit include.
7009 * cygnal/statistics.h: Removed unsed include.
7011 2007-02-03 Sandro Santilli <strk@keybit.net>
7013 * server/GetterSetter.{cpp,h}: fixed assignment operator (a bad typo!).
7014 * server/dlist.cpp: call character::construct() everytime an object
7015 is placed on stage, making the code much more readable and clean
7017 * server/sprite_instance.{h,cpp}: implement 'construct' method
7018 to take care of properly handling user-defined registered
7019 classes for sprites and to execute tags in frame0; attach
7020 properties to *instances* rather then to the MovieClip
7022 * server/character.h: add a 'construct' method.
7023 * testsuite/misc-ming.all/: registerClassTest.c,
7024 registerClassTestRunner.cpp: add new tests, a fix
7025 for gnash will follow shortly.
7026 * server/parser/sprite_definition.h: add getRegisteredClass()
7029 2007-02-03 Martin Guy <martinwguy@yahoo.it>
7031 * server/asobj/Data.cpp: Fixed fmod issues.
7033 2007-02-03 Martin Guy <martinwguy@yahoo.it>
7035 * server/asobj/Data.cpp: Pretty much complete rewrite of nonworking
7036 module forced by change of internal representation from many little
7037 date fields to milliseconds since epoch. Not fully working yet.
7038 * configure.ac: include tests for localtime_r and tzset.
7040 2007-02-02 Markus Gothe <nietzsche@lysator.liu.se>
7042 * server/asobj/Data.cpp: Fixed fmod issue.
7044 2007-02-02 Martin Guy <martinwguy@yahoo.it>
7046 * testsuite/actionscript.all/Global.as: add checks for malformed
7049 2007-02-02 Tomas Groth Christensen <tomasgroth@yahoo.dk>
7051 * server/asobj/NetStreamFfmpeg.cpp: Fixed a deadlock when deleting
7052 netstream before playback started.
7054 2007-02-02 Rob Savoye <rob@bertha.welcomehome.org>
7056 * plugin/klash/Makefile.am: Simplify heavily as most of the KDE
7057 settings we don't need for a simple kpart.
7059 2007-02-02 Sandro Santilli <strk@keybit.net>
7061 * server/as_object.h (set_prototype): made public, as any
7062 protection is useless as long as set_member("__proto__")
7063 still changes the prototype.
7065 2007-02-02 Martin Guy <martinwguy@yahoo.it>
7067 * server/Date.cpp: Eliminate Date class; port to date_as_object
7069 2007-02-02 Sandro Santilli <strk@keybit.net>
7071 * testsuite/actionscript.all/MovieClip.as: add a few more checks
7073 * testsuite/actionscript.all/Inheritance.as: don't expect
7074 failures with Date object; add a test about constructors
7076 * server/asobj/: Date.{cpp,h}, Global.cpp:
7077 Ported Date object to new layout; make Date.UTC a not-exported
7079 * testsuite/actionscript.all/Date.as: don't expect a failure
7081 * server/: character.h, sprite_instance.h: get_current_frame()
7082 and has_looped() removed from character class (meaningless).
7083 Added some comments about restart().
7084 * plugin/klash/Makefile.am: defined kde_moduledir
7085 and kde_servicesdir as required by automake 1.9.6.
7086 Used KDE_MODULESDIR and KDE_SERVICESDIR, which are
7087 currently *not* defined - at least it builds though.
7089 2007-02-01 Martin Guy <martinwguy@yahoo.it>
7091 * server/Date.cpp: Add date_utc unimplemenrted stub for
7092 ActionScript Date.UTC method
7094 2007-02-01 Rob Savoye <rob@bertha.welcomehome.org>
7096 * configure.ac: Use the new KDE and QT macros.
7097 * macros/kde.m4: Rewrite completely to be more standard with how
7098 all the other tests work.
7100 2007-02-01 Martin Guy <martinwguy@yahoo.it>
7102 * server/asobj/Date.cpp: #if 0 out unused function stubs
7103 and implement missing setDate method
7105 2007-02-01 Martin Guy <martinwguy@yahoo.it>
7107 * server/asobj/{Date,Global,string}.cpp: Convert all assert()s that
7108 triggered by illegal number of args in runtime ActionScript
7109 to IF_VERBOSE_ASCODING_ERRORS() warnings with and keep going,
7110 giving safe default return values.
7112 2007-02-01 Bastiaan Jacques <bastiaan@bjacques.org>
7114 * server/asobj/NetStreamFfmpeg.h: Switch multithread_queue over to
7115 using boost threads. Add a comment about some strange code in
7118 2007-02-01 Martin Guy <martinwguy@yahoo.it>
7120 * server/asobj/Global.cpp: Implement ActionScript 5 "escape" method
7121 * testsuite/actionscript.all/Global.as: Add test case for "escape"
7123 2007-02-01 Bernhard Rosenkraenzer <bero@arklinux.org>
7125 * Makefile.am: Add the plugin directory to our SUBDIRS when we don't
7126 have GTK but when we do want Klash.
7127 * plugin/klash/klash_part.cpp: Move visibility annotations to from
7128 the class implementation into the declaration.
7130 2007-02-01 Martin Guy <martinwguy@yahoo.it>
7132 * server/asobj/Global.cpp: Rewrite lame code in string conversions:
7133 remove insane case statement and avoid unnecessary use of floating
7136 2007-02-01 Martin Guy <martinwguy@yahoo.it>
7138 * testsuite/actionscript.all/Global.as: fix bug in parseInt octal test
7141 2007-02-01 Sandro Santilli <strk@keybit.net>
7143 * testsuite/misc-ming.all/: registerClassTest.c,
7144 registerClassTestRunner.cpp: made test more
7145 complex, showing that the *constructor* of
7146 the registered classes is called !
7147 This currently fails.
7149 2007-02-01 Sandro Santilli <strk@keybit.net>
7151 * server/parser/movie_def_impl.cpp (read_all_swf):
7152 Perform a last check for "orphaned" actions, which are
7153 action blocks NOT followed by a SHOWFRAME.
7154 * doc/C/internals.xml (Writing self-contained SWF tests):
7155 Document new optional argument for check() and xcheck().
7156 * testsuite/misc-ming.all/ming_utils.c (get_dejagnu_actions):
7157 Allow second argument to check() and xcheck() for an explicit
7160 2007-02-01 Sandro Santilli <strk@keybit.net>
7162 * server/as_object.h (get_primitive_value): return
7163 an OBJECT value by default (not a number).
7164 * server/as_value.cpp (operator==): avoid infinite
7165 recursion now that get_primitive_value is allowed
7166 to return an OBJECT again.
7167 * server/asobj/Numbec.cpp: override get_primitive_value
7168 to return a NUMBER value.
7169 * testsuite/actionscript.all/Object.as: don't expect
7170 failures for valueOf tests.
7172 2007-02-01 Sandro Santilli <strk@keybit.net>
7174 * testsuite/actionscript.all/Object.as: add tests for toString
7175 and valueOf. The latter doesn't work yet.
7176 * server/asobj/Object.cpp: add valueOf and toString methods,
7177 make addProperty availability version-dependent (only if SWF > 5)
7178 * server/as_object.{cpp,h}: add generic and reusable
7179 actionscript method handlers for toString() and
7181 * server/asobj/Number.cpp (attachNumberInterface):
7182 define toString() and valueOf() methods.
7183 * testsuite/actionscript.all/Number.as: test toString()
7186 2007-01-31 Sandro Santilli <strk@keybit.net>
7188 * server/sprite_instance.cpp (sprite_attach_movie):
7189 tolerate bogus third argument to attachMovie().
7192 2007-01-31 Martin Guy <martinwguy@yahoo.it>
7194 * configure.ac: Remove check for png.h; it is not a Gnash dependency.
7195 It is a sub-dependency of gtk and pango, not required for gtk-less
7198 2007-01-31 Sandro Santilli <strk@keybit.net>
7200 * server/mouse_button_state.h: symbolic button states.
7201 * server/movie_root.cpp (generate_mouse_button_events):
7202 use symbolic names for button states.
7203 * server/as_object.cpp (set_member_default): more verbose warning
7204 for invalid properties found in the inheritance chain.
7206 2007-01-31 Bastiaan Jacques <bastiaan@bjacques.org>
7208 * backend/render_handler_agg.cpp, gui/{gui.cpp, gtk.cpp}: Do not
7209 subtract 1 from the rendering width and height (fixes bug #18904).
7210 * gui/README: update to current status.
7211 * gui: Rename Gui::set_invalidated_region to setInvalidatedRegion to
7213 * gui/fltk{.cpp, sup.h, _glue_agg.cpp, _glue_agg.h}: Add a menu bar
7214 to the FLTK window. Make the AGG glue inherit from fltk::Widget, so
7215 it can be added to the FLTK window without interfering with menu
7216 drawing. Since the same hasn't yet been done for the Cairo glue,
7217 disable Cairo/FLTK for now. Account for the menu height when passing
7218 the mouse position to the rest of Gnash. Delay initialisation of the
7219 Glue until we are ready to add it to the FLTK window. Until we can
7220 solve rendering issues, disable region based clipping for AGG.
7221 Note that some FLTK menu items are not yet implemented.
7222 * gui/gtk{.cpp, _glue_agg.cpp}: Remove the unused valid_coord method.
7223 * gui/gui{.cpp, .h}: Declarations in the header, implementation in
7224 the .cpp file. Shuffle the order of declarations so they are grouped
7226 * server/movie_root.h: set_invalidated_region is used across libraries,
7227 so visibility should be DSO_EXPORT.
7228 * server/sprite_instance.cpp: Assert that our pointer is non-NULL
7229 before attempting to dereference it.
7231 2007-01-31 Sandro Santilli <strk@keybit.net>
7233 * server/button_character_instance.{h,cpp}:
7234 Use getter-setter properties, and avoid override
7235 of get_member/set_member methods.
7236 * server/character.{cpp,h}: define more generic
7238 * server/sprite_instance.cpp: use character class
7239 statics for onload and onrollout events
7240 * testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp:
7241 expect less failures :)
7243 2007-01-31 Sandro Santilli <strk@keybit.net>
7245 * server/sprite_instance.cpp (goto_frame): fix
7246 check for target frame being already loaded.
7247 * server/button_character_instance.cpp (on_event):
7248 added verbose output for unsupported button events.
7249 * testsuite/misc-ming.all/: ButtonEventTest.c,
7250 ButtonEventTest-Runner.cpp: added some (failing)
7251 tests for user defined event handlers.
7253 2007-01-30 Zou Lunkai <zoulunkai@gmail.com>
7255 * testsuite/misc-ming.all/goto_frame_test.c:
7256 add test for consecutive goto
7258 2007-01-30 Ann Barcomb <kudra@domaintje.com>
7260 * Added: devtools/lib/Gnash/Distribution.pm and
7261 devtools/lib/Gnash/Utils.pm
7262 These libraries will be used to support the devtools/testsuite
7263 tests, which are tests intended to increase conformance with
7265 * Added devtools/testsuite/uncuddled_else.t
7266 It is a test which searches for instances of uncuddled elses
7267 in C++ source files.
7269 2007-01-30 Martin Guy <martinwguy@yahoo.it>
7271 * config.mk.in, compatibility_include.h: Remove unused GAMESWF defines
7273 2007-01-30 Sandro Santilli <strk@keybit.net>
7275 * server/: character.{h,cpp}, sprite_instance.cpp:
7276 Made generic gettersetter definitions statics
7277 in the 'character' class. Ready for reuse in button
7278 instances and whichever other ActionScript class
7279 associated with a character (_x,_y,_width...).
7281 2007-01-25 Martin Guy <martinwguy@yahoo.it>
7283 * configure.ac: Make libjpeg presence mandatory and fail otherwise;
7284 otherwise compilation fails.
7286 2007-01-25 Martin Guy <martinwguy@yahoo.it>
7288 * configure.ac: Fix message about Debian packages required for boost
7290 2007-01-30 Sandro Santilli <strk@keybit.net>
7292 * server/: video_stream_instance.{h,cpp},
7293 server/asobj/: NetConnection.cpp, NetConnection.h, NetStream.cpp,
7294 NetStream.h, NetStreamFfmpeg.cpp, NetStreamFfmpeg.h, NetStreamGst.cpp,
7296 Refactored NetStream inheritance model, got rid of
7297 netstream_as_object and netconnection_as_object wrappers.
7299 2007-01-30 Sandro Santilli <strk@keybit.net>
7301 * server/parser/movie_def_impl.cpp (incrementLoadedFrames):
7302 handle malformed SWF containing more SHOWFRAME then expected;
7303 (readHeader): allocate more slots for actions to make malformed
7304 SWF handling easier.
7305 * server/asobj/: NetConnection.cpp, NetStream.cpp:
7306 Cleanups and robustness improvements.
7307 * server/parser/movie_def_impl.cpp (read_all_swf):
7308 Don't discard anything past the last SHOWFRAME,
7309 as Ming seems to still put EXPORTASSETS after it
7310 (possibly bogus, but we want to accept it).
7312 2007-01-30 Tomas Groth Christensen <tomasgroth@yahoo.dk>
7314 * server/asobj/NetStreamGst.cpp: Fixed wrong return type.
7316 2007-01-30 Sandro Santilli <strk@keybit.net>
7318 * server/asobj/xml.cpp: removed stale #endif.
7320 2007-01-29 Rob Savoye <rob@bertha.welcomehome.org>
7322 * configure.ac: Remove --disable option. Bug #18905:
7323 * libamf/amftest.cpp: Remove HAVE_LIBXML ifdefs, we always
7325 * libbase/log.h, log.cpp: Remove HAVE_LIBXML ifdefs, we always
7327 * server/asobj/xmlsocket.h: Remove HAVE_LIBXML ifdefs, we always
7329 * server/vm/action.cpp: Remove HAVE_LIBXML ifdefs, we always want
7331 * utilities/parser.cpp, processor.cpp: Remove HAVE_LIBXML ifdefs,
7332 we always want XML support.
7334 2007-01-25 Martin Guy <martinwguy@yahoo.it>
7336 * configure.ac, README: Remove code and documentation for
7339 2007-01-25 Martin Guy <martinwguy@yahoo.it>
7341 * configure.ac, server/asobj/xml.cpp: Remove broken
7342 --enable-xmlreader and --enable-dom leaving only dom.
7344 2007-01-29 Sandro Santilli <strk@keybit.net>
7346 * server/parser/movie_def_impl.cpp (read_all_swf): when last
7347 expected SHOWFRAME tag is hit, discard the rest and warn
7348 user if next tag is not an END. This happens when Ming users
7349 forget to call SWFMovie_nextFrame() as last thing before output.
7351 2007-01-29 Ann Barcomb <kudra@domaintje.com>
7353 * Removed reference to '--disable-xml' option in doc/C/sources.xml.
7356 2007-01-29 Sandro Santilli <strk@keybit.net>
7358 * server/parser/movie_def_impl.h (add_execute_tag, add_init_action):
7359 Add an assertion to catch out-of-bounds accesses.
7361 2007-01-29 Zou Lunkai <zoulunkai@gmail.com>
7363 * testsuite/misc-ming.all/goto_frame_test.c:
7364 add checks about the _currentframe property before
7365 and after goto_frame actions; change xcheck to check.
7366 * server/sprite_instance.cpp sprite_instance.h:
7367 fixed goto_frame_test(bug #18845). the next step is to
7368 make testcase more complicated
7370 2007-01-27 Tomas Groth Christensen <tomasgroth@yahoo.dk>
7372 * server/asobj/Global.cpp: NetConnection switched to the new init method.
7373 * server/asobj/NetConnection.{cpp,h}: Switched to the new init method.
7374 Moved URL checking to NetConnection, and added support for different ways
7376 * server/asobj/NetStreamFfmpeg.{cpp,h}, server/asobj/NetStreamGst.cpp:
7377 Removed the URL checking, and moved it to NetConnection. Added "support"
7378 for the "mp3:" prefix (untested).
7380 2007-01-26 Rob Savoye <rob@bertha.welcomehome.org>
7382 * configure.ac: Look for libexpat too to resolve a stupid library
7383 dependency on some systems.
7384 * gui/Makefile.am: Add EXPAT_LIBS for GTK builds. Add XFT and X11
7385 libs for FLTK2 builds
7386 * macros/x11.m4: New file for X11. The default one from aclocal
7387 doesn't support cross configuration very well, so now we have our
7388 own. Also look for Xinerama to keep Debian Etch happy.
7389 * macros/firefox.m4: Add an --with-gnashexe to specify an optional
7390 path to find the gnash executable if it's not in $prefix/bin.
7391 * plugin/Makefile.am:
7392 * plugin/plugin.cpp: Use GNASHBINDIR instead of PREFIX to be clearer.
7394 2007-01-25 Sandro Santilli <strk@keybit.net>
7396 * backend/render_handler.h (Detection of regions update page):
7397 note that set_invalidated() must be called *prior* actual
7398 modifications; minor typos and rewordings.
7399 * server/sprite_instance.cpp (on_event): don't attempt to call
7400 event handlers functions when they are simply *undefined*.
7401 * testsuite/MovieTester.cpp: call display() before advancing
7402 to make invalidated bounds computation properly work.
7403 * testsuite/misc-ming.all/simple_loop_testrunner.cpp:
7404 don't expect a failure about invalidated bounds at loopback.
7405 * server/character.h: more info about invalidated bounds
7406 methods and members.
7408 2007-01-25 Martin Guy <martinwguy@yahoo.it>
7410 * configure.ac: Regularize indentation, reorder things
7412 2007-01-25 Rob Savoye <rob@bertha.welcomehome.org>
7414 * plugin/Makefile.am: Add more header paths so we can be cross
7417 2007-01-25 Sandro Santilli <strk@keybit.net>
7419 * server/sprite_instance.cpp (goto_frame):
7420 hopefully made code more readable; added warning
7421 for gotoFrame invoking a yet-to-be-loaded frame;
7422 added comments submitted by Zou Lunkai;
7423 undefined OLD_GET_MEMBER accidentally defined by
7424 some of the previous commits.
7426 2007-01-25 Sandro Santilli <strk@keybit.net>
7428 * testsuite/misc-ming.all/simple_loop_test.c: anchor
7429 the characters at 0,0 and fix compiler warnings.
7430 * testsuite/misc-ming.all/simple_loop_testrunner.cpp:
7431 fix invalidated bounds checking (but still fails
7432 with both bogus and correct version of
7433 sprite_instance::execute_frame_tags - odd!)
7434 * server/character.h: more info about set_invalidated()
7435 * server/sprite_instance.cpp (execute_frame_tags): properly
7436 call set_invalidated() when resetting DisplayList.
7438 2007-01-24 Martin Guy <martinwguy@yahoo.it>
7440 * Makefile.am: fltk cares about Xft; gtk doesn't.
7441 * configure.ac: Move fltk gui test for Xft outside if(gui-gtk) clause
7442 * configure.ac: Also accept "none" as alias for "no" for --enable-sound
7443 and --with-mp3-decoder to match values reported by --version.
7444 Mention "none", not "no", in --help.
7445 * gui/gtk.cpp: Shorten About text to remove comments about other Flash
7446 players; add main compile-time configurations to About box.
7447 * gui/gtk.cpp: Extend About dialog copyright to 2007
7448 * gui/gnash.cpp: Update copyright in --version to 2007
7449 * gui/gnash.cpp: Remove unimplemented options -e and -f
7450 (klash stubs never implemented)
7451 * gui/Player.cpp: Remove old version of Player::run, #if 0'ed out and
7452 mostly the same as the new implementation
7454 2007-01-24 Sandro Santilli <strk@keybit.net>
7456 * testsuite/misc-ming.all/: Makefile.am, simple_loop_test.c,
7457 Simple_loop_testrunner.cpp: new test for simple loop.
7458 Seems to work internally, but reveals a bug in invalidated
7459 bounds computation !!
7461 2007-01-24 Ann Barcomb <kudra@domaintje.com>
7463 * Replaced outdated references to -a in the manual (doc/C)
7466 2007-01-24 Sandro Santilli <strk@keybit.net>
7468 * server/character.h: add isDynamic() and setDynamic()
7469 function to tag actionscript-created characters;
7470 have accept_anim_moves return false for dynamic chars.
7471 * server/dlist.{cpp,h}: new add() and addAll() helper methods.
7472 * server/sprite_instance.cpp (execute_frame_tags):
7473 keep script objects when reinitializing DisplayList
7474 on loop-back; (sprite_attach_movie, sprite_duplicate_movieclip,
7475 add_empty_movieclip): mark created characters as dynamic.
7476 * testsuite/misc-ming.all/: Makefile.am, attachMovieLoopingTest.c,
7477 attachMovieLoopingTestRunner.cpp: test for DisplayList reset
7478 on loopback when dynamic characters are present.
7479 * testsuite/misc-ming.all/action_execution_order_test.c:
7480 expect failure of the only test in there...
7482 2007-01-24 Sandro Santilli <strk@keybit.net>
7484 * testsuite/misc-ming.all/: Makefile.am,
7485 action_execution_order_test.c, attachMovieLoopingTest.c,
7486 attachMovieLoopingTestRunner.cpp:
7487 More tests, with failures (didnt' bother using xcheck as
7488 I'm working on them).
7490 2007-01-24 Sandro Santilli <strk@keybit.net>
7492 * testsuite/misc-ming.all/place_and_remove_object_insane_test.c:
7493 Last commit fixed a couple of tests in this testcase.
7494 * server/: character.h, sprite_instance.{cpp,h}:
7495 Understood, documented and cleaned up the concept of
7496 "ActionScript-transformed" characters; Fix property handlers
7497 to properly register having been transformed by script.
7498 Fixes elvis.swf and bitmap.swf.
7499 * testsuite/misc-ming.all/: Makefile.am, attachMovieTestRunner.cpp,
7500 loop_test-Runner.cpp, registerClassTestRunner.cpp:
7501 Allow running tests from any directory.
7503 2007-01-23 Sandro Santilli <strk@keybit.net>
7505 * server/sprite_instance.cpp (ctor): fix handlign of registerClass
7506 (at least for the new testcase).
7507 * testsuite/misc-ming.all/: Makefile.am, registerClassTest.c,
7508 registerClassTestRunner.cpp: new testcase for registerClass.
7510 2007-01-23 Tomas Groth Christensen <tomasgroth@yahoo.dk>
7512 * server/asobj/NetStream.{h,cpp}, server/asobj/NetStreamFfmpeg.{cpp.h}:
7513 Use int64_t instead of long.
7514 * server/asobj/NetStreamGst.{cpp,h}: Use int64_t instead of long.
7515 Switched to use gst_element_seek() for seeking, which is supported by
7516 older version of gstreamer.
7518 2007-01-23 Sandro Santilli <strk@keybit.net>
7520 * server/as_object.cpp ({get,set}_member_default):
7521 handle ActionExceptions.
7522 * testsuite/generic-testrunner.sh: be more verbose about
7525 2007-01-23 Sandro Santilli <strk@keybit.net>
7527 * libbase/GnashException.h: add ActionException class.
7528 * server/sprite_instance.cpp, server/asobj/Date.cpp:
7529 throw an ActionException if methods or gettersetter properties are invoked
7530 against the wrong instance type.
7531 * server/vm/action.cpp (call_method): catch ActionException
7532 so return for invalid calls is always undefined.
7533 * testsuite/actionscript.all/Date.as: don't expect a failure
7534 on dateInstance.UTC being undefined.
7535 * testsuite/actionscript.all/Inheritance.as: Test access of
7536 builtin methods or gettersetter properties from user defined
7539 2007-01-23 Tomas Groth Christensen <tomasgroth@yahoo.dk>
7541 * backend/sound_handler_sdl.cpp: Also resample if samplerate is correct
7542 but number of channels is not (mono => stereo).
7543 * server/asobj/Global.cpp: Initialize NetStream using the new method.
7544 * server/asobj/NetConnection.h: Now compiles without Curl.
7545 * server/asobj/NetStream.{cpp,h}: Initialize NetStream using the new method.
7546 Implemented the time-property.
7547 * server/asobj/NetStreamFfmpeg.{cpp,h}: Switched from pthreads to boost.
7548 Hopefully fixed a thread-join-bug (#18571).
7549 Use ffmpeg/libavcodec's audio resampler since gnashs own resampler only
7550 supports a limited samplerates.
7551 Implemented seek() and time().
7552 * server/asobj/NetStreamGst.{cpp,h}: Implemented seek() and time().
7554 2007-01-23 Sandro Santilli <strk@keybit.net>
7556 * server/as_object.cpp (copyProperties): use set_member
7557 while importing properties to properly scan the
7559 * server/PropertyList.h: add visitValues() templated function.
7560 * server/sprite_instance.cpp (sprite_attach_movie):
7561 Copy properties from initialization object *after*
7562 placement to ensure matrix is properly updated.
7563 * testsuite/misc-ming.all/: attachMovieTest.c,
7564 attachMovieTestRunner.cpp:
7565 Made dejagnu-enabled, test for actual position
7566 of attached movieclips.
7568 2007-01-22 Sandro Santilli <strk@keybit.net>
7570 * testsuite/actionscript.all/Inheritance.as: add a new test triggering
7571 an assertion failure due to 'extends' modifying inheritance chains
7572 and importing a getter_setter not meant for non-sprite objects.
7573 * testsuite/actionscript.all/: Inheritance.as, MovieClip.as: expect
7574 failures on 'any instanceOf Object' after fix to
7575 'as_object::instanceOf'.
7576 * server/as_object.h: add const version of get_prototype.
7577 * server/as_function.cpp (getPrototype): use get_member to access
7578 the prototype, in case it was set by ActionScript.
7579 * server/as_object.cpp (instanceOf): fix broken implementation always
7582 2007-01-22 Sandro Santilli <strk@keybit.net>
7584 * testsuite/actionscript.all/Inheritance.as: additional
7585 test for 'new Function' construct.
7586 * server/sprite_instance.cpp (attachMovieClipInterface, get_member):
7587 handled most standard properties by means of calls to the new
7588 'init_property' call. Fixes run of the new attachMovieTest testcase
7589 and makes code easier and more reusable (next step is to reuse
7590 the getter-setter for other builtin classes like TextField, Button
7592 * testsuite/misc-ming.all/: attachMovieTest.c,
7593 attachMovieTestRunner.cpp:
7594 test 3rd argument to attachMovie (initObject).
7595 Fixed by change in sprite_instance above.
7596 * testsuite/misc-ming.all/place_and_remove_object_insane_test.c:
7597 Expect a failure accessing '_x' property of a clip, not sure
7598 about importance of it being the test insane.
7600 2007-01-22 Zou Lunkai <zoulunkai@gmail.com>
7602 * testsuite/misc-ming.all/: Makefile.am, goto_frame_test.c:
7603 Failing test for gotoFrame action.
7605 2007-01-22 Ann Barcomb <kudra@domaintje.com>
7607 * Partially merged branch 'testing-documentation-refactor' for
7608 files doc/C/sources.xml and doc/C/internals.xml. The change
7609 involved moving 'running tests' from the test-writing section
7610 into the user's installation section.
7612 2007-01-21 Rob Savoye <rob@bertha.welcomehome.org>
7614 * Makefile.am: Organize the output of dumpconfig somewhat. Make
7615 some lines optional based on the configuration to save space.
7616 * NEWS: Add that cross compiling is now supported.
7617 * README: Mention trying cvs Head befor bug reporting.
7618 * configure.ac: Check for the build and host systems. We don't
7619 have to hack cross_compile. it works correctly now. Use
7620 $host_alias instead $target_alias for the directory search
7621 paths. Look for PNG, OLPC needs it. Define a restricted path for
7622 cross configuring and export it for the other m4 scripts.
7623 * doc/C/sources.xml: Clarify cross configuring based on current
7625 * gui/Makefile.am: PTHREAD_LIBS must be after BOOST_LIBS.
7626 * libamf/Makefile.am: Remove unused libraries from LDFLAGS.
7627 * macros/curl.m4: Only look for curl-config in the pathlist
7629 * macros/glib.m4: Look for glibconfig.h in the right place.
7630 * macros/gtk2.m4: Add -lgobject and -lgmodule for cross
7632 * macros/incllist, libslist: Look in $host_alias, not
7634 * macros/libXML.m4: Only look for xml2-config in the pathlist
7636 * macros/ming.m4: Only look for ming-config in the pathlist
7638 * macros/pthreads.m4: Use correct comment syntax. Also look for
7639 pthread.h and libpthread so we cross configure correctly.
7640 * macros/sdl.m4: Only look for sdl-config in the pathlist
7642 * plugin/klash/Makefile.am: Don't build klash here anymore.
7643 * utilities/Makefile.am: Link in XML2 libs.
7645 2007-01-19 Sandro Santilli <strk@keybit.net>
7647 * server/asobj/xmlnode.cpp (attachXMLNodeInterface):
7648 add_property -> init_property.
7649 * server/sprite_instance.{h,cpp}: MovieClip.attachMovie() implemented.
7650 * testsuite/misc-ming.all/: Makefile.am, attachMovieTest.c,
7651 attachMovieTestRunner.cpp: testcase and runner for
7652 MovieClip.attachMovie().
7654 2007-01-19 Sandro Santilli <strk@keybit.net>
7656 * server/asobj/xmlnode.cpp (xmlnode_new): cast double to int
7657 before casting to an enum [ fix for gcc-3.3.5 ]
7658 * server/sprite_instance.cpp: cleanups, including use
7659 of log_aserror when appropriate.
7660 * server/as_object.cpp: commented out debugging output.
7662 2007-01-18 Sandro Santilli <strk@keybit.net>
7664 * extensions/mysql/mysql_table.cpp, server/array.cpp,
7665 server/array.h, server/as_function.cpp, server/as_object.cpp,
7666 server/as_object.h, server/button_character_instance.cpp,
7667 server/button_character_instance.h,
7668 server/edit_text_character.cpp, server/edit_text_character.h,
7669 server/event_id.h, server/gnash.h, server/movie_root.h,
7670 server/sprite_instance.cpp, server/sprite_instance.h,
7671 server/swf_function.cpp, server/video_stream_instance.cpp,
7672 server/video_stream_instance.h, server/asobj/ASSound.cpp,
7673 server/asobj/Boolean.cpp, server/asobj/Camera.cpp,
7674 server/asobj/Color.cpp, server/asobj/ContextMenu.cpp,
7675 server/asobj/CustomActions.cpp, server/asobj/Date.cpp,
7676 server/asobj/Error.cpp, server/asobj/Global.cpp,
7677 server/asobj/Key.cpp, server/asobj/Key.h,
7678 server/asobj/LoadVars.cpp, server/asobj/LocalConnection.cpp,
7679 server/asobj/Math.cpp, server/asobj/Microphone.cpp,
7680 server/asobj/Mouse.cpp, server/asobj/MovieClipLoader.cpp,
7681 server/asobj/NetConnection.cpp, server/asobj/NetStream.cpp,
7682 server/asobj/NetStream.h, server/asobj/NetStreamFfmpeg.cpp,
7683 server/asobj/NetStreamGst.cpp, server/asobj/Number.cpp,
7684 server/asobj/Object.cpp, server/asobj/Selection.cpp,
7685 server/asobj/SharedObject.cpp, server/asobj/Stage.cpp,
7686 server/asobj/System.cpp, server/asobj/TextSnapshot.cpp,
7687 server/asobj/Video.cpp, server/asobj/gen-asclass.sh,
7688 server/asobj/string.cpp, server/asobj/xml.cpp,
7689 server/asobj/xmlnode.cpp, server/asobj/xmlsocket.cpp,
7690 server/vm/ASHandlers.cpp, server/vm/ActionExec.cpp,
7691 server/vm/ActionExec.h, server/vm/action.cpp,
7692 server/vm/action.h, testsuite/actionscript.all/XML.as,
7693 testsuite/server/GetterSetterTest.cpp:
7694 (1) Change {get,set}_member{,_default} as_object members
7695 to take a std::string rather then a tu_string and to avoid
7696 case conversion of key based on target SWF version
7697 (2) Provide init_{member,property} as_obejct members to initialize
7698 AS class methods/props and take care of SWF#-based case-conversion;
7699 use where appropriate.
7700 (3) Provide {get,set}ObjectMember methods in ActionExec to take
7701 care of SWF#-based case conversion when called from AS handlers.
7703 2007-01-18 Bastiaan Jacques <bastiaan@bjacques.org>
7705 * server/asobj/xml.cpp: Make sure we actually have an XMLNode pointer
7706 before attempting to clone it. Do not attempt to setup a frame unless
7707 XML parsing succeeded. Fixes bug #18746.
7709 2007-01-18 Sandro Santilli <strk@keybit.net>
7711 * server/asobj/xml.{cpp,h}: third pass of new layout port:
7712 don't override get_member, rely on getter/setters instead.
7714 2007-01-18 Sandro Santilli <strk@keybit.net>
7716 * server/asobj/: Global.cpp, xml.{cpp,h}: second pass of new layout
7717 port: use xml_class_init and hide method functions.
7719 2007-01-18 Sandro Santilli <strk@keybit.net>
7721 * server/asobj/xml.{cpp,h}: first pass of new layout port.
7722 * testsuite/actionscript.all/XML.as: first unexpected success.
7724 2007-01-18 Sandro Santilli <strk@keybit.net>
7726 * server/asobj/: xml.cpp, xmlnode.{cpp,h}: drop xmlnode_as_object,
7727 making XMLNode a direct subclass of as_object; Implement or stub
7728 many properties as actual *properties* (new layout).
7729 * testsuite/actionscript.all/XMLNode.as: other unexpected successes.
7731 2007-01-18 Sandro Santilli <strk@keybit.net>
7733 * server/asobj/xmlnode.{cpp,h}: (nodeValueSet): always replace
7734 previous value. (xmlnode_nodevalue, xmlnode_nodename): act
7735 both as a setter and a getter.
7736 * testsuite/actionscript.all/XMLNode.as: another unexpected success.
7738 2007-01-18 Sandro Santilli <strk@keybit.net>
7740 * server/asobj/: Global.cpp, xml.cpp, xmlnode.{cpp,h}:
7741 Port XMLNode class to current correct architecture.
7742 * testsuite/actionscript.all/XML.as: unexpected pass ;)
7744 2007-01-18 Tomas Groth Christensen <tomasgroth@yahoo.dk>
7746 * backend/sound_handler_sdl.cpp: Fixed a bug for 8=>16 bit conversion.
7747 * server/asobj/NetConnection.cpp: Removed a printf.
7748 * server/asobj/NetStreamFfmpeg.cpp: Stop the decoding thread properly,
7749 hopefully fixes bug #18571.
7750 * misc: Tried adding some cvs id tags (again)...
7752 2007-01-18 Sandro Santilli <strk@keybit.net>
7754 * server/asobj/xml.cpp: use fn_call interface for
7755 function arguments access rather then as_environment one.
7757 2007-01-17 Sandro Santilli <strk@keybit.net>
7759 * macros/gnashpkgtool.m4: accept pkg-config finding for CFLAGS
7760 (the bug was introduced by last commit of this file)
7761 * testsuite/actionscript.all/Makefile.am: don't distribute
7762 prebuilt test cases.
7763 * missing: fix stub for missing 'makeinfo'
7764 * macros/ming.m4: prepend MING_PATH to PATH when
7765 scanning for 'makeswf'.
7767 2007-01-17 Bastiaan Jacques <bastiaan@bjacques.org>
7769 * gui/Makefile.am: Stop calling the KDE GUI executable Klash; use
7771 * gui/kde{.cpp, sup.h}: Make a new class named qwidget derived from
7772 QGLWidget. This allows us to create the QApplication before
7773 instantiating an object derived from QWidget, thereby fulfilling
7774 QT requirements. And, this way, we can also pass it argv and argc.
7775 * plugin/klash/Makefile.am: Stop building the klash binary. The klash
7776 code is obsolete and hasn't compiled for a while.
7777 * plugin/klash/klash_part.cpp: Use the gnash binary instead of klash.
7778 * backend/render_handler.h: Add get_scale() method, to retrieve the
7779 renderer's current scaling.
7780 * backend/render_handler_agg.cpp: Add a better trunc() implementation
7781 from Sandro. Implement drawVideoFrame(); scaling is not yet supported.
7782 Implement get_scale().
7783 * server/render{.h,.cpp}: initialise s_render_handler to NULL so as to
7784 avoid reading uninitialised memory. Add and implement
7785 render::get_scale().
7787 2007-01-17 Sandro Santilli <strk@keybit.net>
7789 * backend/Makefile.am, libbase/Makefile.am:
7790 ZLIB_CFLAGS => Z_CFLAGS, ZLIB_LIBS => Z_LIBS
7791 * configure.ac: include ZLIB vars in summary.
7792 * macros/gnashpkgtool.m4: make sure to define HAVE_header when
7793 a package header is found.
7794 * testsuite/samples/clip_as_button2-TestRunner.cpp: enable
7795 verbosity *before* attempting to load the movie, to know
7796 more about why the movie could not be loaded.
7797 * .cvsignore, cygnal/.cvsignore, extensions/mysql/.cvsignore,
7798 testsuite/actionscript.all/.cvsignore,
7799 testsuite/misc-ming.all/.cvsignore,
7800 testsuite/movies.all/.cvsignore, testsuite/samples/.cvsignore,
7801 testsuite/server/.cvsignore:
7802 Ignore generated files.
7803 * testsuite/libbase/Makefile.am: don't attempt to run Curl test
7804 if no curl is enabled.
7805 * libbase/zlib_adapter.cpp: fix build for !TU_CONFIG_LINK_TO_ZLIB.
7807 2007-01-16 Bastiaan Jacques <bastiaan@bjacques.org>
7809 * configure.ac, Makefile.am, gui/Makefile.am: Stop abusing
7810 gnashpkgtool.m4 and use GNASH_PKG_FIND. Update the users of the FLTK
7811 compiler and linker flags to use FLTK2_flag.
7812 * gui/fltk.cpp: Code cleanups. Fix the menu rendering bug by moving
7813 drawing calls into draw(). Actually enable the region rendering code.
7814 Redraw the whole window when it is moved.
7815 * gui/{fltk_glue_agg.h, fltk_glue_agg.cpp, fltksup.h}: Trivial code
7817 * gui/fltksup.h: Remove the Mozilla exception.
7818 * macros/sdl.m4: Fix typos.
7820 2007-01-15 Tomas Groth Christensen <tomasgroth@yahoo.dk>
7822 * libbase/gstgnashsrc.{c,h}: Fixed some warnings.
7823 * server/asobj/NetStreamGst.{cpp,h}: Fixed some warnings, and removed
7825 * server/video_yuv.cpp: Removed since it function has been moved to
7827 * testsuite/movies.all/yapc2006.swf: Removed since it's just too big!
7829 2007-01-15 Sandro Santilli <strk@keybit.net>
7831 * server/font.h: proper include to avoid undefined
7832 references to drop_ref().
7834 2007-01-15 Sandro Santilli <strk@keybit.net>
7836 * server/asobj/TextSnapshot.cpp: fixed methods
7838 * testsuite/actionscript.all/TextSnapshot.as:
7839 fixed checks taking SWF version into account.
7841 2007-01-15 Zou Lunkai <zoulunkai@gmail.com>
7843 * server/vm/ASHandlers.cpp (ActionDefineFunction,
7844 ActionDefineFunction2): don't push named function literals
7845 on the stack (do it only for anonymous functions).
7848 2007-01-15 Sandro Santilli <strk@keybit.net>
7850 * testsuite/server/Makefile.am: explicitly link to libgnashvm.
7852 2007-01-15 Sandro Santilli <strk@keybit.net>
7854 * server/as_environment.{cpp,h}: added padStack
7855 method to help stack underrun fixes.
7856 * server/vm/: ASHandlers.{cpp,h}, ActionExec.{cpp,h}:
7857 Moved stack underrun handling from ASHandlers to
7858 ActionExec, taking "stack frame" in consideration.
7859 The fix for stack underron will now insert undefined
7860 variables in *front* of the stack frame, not at the
7861 end. The effect is that *final* arguments of tags are
7862 undefined, not *initial*.
7863 * testsuite/actionscript.all/Makefile.am:
7864 Enabled build of swap.as testcase.
7866 2007-01-15 Zou Lunkai <zoulunkai@gmail.com>
7868 * testsuite/actionscript.all/swap.as: new test for
7869 stack underrun handling.
7871 2007-01-14 Sandro Santilli <strk@keybit.net>
7873 * server/vm/ActionExec.{cpp,h} (getVariable, setVariable,
7874 setLocalVariable): convert variable name to
7875 lowercase if SWF version is < 7. This should relief us
7876 from doing it in as_object::get_member_default (TODO: check it out).
7877 * server/sprite_instance.cpp (get_member):
7878 handle '_root', '_level0' and 'this' references.
7879 * server/vm/ASHandlers.cpp (CommonSetTarget): use
7880 as_environment::get_variable() rather then find_target()
7881 to resolve target name (more hiding, automatic use of the
7883 * server/as_environment.{cpp,h}: (get_variable):
7884 allow objects to be used as path components, scan _global for
7885 first element of path. Uses a newly added find_object_slashsyntax
7886 and find_object_dotsyntax methods, with interface similar to find_target,
7887 but w/out insisting on getting a sprite_instance.
7888 (find_target): return NULL on invalid paths.
7889 * testsuite/actionscript.all/getvariable.as: some new tests.
7891 2007-01-13 Sandro Santilli <strk@keybit.net>
7893 * testsuite/actionscript.all/Makefile.am: don't attempt to
7894 build "quickcheck" runners with 'make all'.
7896 2007-01-13 Tomas Groth Christensen <tomasgroth@yahoo.dk>
7898 * backend/render_handler_ogl.cpp: No need to flip the frame twice.
7899 * libbase/Makefile.am, libbase/gstgnashsrc.{c,h}: Added gstgnashsrc.{c,h}
7900 for feeding gstreamer through callbacks.
7901 * server/Makefile.am, server/asobj/Makefile.am,
7902 server/asobj/NetStream.h, server/asobj/NetStreamGst.{cpp,h}: Added
7903 NetStreamGst for decoding of external videofiles using Gstreamer.
7904 * server/asobj/NetConnection.{cpp,h}: Rewritten to use curl (based on
7906 * server/asobj/NetStreamFfmpeg.cpp: Use NetConnection instead of
7907 StreamProvider. Fixed a 100%-CPU-use-bug. Stopped fliping the videoframe.
7909 2007-01-12 Sandro Santilli <strk@keybit.net>
7911 * testsuite/misc-ming.all/place_and_remove_object_insane_test.c:
7912 simplified testcase to show actual Gnash problem.
7914 2007-01-12 Sandro Santilli <strk@keybit.net>
7916 * server/vm/ASHandlers.cpp (ActionPushData): include
7917 dictionary offset when printing actions.
7918 * testsuite/misc-ming.all/ming_utils.h: cleanup documentation
7919 for dejagnu-like macros, fix check_equals and xcheck_equals
7920 macros so they actually print the "obtained" result.
7921 * testsuite/misc-ming.all/Makefile.am: enable run of
7922 the insane testcase.
7924 2007-01-12 Zou Lunkai <zoulunkai@gmail.com>
7926 * testsuite/misc-ming.all/place_and_remove_object_insane_test.c:
7927 new insane testcase (surprisingly works though).
7929 2007-01-12 Bastiaan Jacques <bastiaan@bjacques.org>
7931 * server/asobj/NetStreamFfmpeg.cpp: Don't delete the RGB video data
7932 buffer until we've actually finished using it. Doh!
7934 2007-01-12 Sandro Santilli <strk@keybit.net>
7936 * server/vm/ActionExec.{h,cpp}: don't really
7937 limit the size of 'with' stack. Only use the
7938 limit information to warn user when ActionScript errors
7939 verbosity is enabled.
7940 * testsuite/actionscript.all/with.as: don't assume 'with'
7941 stack limits are driven by SWF# (it will depend on the player
7943 * testsuite/actionscript.all/Color.as:
7944 Use typeof() for stricter checking, fix case of methods.
7945 * server/asobj/Color.cpp: fix case of methods.
7946 * testsuite/actionscript.all/System.as: _global.System is
7947 an object, not a class. Use typeof() for stricter checking.
7948 * server/asobj/System.cpp: fix case of methods, make System
7949 an object, not a class.
7950 * testsuite/actionscript.all/Selection.as: _global.Seleciton is
7951 an object, not a class. Use typeof() for stricter checking.
7952 * server/asobj/Selection.cpp: fix case of methods, make Selection
7953 an object, not a class.
7954 * testsuite/actionscript.all/NetStream.as: don't check unavailability
7955 of the class based on SWF version as the player is allowed to
7956 provide new classes reguardless of it. Use typeof to strictly check
7957 methods existance, check case-sensitiveness of methods.
7958 * server/asobj/NetStream.cpp: fix case of methods.
7959 * testsuite/actionscript.all/Makefile.am: add 'quickcheck'
7960 rule, running *one* gnash process for each version.
7961 Currently some tests fail, but that's likely due to
7962 persistance of variable set in previous testcases
7963 (they are compiled in separate frames of the same movie).
7964 * testsuite/actionscript.all/check.as: include filename
7965 in test result report (easier to see what goes on, altought
7966 bigger output); make dump of rcsid hushable.
7968 2007-01-11 Sandro Santilli <strk@keybit.net>
7970 * server/as_environment.cpp (get_variable_raw): accept
7971 slashes in variable names (see getvariable.as).
7972 * testsuite/actionscript.all/: Makefile.am, getvariable.as
7973 New testcase for GetVariable action type. Gnash aborts
7976 2007-01-11 Sandro Santilli <strk@keybit.net>
7978 * server/as_environment.cpp (get_variable): revert patch
7979 forcing use of 'with' stack as it breaks other testcases.
7980 Will need further analisys.
7982 2007-01-11 Sandro Santilli <strk@keybit.net>
7984 * server/sprite_instance.{cpp,h}: (ctor) optionally take
7985 an additional argument for giving the instance an arbitrary
7986 interface (rather then MovieClip).
7987 * server/parser/sprite_definition.{cpp,h}: add registerClass()
7988 method to request all subsequent instances of the sprite
7989 get a specified interface.
7990 * server/asobj/Object.cpp: complete registerClass() [ testing ].
7992 2007-01-11 Sandro Santilli <strk@keybit.net>
7994 * server/as_environment.cpp (get_variable): use 'with' stack when
7995 finding path component of a path.to.variable (seems to fix
7996 a use case in player2.swf).
7997 * server/styles.cpp: warn only once about 1st gradient fill
7998 style position != 0. Use log_swferror when appropriate.
8000 2007-01-11 Sandro Santilli <strk@keybit.net>
8002 * server/asobj/Global.cpp: always provide the Function
8003 and System classes. Add a note about possibly bogus
8004 approach of making classes available based on SWF
8006 * testsuite/actionscript.all/Camera.as: expect
8007 a failure on availability of Camera class for
8008 old version (will likely change again in the future
8009 if we confirm that availability of classes doesn't
8010 depend on SWF version).
8012 2007-01-11 Sandro Santilli <strk@keybit.net>
8014 * server/asobj/Stage.cpp: Stage is not a class, but
8016 * testsuite/actionscript.all/Stage.as: fix taking
8017 SWF version into account.
8018 * server/asobj/ContextMenu.cpp: fixed method cases
8019 * testsuite/actionscript.all/ContextMenu.as: fix taking
8020 SWF version into account.
8021 * server/asobj/SharedObject.cpp: fixed method cases
8022 * testsuite/actionscript.all/SharedObject.as: fix taking
8023 SWF version into account.
8024 * testsuite/actionscript.all/: Error.as, LoadVars.as:
8025 fix tests taking SWF version and case into account.
8026 * server/asobj/LoadVars.cpp: fix method case.
8027 * server/asobj/Error.cpp: tostring => toString
8028 * server/asobj/Global.cpp: moved most classes to appropriate
8029 versioned SWF section.
8030 * configure.ac: reverted a change in FLTK lib detection
8031 committed by accident.
8033 2007-01-10 Sandro Santilli <strk@keybit.net>
8035 * configure.ac: fltk gui requested and fltk2 dev package not found
8038 2007-01-10 Bastiaan Jacques <bastiaan@bjacques.org>
8040 * gui/{fltk.cpp, fltksup.h}: Initial FLTK GUI implementation.
8041 * gui/{fltk_glue_agg.cpp, fltk_glue_agg.h}: Agg glue for the FLTK GUI.
8042 * gui/{fltk_glue_cairo.cpp, fltk_glue_cairo.h}: Cairo glue for the
8044 * configure.ac: Allow the FLTK/Agg combination. Detect the FLTK
8045 library when the FLTK GUI was selected. Don't allow OpenGL/FLTK.
8046 * gui/Makefile.am: Build the FLTK GUI when requested.
8047 * gui/Player.cpp: Enable the FLTK GUI.
8048 * gui/gtk.cpp: Use an anonymous namespace for dbglogfile to avoid
8050 * gui/gtk.cpp, gui/gui{.h, .cpp}: Move GtkGui::menuitem_sound_callback
8051 to class Gui so other GUIs can use it.
8052 * gui/fltk*: Update to the new license header sans Firefox exception.
8054 2007-01-10 Sandro Santilli <strk@keybit.net>
8056 * gui/Player.cpp, libbase/zlib_adapter.cpp, libbase/zlib_adapter.h,
8057 server/gnash.h, server/impl.cpp, server/parser/movie_def_impl.cpp,
8058 server/parser/movie_def_impl.h, utilities/parser.cpp,
8059 testsuite/MovieTester.cpp:
8060 Use std::auto_ptr to have input tu_file ownership transferred up to
8061 the point where it belongs (a parser unit, or an adapter).
8063 2007-01-10 Bastiaan Jacques <bastiaan@bjacques.org>
8065 * gui/gtk{.cpp, sup.h}: Reimplement the open file dialog, and
8066 this time include support for legacy GTK versions. It doesn't
8067 yet actually open the selected file.
8069 2007-01-10 Sandro Santilli <strk@keybit.net>
8071 * testsuite/actionscript.all/Video.as: xcheck => check
8072 (not available when swfversion<6)
8073 * server/dlist.{h,cpp}: added sort() method to resort
8074 when depth of characters is externally changed.
8075 * server/sprite_instance.{h,cpp}: simplified state save
8076 of frame0 displaylist, with the side-effect of properly
8077 keeping ref-counting of frame0 character instances.
8079 2007-01-10 Sandro Santilli <strk@keybit.net>
8081 * libbase/: extension.cpp, sharedlib.cpp: hush compiler warnings
8082 about unused parameters.
8083 * server/asobj/Global.cpp (ctor): stubbed organization of
8084 ActionScript classes in SWF target versions (volunteers
8086 * testsuite/actionscript.all/: LocalConnection.as, Camera.as,
8087 NetStream.as, System.as, NetConnection:
8088 test that the class are unavailable when target version
8089 is < their entry point.
8091 2007-01-10 Sandro Santilli <strk@keybit.net>
8093 * backend/render_handler_tri.cpp, server/array.cpp,
8094 server/sprite_instance.cpp, server/text.cpp,
8095 server/swf/tag_loaders.cpp: House cleaning
8096 (compiler warnings..)
8098 2007-01-10 Sandro Santilli <strk@keybit.net>
8100 * server/styles.cpp (sample_gradient): fix interpolation.
8102 2007-01-09 Bastiaan Jacques <bastiaan@bjacques.org>
8104 * configure.ac: Fix typo. Comment out configure output regarding
8105 the Agg compatibility layer, as it appears to be unused.
8106 * macros/agg.m4: `test' Can have only one instance of the -a
8107 argument, so add a separate test and match indentation.
8108 * macros/kde.m4: Stop trying to use the undefined GNASH_PATH_ZLIB
8109 and instead rely on the ZLIB macro which configure executes.
8111 2007-01-10 Sandro Santilli <strk@keybit.net>
8113 * server/Makefile.am, server/bitmap_info.h, server/gnash.h,
8114 server/parser/bitmap_character_def.h,
8115 server/parser/movie_definition.h:
8116 Put 'bitmap_info' clases in its own header.
8118 2007-01-09 Rob Savoye <rob@bertha.welcomehome.org>
8120 * server/asobj/Global.cpp: Always add XML support. Include
8122 * server/asobj/xml.cpp, xml.h, xmlattrs.h, xmlattrs.cpp,
8123 xmlnode.h, xmlnode.cpp, xmlsocket.h, xmlsocket.cpp: Don't make
8124 building XML optional, it's part of the Flash spec.
8126 2007-01-09 Sandro Santilli <strk@keybit.net>
8128 * server/swf_function.{cpp,h}: use symbolic
8129 names for Function2 flags.
8131 2007-01-09 Sandro Santilli <strk@keybit.net>
8133 * server/swf_function.cpp (operator()):
8134 Fix 'this' reference in function2 (both register and local var,
8135 only the latter tested but I'd assume the former would also work).
8136 Remove "UNTESTED" notice for super in function2 local var as it's
8137 now tested using latest Ming.
8139 2007-01-09 Sandro Santilli <strk@keybit.net>
8141 * server/vm/ASHandlers.cpp (ActionSetRegister, ActionPushData):
8142 when setting/getting registers in function2 context and local
8143 registers are not available, fallback to using global register.
8145 2007-01-09 Bastiaan Jacques <bastiaan@bjacques.org>
8147 * macros/agg.m4: When pkg-config is available and it knows Agg,
8148 check for the agg-2.5 header in case we're dealing with an
8149 improperly named Agg package.
8151 2007-01-08 Sandro Santilli <strk@keybit.net>
8153 * server/as_environment.h: add num_local_registers() and
8154 resize_local_registers() methods.
8155 * libbase/log.{cpp,h}: added log_swferror and log_aserror
8158 2007-01-08 Rob Savoye <rob@bertha.welcomehome.org>
8160 * Makefile.am: Change ZLIB_ to Z_, so it works with
8162 * configure.ac: Autoconf isn't correctly determining when we
8163 are cross compiling, so do our own test. Set $incllist and
8164 $libslist to the output of a text file listing all the paths. Use
8165 GNASH_PATH_JPEG, GNASH_PATH_SDL, and GNASH_PATH_GLIB again.Use
8166 GNASH_PATH_LIBXML again so we can be cross configured.
8167 * macros/jpeg.m4: Add this back in as the name munging leaves
8168 gnashpktool with the wrong setting.
8169 * macros/sdl.m4: Add this back in so we correctly determine the
8170 SDL version regardless of the format.
8171 * cygnal/Makefile.am: Add LIBLTDL to LDFLAGS.
8172 * gui/Makefile.am: Add GTK_ for GTK specific CFLAGS and
8173 LDFLAGS. Link in libgnashamf too.
8174 * gnash/libamf/Makefile.am: Remove a bunch of libraries we don't
8176 * macros/agg.m4: Use global incllist and libslist. Drop test for
8178 * macros/boost.m4: Use global incllist instead of pathlist. Move
8179 AC_CHECK_HEADERS and AC_CHECK_LIB to after directory search.
8180 * macros/curl.m4: Don't use pkg-config when cross compiling. Use
8181 global incllist and libslist.
8182 * macros/ffmpeg.m4: Use global incllist instead of pathlist. Move
8183 AC_CHECK_HEADERS and AC_CHECK_LIB to after directory search. Don't
8184 use pkg-config when cross compiling.
8185 * gnashpkgtool.m4: Don't use pkg-config when cross compiling. Use
8186 global incllist and libslist. Add additional test for header file
8187 without the package name as the top level directory.
8188 * macros/gtk2.m4, pango.m4: Don't use pkg-config when cross
8189 compiling. Use global incllist and libslist.
8190 * macros/gtkglext.m4, mysql.m4, opengl.m4: Use global incllist and
8192 * macros/libXML.m4: Change --with option names to incl and libs to
8193 match everything else. Only traverse header paths once.
8194 * macros/ming.m4: If we don't have ming-config, find stuff our
8196 * macros/mysql.m4: Use global incllist and libslist.
8197 * macros/opengl.m4: Use global incllist and libslist.
8198 * utilities/Makefile.am: Add Boost and PTHREAD libs, along with
8199 gnashamf. These are needed when cross compiling.
8200 * macros/incllist: List of directories to use for header file searches.
8201 * macros/libslist: List of directories to use for library searches.
8203 2007-01-08 Bastiaan Jacques <bastiaan@bjacques.org>
8205 * macros/ffmpeg.m4: Fix a rather unfortunate typo that was causing
8206 configure to look for liblibavformat rather than libavformat.
8208 2007-01-08 Sandro Santilli <strk@keybit.net>
8210 * server/vm/ASHandlers.cpp (ActionDefineFunction2):
8211 check consistency of code_size, handling bogus SWF.
8213 2007-01-08 Sandro Santilli <strk@keybit.net>
8215 * testsuite/actionscript.all/Inheritance.as: added a couple more
8216 tests to the 'extends' section, curtesy of Zou Lunkai.
8217 * testsuite/actionscript.all/Function.as: added test for 'this'
8218 reference in Object's context. By Zou Lunkai.
8220 2007-01-06 Sandro Santilli <strk@keybit.net>
8222 * server/vm/ASHandlers.cpp: removed unused code.
8223 * server/vm/ActionExec.cpp: made action verbosity a bit more compact;
8224 cleanup the stack after block execution.
8225 * testsuite/actionscript.all/MovieClip.as: new test for MovieClip
8226 being an Object instance.
8228 2007-01-04 Markus Gothe <nietzsche@lysator.liu.se>
8230 * Fixed bug #18694 + added extra info.
8232 2007-01-04 Sandro Santilli <strk@keybit.net>
8234 * server/asobj/Object.cpp: stubbed registerClass().
8235 * server/sprite_instance.cpp (movieclip_ctor): allow 'new MovieClip'.
8236 * testsuite/actionscript.all/MovieClip.as: test 'new MovieClip'.
8237 * server/impl.cpp, server/swf/tag_loaders.{h,cpp}:
8238 Implemented parsing (not use) of FILEATTRIBUTES (69)
8239 and METADATA (77) tags.
8241 2007-01-04 Sandro Santilli <strk@keybit.net>
8243 * server/parser/shape_character_def.cpp (read):
8244 use symbolic names for tags (not yet for flags: TODO);
8245 (read_fill_styles): don't choke on malformed SWF.
8246 * server/styles.{h,cpp} (sample_gradient): made private,
8247 changed arg type to be stricter, cleaned up;
8248 (fill_style::read) don't choke on malformed SWF.
8249 * testsuite/actionscript.all/check.as: Ming can compile 'asm'
8250 blocks since 0.4.0.beta3, not beta2 (as of Ming's NEWS file).
8252 2007-01-03 Ann Barcomb <kudra@domaintje.com>
8254 * Removed 'Level of Conformance' from doc/C/internals.xml.
8255 This information will go in the wiki. Temporarily created
8256 conformance.xml in the same directory which contains the
8259 2007-01-03 Bastiaan Jacques <bastiaan@bjacques.org>
8261 * libbase/tu_opengl_includes.h: Make building against X11/OpenGL work
8262 even when we're using MACH, i.e. on OSX, but only when the GTK GUI
8263 is used. (Because there's a good chance we're using X11 when GTK is
8264 involved; however, there is an experimental GTK/Cocoa port, so this
8265 is not a definitive fix and we may have to revisit this issue some
8266 day.) To do this, all we have to do is to make sure GL/glx.h is
8269 2007-01-03 Ann Barcomb <kudra@domaintje.com>
8271 * Corrected Firefox version and canvas information
8272 in doc/C/internals.xml
8274 2002-01-03 Markus Gothe <nietzsche@lysator.liu.se>
8276 * cygnal/http.cpp: removed extra ';'.
8277 * cygnal/alloc.cpp: throw stuff.
8279 2007-01-02 Markus Gothe <nietzsche@lysator.liu.se>
8281 * utilities/processor.cpp if not GCC define optarg as extern.
8282 * server/asobjs/NetStreamFfmpeg.cpp: Fixed static_cast of
8283 AV_NOPTS_VALUE. Dynamic allocation of the buffer, since it's wasn't
8284 valid ISO C++ before.
8286 2007-01-02 Ann Barcomb <kudra@domaintje.com>
8288 * Created directory devtools, which will contain
8289 things like editor styles, tests for style conformity,
8290 server-side CVS hooks, etc.
8292 2007-01-02 Ann Barcomb <kudra@domaintje.com>
8294 * Removed zoomhenge.mbox; information abstracted to
8297 2007-01-02 Sandro Santilli <strk@keybit.net>
8299 * testsuite/actionscript.all/Makefile.am: provide
8300 MING_VERSION_CODE define.
8301 * testsuite/actionscript.all/check.as: toggle define
8302 MING_SUPPORTS_ASM and MING_SUPPORT_ASM_EXTEND based
8303 on MING_VERSION_CODE
8304 * testsuite/actionscript.all/String.as: don't assume
8305 that ming supports ASM, rely on the define set in
8307 * testsuite/actionscript.all/Inheritance.as:
8308 Add test for ActionExtend (optionally enabled
8309 based on MING_SUPPORTS_ASM_EXTENDS define)
8311 2007-01-02 Sandro Santilli <strk@keybit.net>
8313 * macros/ming.m4: synced with the version in Ming repository.
8314 Basically add MING_VERSION and MING_VERSION_CODE variable,
8315 we'll use them to detect wheter 'asm' or specific features
8317 * Makefile.am: show Ming stuff on 'make dumpconfig'
8318 * configure.ac: print Ming stuff on summary, properly invoke
8319 the Ming macro (renamed from GNASH_PATH_MING to AC_PATH_MING).
8321 2007-01-02 Sandro Santilli <strk@keybit.net>
8323 * server/as_function.{h,cpp}: _properties member kept by
8324 intrusive_ptr to simplify implementation (never
8325 directly call add_ref/drop_ref); added private
8326 setPrototype() method for possible future use
8327 to keep "prototype" AS member in sync with
8328 _properties class member; Added extends() method.
8329 * server/as_object.{h,cpp}: m_prototype member kept
8330 by intrusive_ptr to simplify implementation (never
8331 directly call add_ref/drop_ref) and made private;
8332 provided get_prototype() accessor to it.
8333 * server/swf_function.cpp: updated accesses
8334 of as_object::m_prototype.
8335 * server/vm/ASHandlers.cpp (ActionExtends): implemented
8336 (needs more testcases).
8338 2007-01-02 Bastiaan Jacques <bastiaan@bjacques.org>
8340 * gui/gtk.cpp: I've commented out the GTK file chooser code because:
8341 - It doesn't actually make Gnash open the file.
8342 - It requires GTK >= 2.4, and we want to preserve compatibility
8343 - with GTK 2.2 for embedded, old and thin systems.
8345 2007-01-01 Sandro Santilli <strk@keybit.net>
8347 * server/dlist.{h,cpp}: added clear_except() function
8348 to remove all but a specified set of character
8349 instances from the list; deprecated clear_unaffected()
8351 * server/sprite_instance.{h,cpp}: take note of which
8352 character instances are created by execution of first
8353 frame tags and exclude them from the DisplayList cleanup
8354 performed at each restart. Simplifies the advance_sprite
8356 * testsuite/misc-ming.all/place_and_remove_object_test.c:
8357 don't expect any failure.
8359 2007-01-01 Sandro Santilli <strk@keybit.net>
8361 * server/as_function.cpp (getPrototype):
8362 added check for 'prototype' member overwrite (debugging).
8363 * server/swf_function.{h,cpp}: provide variable 'super' in
8364 function1 and 2 contexts (local variable or register);
8365 fixed the 'this' variable-or-register in function2 contexts
8367 * testsuite/actionscript.all/Inheritance.as: don't expect
8368 a failure in using the 'super' variable (not function2!)
8370 2006-12-31 Sandro Santilli <strk@keybit.net>
8372 * server/as_function.cpp: allow Function construction
8374 * testsuite/actionscript.all/Inheritance.as: don't expect
8375 'new Function' to fail. Fix for SWF<6
8376 * server/vm/ActionExec.{h,cpp}: simplified constructor for
8378 * server/swf_function.{h,cpp}: updated calls to ActionExec
8380 * testsuite/actionscript.all/Inheritance.as: added test
8381 for using 'super' from within a function (failing).
8382 * testsuite/misc-ming.all/ming_utils.h:
8383 Include filename in test result messages.
8384 * testsuite/misc-ming.all/: Makefile.am, place_object_test.c,
8385 place_object_testrunner.cpp: Test turned into a self-contained
8388 2006-12-30 Sandro Santilli <strk@keybit.net>
8390 * testsuite/misc-ming.all/: Makefile.am,
8391 place_and_remove_object_test.c:
8392 turned last testcase into a self-contained
8394 * doc/C/internals.xml: updated section about writing Ming-based
8395 self-contained tests and using the generic-testrunner.sh script.
8396 * testsuite/misc-ming.all/ming_utils.{h,c}:
8397 Added compile_actions() method, removed check/check_equals
8398 function and substituted with
8399 check/check_equals/xcheck/xcheck_equals macros (so you
8400 get the source file line number of failing cases).
8401 * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c:
8402 updated calls to check/check_equals
8403 * server/as_object.h (get_numeric_value): return 0 if
8404 get_text_value() returns NULL.
8405 * testsuite/generic-testrunner.sh: accept -r switch
8406 for passing it to gprocessor (useful when you are testing
8407 restart conditions).
8408 * utilities/processor.cpp: add -r switch to control
8409 allowed number of runs (restarts).
8411 2006-12-30 Sandro Santilli <strk@keybit.net>
8413 * testsuite/misc-ming.all/: Makefile.am,
8414 place_and_remove_object_test.c:
8415 Added new test from Zou (missing a testrunner).
8417 2006-12-30 Bastiaan Jacques <bastiaan@bjacques.org>
8419 * macros/boost.m4: When the --with-boost-lib configure
8420 flag is specified, don't forget to append the library
8421 name to the specified path.
8423 2006-12-29 Sandro Santilli <strk@keybit.net>
8425 * cygnal/cygnal.cpp: removed compiler warnings.
8427 2006-12-29 Bastiaan Jacques <bastiaan@bjacques.org>
8429 * gui/gtk.cpp: Don't add the drawing area to a container
8430 twice. This eliminates a GTK warning.
8432 2006-12-29 Sandro Santilli <strk@keybit.net>
8434 * autogen.sh: check return from libtoolize call,
8435 giving up if non-zero (excessive zeal?).
8437 2006-12-28 Sandro Santilli <strk@keybit.net>
8439 * testsuite/actionscript.all/Makefile.am,
8440 testsuite/misc-ming.all/Makefile.am,
8441 extensions/Makefile.am, extensions/dejagnu/Makefile.am:
8442 Some fixes for 'distcheck' rule.
8444 2006-12-28 Sandro Santilli <strk@keybit.net>
8446 * testsuite/samples/Makefile.am: removed references
8447 to loop_test.swf, generated in misc-ming.all lately.
8449 2006-12-28 Sandro Santilli <strk@keybit.net>
8451 * server/sprite_instance.{h,cpp}: cleanup and document
8452 add_display_object method reintroducing use of
8453 the replace_if_depth_is_occupied parameter.
8454 * server/swf/tag_loaders.cpp (place_object_2::execute): don't
8455 let new characters replace existing ones at same depth
8456 when placing them. This fixes all existing testcases
8458 * testsuite/misc-ming.all/: loop_test-Runner.cpp,
8459 place_object_testrunner.cpp: don't expect failures.
8461 2006-12-28 Sandro Santilli <strk@keybit.net>
8463 * testsuite/misc-ming.all/: Makefile.am, place_object_test.c,
8464 place_object_testrunner.cpp: new test by Zou Lunkai for
8465 depth replacement and automatic runner for it (by myself).
8467 2006-12-28 Sandro Santilli <strk@keybit.net>
8469 * testsuite/misc-ming.all/root_stop_testrunner.cpp:
8470 carriage returns removed; fixed wrong assumption,
8471 added more tests (no more expected failures).
8473 2006-12-26 Sandro Santilli <strk@keybit.net>
8475 * testsuite/misc-ming.all/: Makefile.am, loop_test-Runner.cpp,
8476 loop_test.c: added source of loop_test testcase, updated
8478 * testsuite/samples/: Makefile.am, loop_test-Runner.cpp,
8479 loop_test.swf: removed code moved to misc-ming.all.
8481 2006-12-25 Tomas Groth Christensen <tomasgroth@yahoo.dk>
8483 * backend/render_handler_ogl.cpp: Made the OpenGl backend
8484 actually use RGB for video...
8486 2006-12-24 Sandro Santilli <strk@keybit.net>
8488 * server/swf.h: add name for tag 777 (from a contribution to Ming).
8489 * server/sprite_instance.cpp,
8490 testsuite/misc-ming.all/root_stop_testrunner.cpp,
8491 testsuite/samples/loop_test-Runner.cpp:
8492 temporary hack to fix elvis.swf, breaking other
8493 stuff... just a shuffle to let elvis be with us
8496 2006-12-24 Sandro Santilli <strk@keybit.net>
8498 * testsuite/check.h: always use the stub replacement of Dejagnu
8499 as we need 'xpass' and 'xfail' which are not available in
8500 latest distributed version of dejagnu.h ...
8501 * testsuite/misc-ming.all/root_stop_testrunner.cpp:
8502 marked failures as expected.
8503 * server/sprite_instance.cpp: debug messages hopefully
8504 made a bit less confusing.
8506 2006-12-23 Tomas Groth Christensen <tomasgroth@yahoo.dk>
8508 * backend/render_handler_ogl.cpp: Changed the OpenGL render,
8509 so that it uses RGB frames for video instead of YUV, since
8510 there's some color issues with YUV->RGB convertion.
8512 2006-12-22 Sandro Santilli <strk@keybit.net>
8514 * server/: execute_tag.h, sprite_instance.cpp, swf/tag_loaders.cpp:
8515 Simplified get_depth_id_of_replace_or_add_tag() interface to NOT
8516 use negative numbers (return 0 for non-place-or-replace-chars).
8518 2006-12-22 Zou Lunkai <zoulunkai@gmail.com>
8520 * gui/sdl_agg_glue.cpp (render): fix black
8521 display - see bug #18425.
8523 2006-12-22 Sandro Santilli <strk@keybit.net>
8525 * gui/sdl.cpp: don't report run of renderBuffer() - too much noise.
8526 * testsuite/misc-ming.all/Makefile.am: enabled run of
8527 root_stop_testrunner by 'make check'
8529 2006-12-22 Zou Lunkai <zoulunkai@gmail.com>
8531 * testsuite/misc-ming.all/root_stop_test.c: updated
8533 * testsuite/misc-ming.all/root_stop_testrunner.cpp:
8534 test runner for root_stop_test.swf
8536 2006-12-21 Sandro Santilli <strk@keybit.net>
8538 * testsuite/misc-ming.all/Makefile.am: added rules
8539 to build root_stop_test.swf
8541 2006-12-21 Zou Lunkai <zoulunkai@gmail.com>
8543 * testsuite/misc-ming.all/root_stop_test.c: new testcase
8546 2006-12-21 Rob Savoye <rob@bertha.welcomehome.org>
8548 * macros/ffmpeg.m4: Also check for the dc1394_control library,
8549 needed on Ubuntu with ffmpeg.
8551 2006-12-21 Tomas Groth Christensen <tomasgroth@yahoo.dk>
8553 * backend/sound_handler_sdl.cpp: Fixed bug #18244: Forgot to
8554 write to the correct index, and to set a variabel to 0 in a loop.
8555 * server/asobj/NetStreamFfmpeg.cpp: Removed the use of
8556 AVFormatParameters, since it doesn't seem to be needed, and might
8557 make older versions of ffmpeg useable.
8559 2006-12-21 Sandro Santilli <strk@keybit.net>
8561 * server/as_value.h (set_null): return a reference to self,
8562 to make building a null as_value cleaner.
8563 * server/asobj/xml.cpp, testsuite/actionscript.all/XML.as:
8564 fix a couple of existing tests (minor thing).
8565 * server/as_value.h: fixed extra qualification
8566 'gnash::as_value::' on member 'typeOf'.
8568 2006-12-21 Sandro Santilli <strk@keybit.net>
8570 * server/sprite_instance.h: add a static integer keeping
8571 number of unnamed character placements and a function
8572 to return a syntetized name for them.
8573 * server/sprite_instance.cpp (add_display_object): always
8574 provide a name for placed object, syntetizing it if
8575 not provided. This is needed for MOVIECLIP as_values,
8576 now that they basically store a clip's target.
8577 This is experimental, Zou should have a testcase for
8578 this, which would help making it stable.
8580 2006-12-21 Sandro Santilli <strk@keybit.net>
8582 * testsuite/actionscript.all/String.as: check that no automatic
8583 converstion to String object is performed on a string literal
8584 when instanceOf is called on it.
8585 * server/as_value.{cpp,h}: made get_type() private, provided new
8586 is_number(), is_string(), strictly_equals() and typeOf() methods;
8587 automatically convert string and number primitive values
8588 to String and Number objects from to_object() function.
8589 * server/array.cpp, server/as_environment.cpp,
8590 server/as_function.cpp, server/as_object.cpp,
8591 server/sprite_instance.cpp, server/asobj/Key.cpp,
8592 server/asobj/MovieClipLoader.cpp, server/asobj/xml.cpp,
8593 server/vm/ASHandlers.cpp:
8594 replaced calls to as_value::get_type() with as_value::is_<what>(),
8595 cleaned up some functions to delegate to as_value or to rely
8598 2006-12-21 Sandro Santilli <strk@keybit.net>
8600 * server/as_value.h: m_type, m_string_value and values union
8602 * testsuite/misc-ming.all/VarAndCharClashTest.as:
8603 added new tests checking integrity of a *reference*
8606 2006-12-20 Sandro Santilli <strk@keybit.net>
8608 * server/as_value.cpp (to_sprite): don't segfault if the
8609 sprite path doesn't reference an existing target.
8610 * testsuite/samples/clip_as_button2-TestRunner.cpp:
8611 handled failures of MovieTester initialization
8613 * server/as_value.{cpp,h}: add MOVIECLIP primitive type.
8614 * server/vm/ASHandlers.cpp (ActionTypeOf):
8615 do the right thing for MOVIECLIP values.
8617 2006-12-20 Sandro Santilli <strk@keybit.net>
8619 * server/sprite_instance.cpp (sprite_swap_depths):
8620 Use as_value::is_object() rather then comparing get_type().
8621 This helps when as_value will support MOVIECLIP types.
8622 * server/as_environment.cpp (find_target(const as_value&)):
8623 Use as_value::is_object() rather then comparing get_type().
8624 This helps when as_value will support MOVIECLIP types.
8625 * server/sprite_instance.cpp (get_member): fixed
8626 CHECK_FOR_NAME_CLASHES block.
8627 * testsuite/movies.all/README: filled 'origin' field
8628 for gravity.swf and gravity-embed.swf.
8630 2006-12-19 Sandro Santilli <strk@keybit.net>
8632 * testsuite/actionscript.all/MovieClip.as: added test for
8633 timeline-variable (thanks to Zou Lunkai).
8634 * server/as_environment.cpp (set_variable_raw, get_variable_raw):
8635 give local vars precedence.
8636 * server/vm/ASHandlers.cpp: use ActionExec methods for variables
8638 * server/vm/ActionExec.{cpp,h}: added variable manipulation
8640 * testsuite/misc-ming.all/timeline_var_test.c: added
8641 additional check for timeline variables.
8643 2006-12-19 Ann Barcomb <kudra@domaintje.com>
8645 * removed testsuite/movies.all/elvis.swf due to license uncertainty.
8647 2006-12-19 Sandro Santilli <strk@keybit.net>
8649 * server/vm/with_stack_entry.h: made all data members private.
8650 * server/as_environment.{cpp,h}: ScopeStack typedef, improved
8651 dox on variable setters/getters.
8652 * server/asobj/Makefile.am: added libltdl include dir.
8653 * server/as_environment.{cpp,h} (get_version):
8654 simplified and clarified dox.
8656 2006-12-18 Rob Savoye <rob@bertha.welcomehome.org>
8658 * gui/Player.h, Player.cpp: Start adding support for playing
8659 movies from the menu item. From patch #5640.
8660 * gui/gtk.cpp: If running standalone, add a menu bar (task #6124),
8661 and a Preferences box (task #6125). Use Submenus instead of menu
8662 items for right-click menu. Based on (patch #5640 by Sebastiá
8663 Matas) Use separete functions to create each menu so they can be
8664 shared between the MenuBar and the Popup Menu.
8666 2006-12-18 Sandro Santilli <strk@keybit.net>
8668 * server/sprite_instance.cpp (execute_action): don't reset
8669 local frame top as there's nothing like a 'movie-frame' local
8670 scope. See bug #18523.
8671 * testsuite/misc-ming.all/timeline_var_test.c: don't expect failures.
8672 * server/as_environment.cpp (get_variable_raw): target members take
8673 precedence over local variables.
8674 * testsuite/misc-ming.all/: Makefile.am, timeline_var_test.c:
8675 added Dejagnu.swf capabilities (for visual debugging).
8677 2006-12-18 Sandro Santilli <strk@keybit.net>
8679 * testsuite/actionscript.all/dejagnu_so_init.as: fix removal
8680 of onEnterFrame callback (don't use 'this').
8681 * testsuite/misc-ming.all/Makefile.am: enabled
8682 timeline_var_test-Runner
8683 * testsuite/check.h: added stubs for xpass/xfail and defined
8684 xcheck/xcheck_equals/xcheck_equals_label (unfortunately
8685 xfail/xpass are not in latest dejagnu release so we'll either
8686 have to force dejagnu upgrade or always use the stubs instead...
8687 latter being not a bad idea IMHO).
8688 * server/vm/ASHandlers.cpp (ActionPushData): cleanups, including
8689 verbose actions output and symbolic names for push types.
8690 * server/sprite_instance.cpp: use 1-based frame numbers in
8691 action executions reports (VERBOSE ACTION).
8692 * testsuite/misc-ming.all/timeline_var_test.c: turn into
8693 a self-contained test (still not Dejagnu.swf based).
8694 * utilities/processor.cpp: allow 10 loop backs before
8695 kicking to one-after latest frame processed.
8696 * utilities/Makefile.am, testsuite/server/Makefile.am:
8697 link to libgnashvm.la.
8699 2006-12-18 Markus Gothe <nietzsche@lysator.liu.se>
8701 cygnal/cygnal.cpp: Added getopt.h etc.
8703 2006-12-17 Rob Savoye <rob@bertha.welcomehome.org>
8705 * configure.ac: USe new GNASH_PATH_MYSQL instead of
8706 GNASH_PKG_FIND. Fix debug display. Don't build extensions by
8707 default. Don't build extensions by default.
8708 * server/asobjs/Global.cpp: If extensions are enabled, scan the
8709 plugin directories and load them.
8710 * Makefile.am: Only build in the extensions or cygnal directories
8711 if enabled. Add MYSQL to dumpconfig. Dump $SUBDIRS list too.
8712 * libbase/network.cpp: Change from log_msg() to
8713 GNASH_REPORT_FUNCTION.
8714 * gui/Makefile.am: Add MYSQL_LIBS if extensions are enabled.
8715 * utilities/Makefile.am: Add MYSQL_LIBS if extensions are enabled.
8716 * macros/mysql.m4: New file to find MySQL dependancies. Uses
8717 mysql-config, and then a path search if that fails.
8718 * extensions/Makefile.am: Don't try to build MySQL extension if
8719 MySQL isn't installed.
8720 * extensions/mysql/Makefile.am: Use new MYSQL_* flags from new
8722 * extensions/mysql/mysql_db.cpp: Attach the Interfaces when
8724 * extensions/mysql/test.as: Don't try to run if extensions are
8726 * extensions/dejagnu/test.as: Don't try to run if extensions are
8728 * extensions/dejagnu/Makefile.am: Add libgnashvm.
8729 * extensions/dejagnu/dejagnu.cpp: Attach the Interfaces when
8731 * libbase/log.cpp: Only check for verbose not being zero when tracing.
8732 * server/vm/Makefile.am: Install the gnashvm library, so
8733 extensions work again.
8735 2006-12-17 Markus Gothe <nietzsche@lysator.liu.se>
8737 * libamf/amf.cpp: reinterive cast.
8738 * libgeometry/Range2D.h: static_cast + using namespace std (for wicked
8739 compilers, like MIPSPRO ;)).
8740 * libbase/hash_wrapper: fixed namespace for find().
8741 * macros/gtk2.m4: Typos, fixed lib-finding.
8743 2006-12-16 Rob Savoye <rob@bertha.welcomehome.org>
8745 * configure.ac: Add tests for MySQL. Print MYSQL flags from
8746 configure tests. Drop enable testing option. Add mysql and cygnal
8747 configure output directories. Remove unused options for http
8748 server. Add option to disable building cygnal. Add option to
8749 disable building extensions.
8751 * cygnal: New directory for media server.
8752 * cygnal/cygnal.cpp: Main entry for server.
8753 * cygnal/Makefile.am: Makefile for media server.
8754 * cygnal/README: Server specific info file for developers.
8755 * cygnal/stream.cpp, stream.h: Streaming data class.
8756 * cygnal/netstats.cpp, netstats.h: Collect statistics on
8757 network performance.
8758 * cygnal/statistics.cpp, statistics.h: Collect statistics on each
8759 movie being played for performance tweaking and bandwidth shaping.
8760 * cygnal/http.c, http.h: Support for a simple subset of HTTP,
8761 enough to respond to GET requests.
8762 * cygnal/alloc.cpp: Threadsafe new & delete to keep STL containers
8763 working in a multi-threaded application.
8765 * gui/Makefile.am: Switch from the rectangular gnash_128_96.ico to
8766 the square "Gnashing G" icon. It looks better in the toolbar.
8767 * gui/gtksup.h: Add about box callback prototype.
8768 * gui/gui.h: Add menu_about().
8769 * gui/gtk.cpp: Switch from the rectangular gnash_128_96.ico to
8770 the square "Gnashing G" icon. Add about box, patch by Sebastiá
8773 2006-12-15 Rob Savoye <rob@bertha.welcomehome.org>
8775 * extensions/Makefile.am: Build MySQL extension.
8776 * libbase/extension.cpp: Don't continue if the search directory
8779 * server/array.cpp: Add the size operator, which wasn't being added
8781 * extensions/mysql/mysql_table.h: Remove.
8782 * extensions/mysql/mysql_db.cpp, mysql_db.h: Tottally
8783 rewritten. Work as a Gnash extension. Add methods for MySQL API,
8784 as well as a generic getData() method for simple queries.
8785 * extensions/mysql/test.as: Test the MySQL extension.
8786 * extensions/mysql/test.sql: MySQL schema for test case.
8787 * extensions/dejagnu/Makefile.am: Use libdir instead of
8788 prefix. Include from asobjs too, and also link in
8789 libgnashvm. Don't build Sharedtest.
8790 * extensions/dejagnu/dejagnu.cpp: Setup the members
8791 correctly. Don't attach twice for this class.
8792 * extensions/dejagnu/test.as: Use pass and fail.
8794 2006-12-14 Sandro Santilli <strk@keybit.net>
8796 * testsuite/misc-ming.all/Makefile.am:
8797 rules for building timeline variable scope
8798 test (missing a test runner!)
8800 2006-12-14 Zou Lunkai <zoulunkai@gmail.com>
8802 * testsuite/misc-ming.all/timeline_var_test.c:
8803 testcase for timeline variables scope
8804 (could be turned into a self-contained test!)
8806 2006-12-14 Sandro Santilli <strk@keybit.net>
8808 * testsuite/actionscript.all/Function.as: fixed for SWF5 target.
8810 2006-12-14 Sandro Santilli <strk@keybit.net>
8812 * server/as_environment.{cpp,h}: add dump_local_variables
8814 * server/vm/ActionExec.cpp: include dump of local variables
8817 2006-12-14 Sandro Santilli <strk@keybit.net>
8819 * testsuite/actionscript.all/Function.as: re-enabled
8820 lots of tests that were commented out with previous
8821 commit of this file (Oops).
8822 * server/vm/ActionExec (operator()):
8823 handle stack smashing and warn about elements left on
8824 the stack after a function call.
8826 2006-12-14 Sandro Santilli <strk@keybit.net>
8828 * server/as_environment.{h,cpp}: add an additional
8829 argument to findLocal() to specify wheter the seek
8830 should descend in upper frames; descend when getting,
8831 deleting and setting variables; don't descend when
8832 setting or declaring a *local* variable (set_local,
8834 * testsuite/actionscript.all/Function.as: added tests
8835 for timeline-local variable access from within a function
8838 2006-12-13 Sandro Santilli <strk@keybit.net>
8840 * server/parser/action_buffer.cpp: neater output
8841 for constant pool (-va).
8843 2006-12-13 Sandro Santilli <strk@keybit.net>
8845 * server/sprite_instance.cpp (sprite_create_empty_movieclip):
8846 accept more then 2 args, just discarding the one in excess.
8847 * testsuite/actionscript.all/MovieClip.as: don't expect
8848 failures when createEmptyMovieClip is called with more then
8851 2006-12-13 Sandro Santilli <strk@keybit.net>
8853 * testsuite/Makefile.am: don't attempt to build Dejagnu.swf
8854 if Ming isn't enabled.
8855 * testsuite/actionscript.all/Makefile.am: don't attempt
8856 to run tests if Ming isn't installed, that support is
8857 currently broken, this is a quick fix to enable users
8858 to run some test even w/out Ming.
8859 * testsuite/: movies.all/Makefile.am, samples/Makefile.am:
8860 don't require Ming to run tests in these dirs; add
8861 required BOOST cflags.
8863 2006-12-13 Sandro Santilli <strk@keybit.net>
8865 * doc/C/gnashrc.xml, libbase/log.h, libbase/rc.cpp, libbase/rc.h:
8866 Add 'ASCodingErrorsVerbosity' and 'MalformedSWFVerbosity'
8867 settings in gnashrc, IF_VERBOSE_MALFORMED_SWF() and
8868 IF_VERBOSE_ASCODING_ERRORS() now use these settings
8869 (not overridable from command line).
8870 * server/character.cpp (get_relative_target_commont):
8871 don't warn about refenrecing on-up from root movie
8872 unless verbose ascoding errors are requested.
8874 2006-12-13 Sandro Santilli <strk@keybit.net>
8876 * server/as_environment.cpp: added debugging lines for
8877 find_target (compile-time enablable).
8878 * server/vm/ASHandlers.{h,cpp}: added CommonSetTarget().
8879 * server/font.cpp (font::read_font_info): warn only once
8880 about DefineFontInfo2 being partially implemented...
8881 * server/swf/tag_loaders.cpp: removed additional newlines in log
8882 messages; (define_sound_loader) raise a warning when no sound
8883 handler is set, becasue characters will be missing from the
8884 Dictionary; (export_loader): turn export error into a warning.
8886 2006-12-13 Sandro Santilli <strk@keybit.net>
8888 * server/sprite_instance.cpp (set_member): don't attempt to set the
8889 value of a character in the DisplayList, see VarAndCharClashTest.swf
8890 testcase; (get_member): give object members precedence over
8891 characters in DisplayList -- should be tested what happens with
8892 "inherited" members..
8893 * testsuite/misc-ming.all/VarAndCharClashTest.as: don't expect
8896 2006-12-13 Sandro Santilli <strk@keybit.net>
8898 * testsuite/misc-ming.all/VarAndCharClashTest.as:
8899 added more tests, dissipating some of the cloud...
8901 2006-12-12 Sandro Santilli <strk@keybit.net>
8903 * testsuite/misc-ming.all/: Makefile.am, VarAndCharClashTest.as:
8904 Code and Makefile rule generating a self-contained testcase for
8905 variables and characters name clashes (failing in Gnash).
8906 Note how powerful 'makeswf' is :D
8908 2006-12-12 Sandro Santilli <strk@keybit.net>
8910 * server/: button_character_instance.cpp, sprite_instance.cpp:
8911 introduce button actions execution IF_VERBOSE_ACTION; include
8912 total frame count in sprite's frame action executions.
8914 2006-12-12 Sandro Santilli <strk@keybit.net>
8916 * server/: button_character_instance.h, character.h,
8917 edit_text_character.h, generic_character.h, sprite_instance.cpp,
8918 sprite_instance.h, video_stream_instance.h:
8919 const-corrected can_handle_mouse_event() and get_event_handler().
8921 2006-12-12 Sandro Santilli <strk@keybit.net>
8923 * testsuite/actionscript.all/MovieClip.as: some more
8924 (verified) tests for MovieClip.useHandCursor.
8926 2006-12-12 Sandro Santilli <strk@keybit.net>
8928 * server/sprite_instance.cpp: stubbed all interfaces
8929 tested for existance in MovieClip.as (drawing api, mainly).
8930 * testsuite/actionscript.all/MovieClip.as: don't expect
8931 failures while testing existance of newly added stubs;
8932 Move globalToLocal test in SWF5 section (verified).
8934 2006-12-12 Sandro Santilli <strk@keybit.net>
8936 * server/sprite_instance.cpp: stubbed MovieClip.getBounds().
8937 * testsuite/actionscript.all/MovieClip.as: added incomplete
8938 test for MovieClip.getBounds().
8940 2006-12-12 Sandro Santilli <strk@keybit.net>
8942 * server/as_object.h: added get_primitive_value() virtual
8944 * server/as_value.{cpp,h}: added to_primitive().
8945 * server/character.h: made set_name virtual to allow handling
8946 from subclasses. For the same reason _name is now protected
8948 * server/sprite_instance.{h,cpp}: override get_text_name()
8950 * server/asobj/string.cpp: override get_primitive_value().
8951 * testsuite/actionscript.all/MovieClip.as: add test for
8954 2006-12-12 Sandro Santilli <strk@keybit.net>
8956 * server/asobj/string.cpp: added get_text_value
8959 2006-12-12 Ann Barcomb <kudra@domaintje.com>
8961 * The Dejagnu format--as described in the test section of the
8962 Docbook documentation--is now fully explained.
8964 2006-12-11 Sandro Santilli <strk@keybit.net>
8966 * testsuite/movies.all/: ORIGIN merged into README.
8968 2006-12-11 Ann Barcomb <kudra@domaintje.com>
8970 * Added test movie 'testsuite/movies.all/yapc2006.swf', a
8971 large movie which does not currently play very well.
8973 2006-12-11 Sandro Santilli <strk@keybit.net>
8975 * testsuite/samples/: Makefile.am, README, loop_test-Runner.cpp,
8976 loop_test.swf: Added contributed SWF test and associated test runner.
8979 2006-12-11 Ann Barcomb <kudra@domaintje.com>
8981 * Modified plugin list in documentation,
8982 based upon comments from Bastiaan.
8984 2006-12-11 Sandro Santilli <strk@keybit.net>
8986 * server/swf/tag_loaders.cpp (place_object_2):
8987 some cleanup of class definition.
8989 2006-12-10 Sandro Santilli <strk@keybit.net>
8991 * server/PropertyList.{h,cpp} (delProperty):
8992 changed return type to std::pair<bool,bool>
8993 to let caller know wheter delete failed because
8994 the property was not found OR because it was
8995 protected from deletion.
8996 * server/as_object.{h,cpp} (delProperty): same
8997 as with PropertyList: return std::pair<bool,bool>
8999 * server/as_environment.cpp (del_variable_raw):
9000 don't keep scanning the 'with' stack if any object
9001 actually had the given property defined, even if
9002 protected from deletion.
9003 * server/vm/ASHandlers.cpp: updated calls to
9004 as_object::delProperty().
9005 * testsuite/server/PropertyListTest.cpp: updated
9006 calls to PropertyList::delProperty.
9007 * testsuite/actionscript.all/delete.as: added test for
9008 protected member deletion.
9010 2006-12-09 Sandro Santilli <strk@keybit.net>
9012 * server/button_character_instance.{cpp,h}: added missing
9013 get_width() and get_height() overrides.
9014 * server/button_character_instance.cpp, server/dlist.cpp,
9015 server/parser/action_buffer.cpp: cleanup debugging lines.
9017 2006-12-09 Sandro Santilli <strk@keybit.net>
9019 * server/as_environment.cpp (del_variable_raw): try to delete from
9020 _global if anything else fails.
9021 * testsuite/actionscript.all/delete.as: xcheck => check as delete
9022 from _global now works fine.
9024 2006-12-09 Sandro Santilli <strk@keybit.net>
9026 * testsuite/actionscript.all/delete.as: added "scoped delete" as of
9027 bug #18482, but using ActionDelete rather then ActionDelete2 which
9028 is used in the bug item testcase. Gnash is currently failing to
9029 delete a variable in _global.
9031 2006-12-09 Sandro Santilli <strk@keybit.net>
9033 * server/vm/ASHandlers.cpp (ActionDelete): be more robust
9034 on malformed SWF (actually not sure about correctness,
9035 but at least our testcase behave as the official
9037 * testsuite/actionscript.all/delete.as: xcheck => check.
9039 2006-12-09 Timothy Lee <timothy.lee@siriushk.com>
9041 * configure.ac: Detect the Cairo library when the Cairo backend is
9042 enabled (and also when GTK GUI is being used).
9043 * backend/render_handler_cairo.cpp:
9044 Removes Xlib-specific header and test code.
9045 Fixes viewport clipping problem.
9046 Removes offscreen buffer and renders directly through Cairo.
9047 This opens the possibility of using OpenGL/Glitz acceleration in Cairo
9048 by calling set_handle() with different types of handles.
9049 An added benefit of this change is that the bitmap created by the
9050 SDL glue now becomes the direct target of Cairo's rendering,
9051 without the redundant offscreen buffer in-between.
9052 * gui/gtk_glue_cairo.{cpp,h}:
9053 The GTK glue now manages an offscreen bitmap for the backend to render on.
9054 Window resizes now causes the offscreen bitmap to be resized as well.
9056 2006-12-08 Sandro Santilli <strk@keybit.net>
9058 * testsuite/simple.exp: raised timeout to 4 minutes.
9059 * server/as_environment.cpp (findLocal): it seems I missed something.
9060 bring back the crappy code while keeping the external interface
9061 cleaner (will check later what's the difference there..).
9063 2006-12-08 Sandro Santilli <strk@keybit.net>
9065 * server/: swf.h, vm/ASHandlers.{cpp,h}:
9066 Renamed ACTION_DELETE to ACTION_DELETE2
9067 and ACTION_DELETEVAR to ACTION_DELETE, to reflect
9068 official nomenclature (Ming's listswf also uses
9071 2006-12-08 Sandro Santilli <strk@keybit.net>
9073 * server/vm/ASHandlers.cpp (ActionDelete): use the new
9074 ActionExec::delVariable() method. Fixes bug #18482.
9075 (ActionDeleteVar) use the new as_object::delProperty()
9076 method, but no testcases for it...
9078 2006-12-08 Sandro Santilli <strk@keybit.net>
9080 * server/as_environment.{cpp,h}: obsoleted crappy find_local function,
9081 substituted with iterators-based equivalent; typedef'd
9082 LocalFrames; added del_variable_raw method.
9083 * server/vm/ActionExec.{cpp,h}: added delVariable() method, invoking
9084 as_environment::del_variable_raw with current 'with' stack.
9086 2006-12-08 Sandro Santilli <strk@keybit.net>
9088 * server/as_object.{cpp,h}: added delProperty() member.
9089 * server/PropertyList.{cpp,h}: added delProperty() member.
9090 * testsuite/server/PropertyListTest.cpp: added test for delProperty().
9092 2006-12-08 Sandro Santilli <strk@keybit.net>
9094 * server/as_prop_flags.h: added methods for
9095 clearing flags, encoded bit values in an enum,
9096 better documentation and implementation cleanup.
9097 * testsuite/server/: Makefile.am, as_prop_flagsTest.cpp:
9098 Added testcase for as_prop_flags class.
9100 2006-12-08 Sandro Santilli <strk@keybit.net>
9102 * testsuite/MovieTester.cpp (getInvalidatedBounds):
9103 use a float factor for scale (1/20 was being converted
9104 to 0). Don't clear invalidated bounds (or a NULL
9105 range would always be returned).
9107 2006-12-08 zoulunkai <zoulunkai@gmail.com>,
9109 * server/sprite_instance.cpp (advance_sprite):
9110 don't re-execute tags in first frame when looping.
9112 2006-12-08 Sandro Santilli <strk@keybit.net>
9114 * libbase/log.{cpp,h}: add a templated operator << for
9115 printing *any* class that has an output operator defined.
9116 It could replace most operator<< methods, but I won't go
9117 there for now... just happy with derived Range2d printing facility.
9118 * testsuite/{samples,movies.all,misc-ming.all}/Makefile.am:
9119 add libtestsuite.la to DEPENDENCIES of test runners.
9120 * libgeometry/Range2d.h: properly inlined specialized
9121 round{Min,Max} functions.
9122 * testsuite/MovieTester.{h,cpp}: changed getInvalidatedBounds
9123 to return bounds in PIXELS rather then TWIPS (to
9124 conform with mouse movement notification)
9126 2006-12-08 Sandro Santilli <strk@keybit.net>
9128 * libgeometry/Range2d.h: implemented cast between range types,
9129 with float=>{int,unsigned int} cast ensuring resulting range
9130 is not smaller then original.
9131 * testsuite/libgeometry/Range2dTest.cpp: added tests for
9134 2006-12-08 Sandro Santilli <strk@keybit.net>
9136 * libgeometry/Range2d.h: changed scale() functions to take a float,
9137 to allow for fractional scales; implemented specializations
9138 for int and unsigned int types to ensure rounding doesn't make
9140 Fixed many functions erroneously returning *this by value rather
9142 * testsuite/libgeometry/Range2dTest.cpp: added tests for scale()
9143 function verifying the rounding for integer types.
9145 2006-12-08 Sandro Santilli <strk@keybit.net>
9147 * libgeometry/Range2d.h: added scale() functions to scale both
9148 horizontally and vertically in a single call.
9150 2006-12-07 Sandro Santilli <strk@keybit.net>
9152 * testsuite/actionscript.all/String.as: more
9153 tests for ActionSubString (invalid calls...)
9154 * server/vm/ASHandlers.cpp (ActionSubString):
9155 do the right thing on invalid calls.
9157 2006-12-07 Sandro Santilli <strk@keybit.net>
9159 * server/asobj/string.cpp (string_set_length),
9160 server/sprite_instance.cpp (sprite_hit_test):
9161 fixed IF_VERBOSE_ASCODING_ERRORS macro use syntax.
9162 * server/parser/: movie_def_impl.{h,cpp}, sprite_definition.cpp
9163 (add_frame_name): don't inline it.
9164 * server/vm/action.cpp (attach_extern_movie):
9165 store sprites in intrusive pointers (fixes some
9166 testInvariant failures).
9167 * server/as_environment.cpp (dump_global_registers):
9168 don't print anything if none of the registers are defined.
9169 * testsuite/actionscript.all/String.as:
9170 Added test for SUBSTRIN tag, but only
9171 enabled if MING_SUPPORTS_ASM is defined
9172 (which never happens atm.. should add that).
9173 * server/vm/ASHandlers.cpp (ActionSubString):
9174 when size argument is too big fix it rather
9175 then returning undefined.
9176 * server/as_environment.cpp (find_target):
9177 fixed handling of paths ending with a slash
9179 * server/vm/ASHandlers.cpp (ActionGetProperty):
9180 raise a warning if the target is not found
9182 * server/as_environment.{cpp,h}: registers
9183 debugging functions moved to implementation
9184 file, don't print local registers if empty.
9185 * server/asobj/NetStream.cpp (ctor): don't
9186 abort on ActionScript coding errors.
9188 2006-12-06 Rob Savoye <rob@ute.welcomehome.org>
9190 * libbase/sharedlib.cpp: Don't call lt_dlexit when destructing.
9191 * server/asobj/Global.cpp: Look for extensions.
9192 * extensions/dejagnu/Makefile.am: Use libdir instead of
9193 prefix. Include from asobjs too, and also link in
9194 libgnashvm. Don't build Sharedtest.
9195 * extensions/dejagnu/dejagnu.cpp: Setup the members
9196 correctly. Don't attach twice for this class.
9197 * extensions/dejagnu/test.as: Use pass and fail.
9198 * libbase/extension.cpp: Remove the plugin suffix.
9199 * libbase/sharedlib.cpp: Don't exit libltdl in the destructor.
9201 2006-12-07 Ann Barcomb <kudra@domaintje.com>
9203 * doc/C/internals.xml, gnashrc.xml:
9204 Explicitly documented that there are two sound support
9205 settings. Addresses documentation task #6129.
9207 2006-12-07 Sandro Santilli <strk@keybit.net>
9209 * server/: movie_root.cpp, sprite_instance.cpp:
9210 Added debugging output.
9211 * utilities/processor.cpp: don't always kick
9212 a STOPPED movie, wait for a specified number
9213 of seconds before kicking it (defaults to 5).
9216 2006-12-07 Sandro Santilli <strk@keybit.net>
9218 * server/: edit_text_character.cpp, movie_root.cpp,
9219 movie_root.h: streamlined headers inclusions.
9221 2006-12-06 Sandro Santilli <strk@keybit.net>
9223 * testsuite/server/PropertyListTest.cpp: updated test
9224 to reflect the new case-sensitive implementation
9225 of PropertyList class.
9227 2006-12-06 Sandro Santilli <strk@keybit.net>
9229 * gui/gui.cpp (advance_movie): add support for sequentially
9230 displaying all frames of a movie (compile-time define).
9231 * gui/gui.cpp (display): when debugging invalidated bounds
9232 show only the last invalidated region. this slows the
9233 rendering, but when debugging you probably don't care.
9234 BTW, this commit also makes NO debugging the default.
9236 2006-12-06 Sandro Santilli <strk@keybit.net>
9238 * server/sprite_instance.cpp (get_invalidated_bounds):
9239 cleaned up debugging output to use rect::toString.
9240 * server/movie_root.cpp (get_invalidated_bounds): remove
9241 the dirty workaround to invalidated bounds bug.
9242 * server/character.{h,cpp} (set_invalidated_bounds): propagate
9243 invalidity to parent (seems to fix the invalidated bounds
9244 bug introduced by last big refactoring).
9245 * server/rect.{cpp,h}: added toString() method.
9247 2006-12-06 Sandro Santilli <strk@keybit.net>
9249 * backend/render_handler_d3d.cpp, gui/Player.cpp, gui/fbsup.h,
9250 gui/gtk_glue_cairo.h, gui/kdesup.h, gui/sdl_ogl_glue.h,
9251 libbase/URL.cpp, libbase/log.cpp, libbase/rc.cpp,
9252 libbase/sharedlib.cpp, plugin/plugin.cpp, server/as_object.h,
9253 server/font.h, server/gnash.h, server/render.cpp,
9254 server/sprite_instance.h, server/swf.h, server/timers.cpp,
9255 server/asobj/NetConnection.cpp, server/parser/action_buffer.h,
9256 server/swf/tag_loaders.cpp, server/vm/ASHandlers.cpp,
9257 server/vm/ASHandlers.h, server/vm/ActionExec.h:
9258 Minor cleanups to reduce Doxygen warnings.
9260 2006-12-06 Sandro Santilli <strk@keybit.net>
9262 * testsuite/server/GetterSetterTest.cpp: fix segfault
9263 by initializing the VM with a dummy v6 movie definition.
9265 2006-12-06 Sandro Santilli <strk@keybit.net>
9267 * server/Makefile.am, server/drag_state.h, gui/Player.cpp,
9268 gui/gui.cpp, gui/gui.h, server/button_character_instance.cpp,
9269 server/character.cpp, server/character.h,
9270 server/edit_text_character.cpp, server/impl.cpp, server/impl.h,
9271 server/movie_instance.cpp, server/movie_instance.h,
9272 server/movie_root.cpp, server/movie_root.h,
9273 server/sprite_instance.cpp, server/sprite_instance.h,
9274 server/asobj/Key.cpp, server/parser/movie_def_impl.cpp,
9275 server/parser/movie_def_impl.h,
9276 server/parser/movie_definition.h,
9277 server/vm/ASHandlers.cpp, server/vm/VM.cpp, server/vm/VM.h,
9278 server/vm/action.cpp, utilities/processor.cpp:
9279 Redesigned movie_root so that it doesn't derive from sprite_instance
9280 anymore, but it is rather a wrapper around the *single* *absolute*
9281 root movie for a specific run. Changed VM to return that single
9282 movie_root by ref using the getRoot() method;
9283 Sorry if this changelog is too short, but was a lot of work, and
9284 tried my best at keeping doxygen comments in sync.
9285 Also, note that invalidated bounds seems broken now,
9286 movie_root::get_invalidated_bounds() always return the WORLD rect
9287 as a quick fix, but we have to fix that.
9288 * testsuite/MovieTester.cpp, testsuite/server/PropertyListTest.cpp,
9289 testsuite/server/Makefile.am, testsuite/DummyMovieDefinition.h:
9290 Added a dummy movie definition for use in unit tests,
9291 PropertyListTest still fails because we handle case sensitiveness
9292 in as_object, not in PropertyList..
9295 2006-12-06 Sandro Santilli <strk@keybit.net>
9297 * server/movie_root.h (get_invalidated_bounds): use rect::set_world()
9298 rather then using a custom value for big bounds.
9299 * testsuite/MovieTester.{cpp,h}: add getInvalidatedBounds function.
9300 * libgeometry/Range2d.h (Intersect): removed spurious code.
9301 * server/rect.h: added getRange() method.
9304 2006-12-05 Sandro Santilli <strk@keybit.net>
9306 * server/rect.cpp (expand_to_rect): handled world rects.
9307 * server/asobj/MovieClipLoader.cpp (loadClip): use smart
9308 pointers (to avoid testInvariant failures in sprite_instance).
9309 * server/types.{cpp,h} (rgba::print): made a const method.
9310 * .cvsignore, extensions/.cvsignore, plugin/klash/.cvsignore,
9311 testsuite/libgeometry/.cvsignore, utilities/.cvsignore,
9312 testsuite/.cvsignore, testsuite/libbase/.cvsignore,
9313 testsuite/libgeometry/.cvsignore, testsuite/misc-ming.all/.cvsignore,
9314 testsuite/server/.cvsignore,
9315 New/updated cvs ignore files.
9316 * plugin/klash/Makefile.am: added libgeometry
9317 directory in include list.
9318 * server/rect.h: added output operator.
9319 * backend/render_handler_agg.cpp (ctor):
9320 properly initialized m_drawing_mask member.
9322 2006-12-05 Tomas Groth Christensen <tomasgroth@yahoo.dk>
9324 * backend/render_handler.h, backend/render_handler_agg.cpp,
9325 backend/render_handler_cairo.cpp, server/render.h,
9326 backend/render_handler_ogl.cpp, server/render.cpp: Removed
9327 YUV_video, and added videoFrameFormat() and drawVideoFrame().
9328 * libbase/image.cpp, libbase/image.h: Added yuv.
9329 * server/Makefile.am: Removed video_yuv.cpp
9330 * server/gnash.h: Removed YUV_video.
9331 * server/video_stream_instance.cpp: Changed to use the new
9332 videoframe rendering method.
9333 * server/asobj/Makefile.am: Added NetStreamFfmpeg.{cpp|h}
9334 * server/asobj/NetStream.{cpp|h}: Removed the ffmpeg code,
9335 and made a non-decoding class (NetStreamBase).
9336 * server/asobj/NetStreamFfmpeg.{cpp|h}: Created the files,
9337 which contains the ffmpeg specific code, moved from
9338 NetStream.{cpp|h}. Now uses StreamProvider to handle files,
9339 and connects in a seperate thread to avoid blocking.
9341 2006-12-05 Sandro Santilli <strk@keybit.net>
9343 * server/movie_root.h: Added more information for the
9344 class (using repository for planning, let me know if
9345 you find this disturbing).
9346 * server/parser/movie_definition.h: Added more information
9347 for the class (Doxygen class description).
9349 2006-12-04 Sandro Santilli <strk@keybit.net>
9351 * server/parser/: movie_def_impl.h, movie_definition.h,
9352 sprite_definition.h: provided a default implementation
9353 for most movie_definition methods, to make deriving
9354 from it easier. Removed some unneeded overload from
9355 sprite_definition (the new default implementations are
9356 good enough). Cleaned up and improved doxygen comments.
9358 2006-12-03 Sandro Santilli <strk@keybit.net>
9360 * testsuite/libgeometry/Range2dTest.cpp: add tests for
9362 * libgeometry/Range2d.h: fix growBy() to properly handle
9363 numerical overflows ( see relative tests ).
9365 2006-12-02 Sandro Santilli <strk@keybit.net>
9367 * libgeometry/Range2d.h: Add growBy() and shrinkBy() methods.
9368 Make all mutators return a reference to *this (nicer use sytax).
9369 * backend/render_handler_agg.cpp, gui/gtk.cpp: set back the
9370 drawn bounds 2 pixel grow needed for antialiasing.
9372 2006-12-02 John Franklin <zzfranklin@mac.com>
9374 * backend/render_handler_agg.cpp (render_handler_agg ctor):
9375 initialize x/y scale to 1/20 by default.
9377 2006-12-02 Sandro Santilli <strk@keybit.net>
9379 * gui/fb.cpp, gui/gtk.cpp: don't render anything
9380 if _drawbounds.isNull() - we should make sure
9381 that _drawbounds is expanded to cover 'newly' exposed
9382 regions, and that it is reset to NULL after each
9383 call to renderBuffer.
9385 2006-12-02 Sandro Santilli <strk@keybit.net>
9387 * backend/render_handler.h, backend/render_handler_agg.cpp
9388 backend/render_handler_tri.cpp, backend/render_handler_tri.h
9389 gui/gtk.cpp, gui/gtksup.h, gui/gui.cpp, gui/gui.h, gui/fbsup.h,
9391 Use Range2d<int> rather then 4 integers for clip bounds,
9392 keep trac of *valid* range for pixel values, add some questions
9393 as comments in the code. Please forgive me if this will break
9394 something but we're in a stage we'll have to break things
9395 for making them better ...
9397 2006-12-02 Sandro Santilli <strk@keybit.net>
9399 * server/rect.h: added is_world() and get_world() methods.
9401 2006-12-01 Sandro Santilli <strk@keybit.net>
9403 * testsuite/: actionscript.all/swf_exists.exp, libbase/libbase.exp,
9404 server/server.exp: removed, ../simple.exp is better !
9405 * testsuite/: libbase/Makefile.am, server/Makefile.am:
9406 use ../simple.exp for testing.
9408 2006-12-01 Sandro Santilli <strk@keybit.net>
9410 * backend/render_handler_agg.cpp (set_invalidated_region):
9411 Temporary hack to fix bug #18416, and a way to
9412 show Udo a usage case. The real solution is use
9413 Range2d<int> instead of m_clip_{x,y}{max,min}.
9415 2006-12-01 Sandro Santilli <strk@keybit.net>
9417 * server/Makefile.am, server/rect.cpp, server/rect.h,
9418 server/asobj/Makefile.am, server/parser/Makefile.am,
9419 server/parser/movie_definition.h, server/parser/video_stream_def.h,
9420 server/vm/Makefile.am, utilities/Makefile.am, testsuite/Makefile.am:
9421 Rewritten gnash::rect class to use Range2d<float>.
9423 2006-12-01 Sandro Santilli <strk@keybit.net>
9425 * backend/render_handler.h, server/render.h:
9426 some doxygen notes for bounds_in_clipping_area.
9428 2006-12-01 Sandro Santilli <strk@keybit.net>
9430 * configure.ac, libgeometry/Makefile.am, libgeometry/Range2d.h,
9431 testsuite/Makefile.am, testsuite/libgeometry/Makefile.am,
9432 testsuite/libgeometry/Range2dTest.cpp, testsuite/server/Makefile.am:
9433 New Range2d template class and associated unit test.
9435 2006-12-01 Sandro Santilli <strk@keybit.net>
9437 * configure.ac: make missing BOOST_LIBS
9438 a nogo (we need threads now).
9440 2006-12-01 Vitaly Alexeev <tishka92@yahoo.com>
9442 * backend/render_handler_ogl.cpp,
9443 * libbase/image_filters.cpp,
9444 * libbase/tu_config.h,
9446 * libbase/network.cpp,
9447 * libbase/container.cpp,
9448 * server/sprite_instance.cpp,
9449 * server/movie_instance.cpp,
9452 * server/parser/movie_def_impl.cpp,
9453 * server/vm/ASHandlers.cpp
9454 Cleaning of Vitaly dust from comments
9456 2006-11-30 Sandro Santilli <strk@keybit.net>
9458 * libbase/: Makefile.am, sharedlib.cpp:
9459 boost::lightweight_mutex => boost::mutex
9460 * backend/render_handler_agg.{cpp,h}:
9461 some cleanups (including a missing virtual destructor)
9462 and some assertions checking, to make reproducing
9465 2006-11-30 Patrice Dumas <pertusus@free.fr>
9467 * autogen.sh: add libltdl once.
9469 2006-11-30 Markus Gothe <nietzsche@lysator.liu.se>
9471 * backend/sound_handler_sdl.{h,cpp}: hash<> to hash_wrapper<> change.
9472 * fontlib.h: Don't include "container.h".
9474 2006-11-30 Sandro Santilli <strk@keybit.net>
9476 * server/parser/movie_def_impl.cpp (resolve_import):
9477 remove unneeded round-trip with static casts.
9478 * server/edit_text_character.{h,cpp},
9479 server/parser/edit_text_character_def.h:
9480 use unsigned integers for curosr and max text length.
9481 * server/parser/movie_def_impl.{h,cpp}: implement
9482 a thread-safe get_bytes_loaded taking seek-backs
9485 2006-11-30 Sandro Santilli <strk@keybit.net>
9487 * server/parser/Makefile.am: added BOOST_LIBS as
9488 we now use boost threads.
9489 * server/parser/movie_def_impl.{h,cpp}: be less
9490 lock-intensive in load. Note that this exposes
9491 a problem with get_bytes_loaded, play elvis.swf
9492 to see. I'm committing anyway as a mileston,
9493 will fix get_bytes_loaded later.
9495 2006-11-30 Sandro Santilli <strk@keybit.net>
9497 * testsuite/actionscript.all/gen-index-wiki.sh:
9498 include a link to the source code.
9499 * server/parser/movie_def_impl.cpp (read_all_swf):
9500 catch std exceptions (including parsing exceptions).
9501 * server/styles.cpp (read): throw ParserException when
9502 an unsupported fill style type is read.
9503 * libbase/GnashException.h: add a ParserException class.
9504 * backend/Makefile.am: add BOOST_CFLAGS (see bug #18398)
9506 2006-11-29 Patrice Dumas <pertusus@free.fr>
9508 * macros/kde.m4: Remove plies of useless code we don't need.
9510 2006-11-29 Rob Savoye <rob@bertha.welcomehome.org>
9512 * config.sub, config.guess: Let autogen.sh install these.
9513 * libltdl: Remove directory and let libtoolize install this
9515 * autogen.sh: Add --ltdl to libtoolize.
9517 2006-11-29 Sandro Santilli <strk@keybit.net>
9519 * testsuite/actionscript.all/: Makefile.am, gen-index.sh,
9520 gen-index-wiki.sh: fix index.wiki generation rule.
9521 * testsuite/analyse-results.sh: sort directories, to make
9522 cross-systems comparison easier.
9523 * testsuite/simple.exp: handle deadlocks or infinite loops
9525 * testsuite/simple.exp: handle premature death and non-zero
9526 return of testcases.
9527 * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c:
9528 Add tests for dynamically changing a TextField's variable name.
9529 * testsuite/misc-ming.all/DefineEditTextVariableNameTest-Runner.cpp
9530 Updated and simplified (the most part is done in the sefl-contained
9532 * server/edit_text_character.{cpp,h}:
9533 Allow programmatically setting a TextField's
9536 2006-11-29 Sandro Santilli <strk@keybit.net>
9538 * server/edit_text_character.cpp: properly set
9539 TextField interface (to finish); implement 'variable'
9541 * updated .cvsignore files, moved binary only swf
9542 from testsuite/actionscript.all to testsuite/samples.
9543 * server/movie_root.cpp (advance):
9544 Don't check delta_time, rather always call advance of
9545 current_root. My plan is to have movie_root be just a
9546 wrapper around movie_instance.
9547 * testsuite/MovieTester.cpp:
9548 Activate verbosity to allow for self-contained testcases
9549 to be taken into account; give initial kick to movie.
9550 * testsuite/misc-ming.all/: ButtonEventsTest-Runner.cpp,
9551 DefineEditTextVariableNameTest-Runner.cpp,
9552 RollOverOutTest-Runner.cpp:
9553 Omit the initial ::advance(), MovieTester will take
9556 2006-11-28 Sandro Santilli <strk@keybit.net>
9558 * testsuite/Makefile.am: added -Iserver/vm
9559 needed for MovieTester.cpp
9560 * testsuite/MovieTester.cpp (ctor): fixed
9561 reference to root movie (it's still pretty
9564 2006-11-28 Markus Gothe <nietzsche@lysator.liu.se>
9566 * server/shape.cpp: hash<> -> hash_wrapper<>.
9568 2006-11-28 Sandro Santilli <strk@keybit.net>
9570 * testsuite/MovieTester.cpp (ctor): properly initialize
9571 the virtual machine.
9572 * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c:
9573 test TextField.variable.
9574 * testsuite/misc-ming.all/ming_utils.c (add_xtrace_function):
9575 register 'xtrace' on the _root movie.
9576 * gui/Player.cpp: fix handling of the -d switch.
9578 2006-11-28 Sandro Santilli <strk@keybit.net>
9580 * server/character.cpp (do_mouse_drag): indentation
9581 * server/character.h (drag_state): documented
9582 coordinate space for drag bounds.
9583 * server/vm/ASHandlers.cpp (ActionStartDragMovie):
9584 convert pixels to twips when reading drag boundaries.
9586 2006-11-28 Sandro Santilli <strk@keybit.net>
9588 * server/button_character_instance.{cpp,h}:
9589 Don't override get_mouse_state with an equivalent
9591 * server/rect.{cpp,h}: Add clamp(point) method.
9592 * server/: character.{cpp,h}, movie_root.{cpp,h},
9593 sprite_instance.{h,cpp}:
9594 Change signature of get_mouse_state() and get_drag_state()
9595 to use references rather then pointers; Improve
9596 definition of drag_state class to use our rect
9597 class for bounds and to store character in a smart pointer.
9598 * server/vm/ASHandlers.cpp (ActionStartDragMovie):
9599 flip drag boundaries coordinates if given in the wrong
9600 order (fixes bug #18394).
9602 2006-11-28 Sandro Santilli <strk@keybit.net>
9604 * gui/Player.cpp (load_movie) : don't start loader thread
9605 also for stdin reads. Fixes bug #18393.
9606 * server/: impl.{cpp,h}, parser/movie_def_impl.{cpp,h},
9607 parser/sprite_definition.cpp, swf/TagLoadersTable.{cpp,h}:
9608 Another global removed: 's_tag_loaders', replaced
9609 with TagLoadersTable turned into a singleton.
9611 2006-11-28 Markus Gothe <nietzsche@lysator.liu.se>
9613 * Applied a bunch of RiscOS-patches.
9615 2006-11-28 Sandro Santilli <strk@keybit.net>
9617 * macros/libtool.m4: removed so that ltmain.sh
9618 always matches the one found in system.
9619 (libtoolize --force --copy will replace ltmain.sh)
9621 2006-11-28 Patrice Dumas <pertusus@free.fr>
9623 * remove or conditionalize CPPFLAGS and LIBS
9624 * add distributed files or dirs
9625 * use AC_PROG_LIBTOOL instead of AM_PROG_LIBTOOL in autogen.sh
9626 * add dependencies on libs for gnash, to avoid parallel make error
9627 * change <..> to ".." for includes from source
9629 2006-11-28 Sandro Santilli <strk@keybit.net>
9631 * server/impl.cpp (globals): base_url auto_ptr made
9633 * autogen.sh: make 'Running' messages show all args.
9634 * server/sprite_instance.cpp (ctor): initialize
9635 all members (m_sound_stream_id in particular
9638 2006-11-27 Markus Gothe <nietzsche@lysator.liu.se>
9640 * Reverted naming-changes.
9641 * libgeometry/kd_tree_dynamic.cpp: hash_wrapper().
9642 * utilities/parser.cpp: hash_wrapper();
9643 * libbase/hash_wrapper.h: template-wrapper for add() and get() to
9644 replacing hash()-code with <map>.
9646 2006-11-27 Sandro Santilli <strk@keybit.net>
9648 * server/parser/sprite_definition.cpp (read):
9649 don't choke if DEFINESPRITE tag contains more
9650 SHOWFRAME then expected.
9651 * server/: gnash.h, impl.cpp: export the movie creation
9652 functions taking additional argument to control
9653 start of the loader thread.
9654 * server/parser/movie_definition.h: completeLoad()
9655 definition moved in base class.
9656 * server/parser/movie_def_impl.cpp (create_instance):
9657 don't execute actions of frame 0, delegate that
9658 to movie_instance::advance.
9659 * server/movie_instance.cpp (advance): execute
9660 actions in frame 0 on first call.
9661 * gui/Player.cpp (run), utilities/processor.cpp (play_move):
9662 complete root movie load *after* the VM is initialized.
9664 2006-11-27 Sandro Santilli <strk@keybit.net>
9666 * server/sprite_instance.cpp (get_member):
9667 clean up _name and _droptarget handling.
9668 (btw, we should use addProperty for these).
9669 * testsuite/actionscript.all/MovieClip.as:
9670 fixed tests for SWF5 target.
9671 * testsuite/actionscript.all/dejagnu_so_init.as:
9672 implement dejagnu initialization checker function
9673 with setInterval (in addition to onEnterFrame).
9674 This makes SWF5 targets work fine.
9675 * server/parser/movie_def_impl.cpp (create_instance):
9676 don't force the instance name to be _root !
9677 * server/sprite_instance.{h,cpp}: added support
9678 for the _target property; report execution of
9679 frame tags when in verbose action mode.
9680 * testsuite/actionscript.all/MovieClip.as: added
9681 tests for the _target property.
9682 * server/asobj/Video.cpp: attachvideo => attachVideo.
9683 * server/asobj/string.cpp: lastindexof => lastIndexOf.
9684 * testsuite/actionscript.all/: XMLNode.as, MovieClip.as:
9685 fixed tests to match reality.
9687 2006-11-26 Sandro Santilli <strk@keybit.net>
9689 * server/sprite_instance.cpp (attachMovieClipInterface):
9690 only activate the methods available for the target SWF
9691 version. Added stubs for getURL, startDrag, stopDrag
9693 * testsuite/misc-ming.all/ming_utils.c (get_dejagnu_actions):
9694 don't "visualize" expected successes.
9695 * server/vm/ASHandlers.cpp (ActionTypeOf):
9696 return "movieclip" when object is a sprite_instance.
9697 * testsuite/actionscript.all/MovieClip.as:
9698 typeof(mc) == "movieclip" succeeds.
9699 * testsuite/actionscript.all/: Object.as, XML.as:
9700 don't expect case-based failure.
9701 * server/as_object.{h,cpp}: added getVM() function,
9702 store a reference to the VM in class definition.
9703 * testsuite/misc-ming.all/ming_utils.c: add a note
9704 function to dejagnu module interface.
9705 * doc/C/internals.xml: cleanups in the 'writing testcases'
9706 sections, new section about using Dejagnu.swf for writing
9707 testcases using non-Ming compilers.
9709 2006-11-26 Udo Giacomozzi <udo.gnu@nova-sys.net>
9711 * backend/render_handler_agg.cpp (draw_glyph):
9712 allow glyphs to be used for drawing masks.
9715 2006-11-26 Sandro Santilli <strk@keybit.net>
9717 * backend/render_handler_agg_style.h (agg_style_base):
9718 add missing virtual destructor. Fixes bug #18309.
9720 2006-11-26 dolphinling <lists@dolphinling.net>
9722 * server/edit_text_character.cpp:
9725 2006-11-26 Markus Gothe <nietzsche@lysator.liu.se>
9727 * server/rect.h DSOEXPORT expand_to_transformed_rect().
9728 * libbase/smart_ptr.h: Removed TU's rights since we don't use his
9731 2006-11-25 Udo Giacomozzi <udo.gnu@nova-sys.net>
9733 * backend/render_handler.h, backend/render_handler_agg.cpp:
9734 Don't start drawing a character when it's outside the clipping
9736 * server/render.h, server/render.cpp:
9737 Added interface to bounds_in_clipping_area()
9738 * server/sprite_instance.cpp: Don't draw sprites (and their
9739 childs) outside the clipping rectangle.
9742 2006-11-25 Sandro Santilli <strk@keybit.net>
9744 * server/asobj/Global.cpp, testsuite/actionscript.all/Global.as:
9746 * testsuite/actionscript.all/Boolean.as:
9747 fix method names capitalization.
9748 * server/asobj/gen-asclass.sh: keep method names
9750 * server/asobj/Boolean.cpp (attachBooleanInterface):
9751 fix method name capitalization.
9752 * server/as_object.{h,cpp} (setPropFlags, set_member_flags):
9753 fix property case handling, documented it.
9754 * testsuite/simple.exp: show NOTES with verbosity
9757 2006-11-25 Michael Meier <meiermic@ee.ethz.ch>
9759 * testsuite/actionscript.all/String.as: fixed to match
9761 * server/asobj/string.cpp: implement 'length' with the
9762 add_property() interface.
9764 2006-11-25 Markus Gothe <nietzsche@lysator.liu.se>
9766 * backend/render_handler_ogl.cpp: #ifdef'd VITALY to get OGL working.
9767 * configure.ac: List FLTK and RISCOS as params to --enable-gui.
9768 * libbase/rc.h: DSOLOCAL -> DSOEXPORT.
9769 * configure.ac: Try-out of finding zlib with generic macro.
9770 * macros/: major clean-up...
9772 2006-11-24 Rob Savoye <rob@bertha.welcomehome.org>
9774 * config.guess: Update so it recognizes
9775 armv5tel-unknown-linux-gnu for embedded arm targets when building
9778 2006-11-24 Sandro Santilli <strk@keybit.net>
9780 * plugin/plugin.cpp: wait for gdb if GNASH_OPTIONS
9781 environment variable contains the substring 'waitforgdb';
9783 * testsuite/actionscript.all/Date.as:
9784 case-sensitiveness tests pass now.
9786 2006-11-24 Patrice Dumas <pertusus@free.fr>
9788 * Makefile.am, backend/Makefile.am, gui/Makefile.am,
9789 libamf/Makefile.am, libbase/Makefile.am, libgeometry/Makefile.am,
9790 packaging/redhat/gnash.spec, plugin/Makefile.am,
9791 plugin/klash/Makefile.am, plugin/mozilla-sdk/Makefile.am,
9792 server/Makefile.am, server/asobj/Makefile.am,
9793 server/parser/Makefile.am, server/vm/Makefile.am,
9794 testsuite/actionscript.all/Makefile.am,
9795 testsuite/libbase/Makefile.am,
9796 testsuite/misc-ming.all/Makefile.am,
9797 testsuite/movies.all/Makefile.am, testsuite/samples/Makefile.am,
9798 testsuite/server/Makefile.am, utilities/Makefile.am:
9799 Use AM_CPPFLAGS instead of INCLUDES at most as possible,
9800 try to be more selective in linking,
9801 remove unused KLASH_DIRS in top-level Makefile.am,
9802 remove one $(LIBADD_DL) since this variable is not set,
9803 remove some redundancy, bring the spec file in sync with 0.7.2 branch,
9804 avoid protecting everything in testsuite/movies.all/Makefile.am,
9805 only what is dependent on ming.
9807 2006-11-24 Sandro Santilli <strk@keybit.net>
9809 * server/vm/ASHandlers.cpp (ActionDelete):
9810 don't force 2 elements on stack, since only one is needed. See
9813 2006-11-24 Rob Savoye <rob@bertha.welcomehome.org>
9815 * libbase/sharedlib.cpp: Use & instead of a pointer to an
9816 as_object. const_cast basename.
9817 * configure.ac: Test for libgen.h.
9818 * extensions/dejagnu/Makefile.am: Add libgnashvm to ldflags.
9819 * extensions/dejagnu/dejagnu.cpp, dejagnu.h: Use & instead of a
9820 pointer to an as_object.
9821 * libbase/extension.h, extension.cpp: Use & instead of a pointer
9824 2006-11-24 Markus Gothe <nietzsche@lysator.liu.se>
9826 * libbase/sharedlib.cpp: Fixed include for basename and casting to
9829 2006-11-24 Sandro Santilli <strk@keybit.net>
9831 * server/vm/VM.{cpp,h}: added isInitialized() method.
9832 * gui/gui.cpp (resize_view): don't abort :)
9833 * server/asobj/Date.cpp: use proper case when registering class
9835 * server/PropertyList.h: be case sensitive !
9836 * server/as_object.cpp (set_member_default, get_member_default):
9837 convert memer names to lowercase when VM is targetted at
9840 2006-11-24 Sandro Santilli <strk@keybit.net>
9842 * server: as_environment.cpp, as_function.cpp, as_function.h,
9843 impl.cpp, swf_function.cpp, asobj/GMath.h, asobj/Global.cpp,
9844 asobj/Global.h, asobj/Key.cpp, asobj/Key.h, asobj/Makefile.am,
9845 asobj/Math.cpp, asobj/MovieClip.cpp, asobj/MovieClip.h,
9846 asobj/System.cpp, asobj/System.h, vm/ActionExec.cpp,
9847 vm/VM.cpp, vm/VM.h, vm/action.cpp, vm/action.h:
9848 Got rid of another global: 's_global'; various cleanups for
9849 ActionScript classes.. Whooo!
9851 2006-11-24 Vitaly Alexeev <tishka92@yahoo.com>
9853 * libbase\sharelib.cpp: fixed VC++ compiler errors
9854 * libbase\extension.cpp: fixed VC++ compiler errors
9855 * libltdl\ltdl.c: fixed VC++ compiler errors
9857 2006-11-24 Sandro Santilli <strk@keybit.net>
9859 * server/Global.h = server/asobj/Global.h
9860 * server/as_object.{cpp,h}: off-lined constructors and
9861 destructor, with constructor asserting the presence
9862 of an unitialized VM; made set_prototype() a protected member
9863 to allow sprite_instance to attach a MovieClip prototype.
9864 * server/sprite_instance.{cpp,h}: conform to the ActionScript
9865 classes API, wipe the as_builtins crap; assert the presence
9866 of an initialized VM in constructor.
9867 * server/asobj/Global.cpp: invoke movieclip_class_init()
9868 * testsuite/actionscript.all/MovieClip.as: added check
9869 for MovieClip class.
9870 * gui/: Makefile.am, Player.cpp:
9871 use the new VM interface for initialization.
9872 * server/impl.cpp: deprecate set_current_root(), implement
9873 get_current_root() with a call to the VM singleton.
9874 * server/sprite_instance.cpp (ctor): assert that a VM has
9875 been initialized (for debugging)
9876 * utilities/: Makefile.am, processor.cpp
9877 use the new VM interface for initialization.
9878 * server/vm/: Makefile.am, VM.{cpp,h}: new class aimed at
9879 holding VM-related globals.
9881 2006-11-24 Vitaly Alexeev <tishka92@yahoo.com>
9883 * backend\render_handler_ogl.cpp: added "class YUV_video_ogl_NV"
9884 that uses opengl extensions for fast video rendering
9885 * server\swf\tag_loaders.cpp: fixed case of "sound_id < 0"
9886 * server\button_character_instance.cpp: fixed case of "sound_id < 0"
9887 * backend\sound_handler_sdl.cpp: sound is stereo now
9888 * server\asobj\NetStream (cpp, h): added "pause" & fixed bugs,
9889 video is tested on FC4
9890 * win32\VC8\gnash.vcproj: added server\am dir
9891 * testsuite\samples\player.swf: added pause
9893 2006-11-24 Sandro Santilli <strk@keybit.net>
9895 * server/gnash.h: ok, include as_value, but document what's needed
9896 * server: {xmlattres,xmlnode,xmlsocket}.{h,cpp} => asobj
9898 2006-11-24 Sandro Santilli <strk@keybit.net>
9900 * configure.ac, server/ActionExec.cpp, server/ActionExec.h,
9901 server/Makefile.am, server/action.cpp, server/action.h,
9902 server/array.h, server/button_character_instance.cpp,
9903 server/edit_text_character.cpp, server/fn_call.h, server/gnash.h,
9904 server/sprite_instance.cpp, server/sprite_instance.h,
9905 server/swf_function.cpp, server/with_stack_entry.h,
9906 server/asobj/Makefile.am, server/asobj/MovieClipLoader.cpp,
9907 server/parser/Makefile.am, server/parser/action_buffer.cpp,
9908 server/parser/action_buffer.h, server/swf/ASHandlers.cpp,
9909 server/swf/ASHandlers.h, server/vm/.cvsignore,
9910 server/vm/ASHandlers.cpp, server/vm/ASHandlers.h,
9911 server/vm/ActionExec.cpp, server/vm/ActionExec.h,
9912 server/vm/Makefile.am, server/vm/action.cpp,
9913 server/vm/action.h, server/vm/fn_call.h,
9914 server/vm/with_stack_entry.h, testsuite/server/Makefile.am:
9915 New vm/ dir and libgnashvm.so convenience library;
9916 Obsoleted as_environment::execute (use ActionExec instead).
9918 2006-11-24 Sandro Santilli <strk@keybit.net>
9920 * configure.ac: comment out extension dir (no Makefile.am
9922 * testsuite/actionscript.all/: Object.as, Date.as:
9923 expect failures on case sensitiveness.
9924 * gui/Makefile.am: don't directly link convenience
9926 * server/: as_environment.cpp, swf_function.cpp:
9929 2006-11-23 Rob Savoye <rob@bertha.welcomehome.org>
9931 * libbase/Makefile.am: Add new extension files. Pass a directory
9932 based on $prefix as a constant for Gnash extensions.
9933 * libbase/sharedlib.h: Add as_object typed entry point. Optionally
9934 pass in the search path for most methods. Find as_object typed
9935 entry point differently than a generic symbol.
9936 * libbase/sharedlib.cpp: Many changes, it basically works
9937 now. Don't do in SharedLib class what should be done in the
9938 Extension class. Initialize libltdl in the constructor, so it's
9939 done before anything else. Support a path as a parameter, or use
9940 GNASH_PLUGINS for a colon seperate path.
9941 * libbase/extension.h, extension.cpp: New files for Gnash
9943 * extensions/Makefile.am: New file. Recurse into extension
9945 * extensions/dejagnu/Makefile.am: Build DejaGnu extension for
9947 * extensions/dejagnu/dejagnu.cpp, dejagnu.h: New files for DejaGnu
9948 extension. This is mostly just a template on creating custom
9949 ActionScript extensions for Gnash.
9950 * Makefile.am: Add extension directory, but don't build for now
9953 * configure.ac: Look for 64 bit OpenBSD systems, and set
9954 WORDSIZE. Configure extension directory.
9956 2006-11-23 Sandro Santilli <strk@keybit.net>
9958 * server/sprite_instance.cpp: removed compiler warnings.
9959 * server/: timers.{h,cpp}, sprite_instance.h: includes cleanup.
9960 (shouldn't this be under asobj, btw ?)
9961 * server/parser/: movie_def_impl.h, movie_definition.h:
9962 forward declarations.
9964 2006-11-23 Sandro Santilli <strk@keybit.net>
9966 * server/parser/bitmap_character_def.h: removed action.h include
9967 * Makefile.am: fix 'make dumpconfig' output when using GST sound.
9968 * server/parser/movie_def_impl.cpp: removed compiler warnings.
9969 * libbase/sharedlib.h: removed unneeded includes
9970 * server/character.h: removed action.h include
9971 * server/asobj/MovieClipLoader.h: removed all includes
9972 * server/impl.cpp (set_current_root): don't allow multiple calls
9973 to this function, we're not read for it yet.
9974 * testsuite/actionscript.all/Object.as: object members are
9975 case-sensitive starting at SWF7 !
9976 * testsuite/actionscript.all/Date.as: method names are case-sensitive
9978 * testsuite/actionscript.all/CustomActions.as: disabled all
9979 tests as the class is only intended for use in the Flash
9980 authoring tool, see http://sephiroth.it/reference.php?id=156&cat=1
9981 * testsuite/actionscript.all/Camera.as: updated after run reports.
9982 * testsuite/actionscript.all/dejagnu.as: don't override rcsid
9984 * testsuite/actionscript.all/check.as: make all traces
9985 visual (trace == info).
9987 2006-11-22 Rob Savoye <rob@bertha.welcomehome.org>
9989 * configure.ac: Check for powerpc Darwin, and set __powerpc64__ so
9990 the Mozilla headers still work to do a gtk build. Fixes #18353.
9991 * plugin/mozilla-sdk/include/prcpucfg.h: Include config.h.
9993 2006-11-22 Sandro Santilli <strk@keybit.net>
9995 * testsuite/actionscript.all/Makefile.am:
9996 fixed some typos, use the same relative
9997 path to Dejagnu.swf for both offline and
9999 * testsuite/generic-testrunner.sh: made more
10001 * testsuite/Makefile.am: add rule to build
10002 Dejagnu.swf "on-dir-up" (so we don't need
10003 two different versions of actionscript
10004 testcases with different path to it.
10006 2006-11-22 Sandro Santilli <strk@keybit.net>
10008 * testsuite/actionscript.all/gen-index.sh: use
10009 first argument as name of the 'all-inclusive'
10011 * testsuite/actionscript.all/Makefile.am: isolate
10012 unit tests to avoid a broken support to influence
10013 results of other units; changed online-tests rule
10014 to avoid unneeded rebuilds and use version-specific
10016 * testsuite/generic-testrunner.sh: allow for multiple
10017 SWF files to be tested.
10018 * server/: xmlattrs.h, xmlnode.cpp, xmlnode.h:
10019 use delete [] when allocating with new [].
10020 (why aren't we using std::string, btw ?)
10022 2006-11-22 Sandro Santilli <strk@keybit.net>
10024 * testsuite/actionscript.all/Function.as: tweaked
10025 tests to take into account differences in numerical
10026 computations between SWF target version.
10027 * testsuite/actionscript.all/XML.as: fixed test.
10028 * testsuite/actionscript.all/Video.as:
10029 attach => attachVideo, expect Video
10030 class to non exist with SWF < 6
10032 2006-11-22 Bastiaan Jacques <bastiaan@bjacques.org>
10034 * libbase/sharedlib.cpp: getcwd() should be passed a buffer of
10035 size at least equal to PATH_MAX. Fix an invalid dereference of
10036 the buffer pointer, too.
10038 2006-11-22 Sandro Santilli <strk@keybit.net>
10040 * testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp: updated
10041 to perform the tests in all frames.
10042 * testsuite/misc-ming.all/ButtonEventsTest.c: added two more
10043 frames to the testcase adding shapes at lower (frame1) and
10044 higher (frame2) depth then the button. The aim is debugging
10045 what I think VV tried to fix in DisplayList::visitBackward.
10046 * testsuite/check.h: add an 'info' macro as a proxy to dejagnu's
10047 note() function, with a fallback stub.
10048 * testsuite/actionscript.all/MovieClip.as: fix some expected
10049 values to match the defaults.
10050 * testsuite/actionscript.all/Mouse.as: instantiation
10051 should not be allowed (probably).
10052 * testsuite/actionscript.all/Microphone.as: updated to
10053 properly check the get() method.
10054 * testsuite/actionscript.all/Date.as: check UTC to be
10055 a method of the Date class, not inherited by instances.
10056 * testsuite/actionscript.all/ContextMenu.as: check that
10057 support starts with SWF7.
10058 * testsuite/actionscript.all/Camera.as: updated to
10059 properly check the get() method.
10061 2006-11-22 Michael Meier <meiermic@ee.ethz.ch>
10063 * server/asobj/string.cpp: implemented string methods
10064 slice, concat, slice, lastindexof; added String
10066 * testsuite/actionscript.all/String.as: tests for the
10067 newly implemented features.
10069 2006-11-21 Sandro Santilli <strk@keybit.net>
10071 * server/asobj/Makefile.am: added missing FFMPEG_LIBS dependency.
10072 * plugin/klash/klash.cpp: fixed after movie_interface and
10074 * testsuite/actionscript.all/dejagnu_so_init.as:
10075 fix information about *which* version of Ming contains
10076 the bug preventing proper load of Dejagnu.swf lib.
10077 * Makefile.am: fix 'make dump' output.
10078 * testsuite/actionscript.all/Makefile.am: fixed dependencies
10079 for explicitly generated SWF (ASTESTS_OUT).
10080 * configure.ac: suggest 'texinfo' package for building dox
10081 (contains 'makeinfo')
10082 * server/array.h: documented ::slice function
10083 * server/array.cpp: more fixes.
10084 * testsuite/actionscript.all/array.as: added some tests for
10085 invalid calls to Array.slice()
10086 * server/array.cpp (slice): handled some unexpected user input.
10087 * testsuite/actionscript.all/Makefile.am (make check):
10088 run the all-inclusive testcases (one for each target version).
10089 * server/mouse_button_state.h: added missing
10090 character.h include.
10092 2006-11-20 Sandro Santilli <strk@keybit.net>
10094 * server/: Makefile.am, movie.h, movie_interface.h,
10095 server/parser/bitmap_character_def.h: removed
10096 obsoleted movie.h and movie_interface.h files.
10098 2006-11-20 Sandro Santilli <strk@keybit.net>
10100 * gui/Player.cpp, gui/Player.h, gui/gui.cpp,
10101 gui/gui.h, server/action.cpp, server/action.h,
10102 server/as_object.h, server/button_character_instance.cpp,
10103 server/button_character_instance.h, server/character.h,
10104 server/dlist.cpp, server/dlist.h, server/edit_text_character.cpp,
10105 server/edit_text_character.h, server/execute_tag.h,
10106 server/generic_character.cpp, server/generic_character.h,
10107 server/gnash.h, server/impl.cpp, server/impl.h,
10108 server/mouse_button_state.h, server/movie.h,
10109 server/movie_interface.h, server/movie_root.cpp,
10110 server/movie_root.h, server/sound.cpp, server/sound.h,
10111 server/sprite_instance.cpp, server/sprite_instance.h,
10112 server/timers.cpp, server/xmlsocket.cpp,
10113 server/asobj/MovieClipLoader.cpp,
10114 server/parser/movie_def_impl.cpp,
10115 server/parser/movie_def_impl.h, server/parser/movie_definition.h,
10116 server/parser/sprite_definition.h, server/swf/ASHandlers.cpp,
10117 server/swf/tag_loaders.cpp, testsuite/MovieTester.cpp,
10118 testsuite/misc-ming.all/DefineEditTextVariableNameTest-Runner.cpp,
10119 testsuite/misc-ming.all/RollOverOutTest-Runner.cpp,
10120 utilities/processor.cpp:
10121 Got rid of 'movie' and 'movie_interface' classes.
10122 Feel much better now.
10123 Make check succeeds, but I'm sure we lost something...
10124 please anyone help checking in the next days.
10126 2006-11-20 Sandro Santilli <strk@keybit.net>
10128 * server/event_id.h: include gnash.h for gnash::key def.
10129 * server/shm.h: streamlined header inclusion.
10131 2006-11-20 Sandro Santilli <strk@keybit.net>
10133 * server/xml.{h,cpp}: changed signatures taking event_id
10134 so to take it by const ref; reduced headers inclusion.
10135 * server/xmlattrs.h: reduced headers inclusion.
10137 2006-11-20 Sandro Santilli <strk@keybit.net>
10139 * server/parser/button_character_def.h: added missing rect.h
10141 * server/asobj/: NetConnection.h, System.h:
10142 streamlined headers inclusion.
10143 * server/asobj: Global.cpp, SharedObject.{h,cpp}, Stage.{h,cpp},
10144 Video.{h,cpp}, TextSnapshot.{cpp,h}:
10145 ported ActionScript class stubs to new layout.
10147 2006-11-20 Sandro Santilli <strk@keybit.net>
10149 * server/asobj/: Key.h, LocalConnection.h:
10150 streamlined headers inclusion.
10151 * server/asobj: Global.cpp, Error.{h,cpp}, LoadVars.{h,cpp},
10152 Microphone.{h,cpp}, Mouse.{cpp,h}, Selection.{cpp,h}:
10153 ported ActionScript class stubs to new layout.
10155 2006-11-20 Sandro Santilli <strk@keybit.net>
10157 * server/asobj/Date.h: streamlined headers inclusion.
10158 * server/asobj: Global.cpp, Camera.{h,cpp}, Color.{cpp,h},
10159 ContextMenu.{h,cpp}, CustomActions.{cpp,h}:
10160 ported ActionScript class stubs to new layout.
10161 * doc/C/gnashrc.xml: fixed description of whitelist/blacklist
10164 2006-11-20 Vitaly Alexeev <tishka92@yahoo.com>
10166 * plugin\win32\plugin.cpp: reanimated
10167 * win32\VC8\npgnash.vcproj: reanimated
10169 2006-11-20 Vitaly Alexeev <tishka92@yahoo.com>
10171 * server\parser\movie_def_impl.cpp:
10172 usleep(x) ==> Sleep(x/1000) for win32;
10173 'return _thread == 0' is invalid in win32 that 'pthread_t'
10174 is typedef struct {
10175 void * p; /* Pointer to actual object */
10176 unsigned int x; /* Extra information - reuse count etc */
10178 * server\video_stream_instance.h: typo
10179 * gui\gui.cpp: typo
10180 * backend\render_handler_ogl.cpp: GL/glx.h is absent in win32
10181 * backend\sound_handler_sdl.cpp: sdl_audio_callback() is switched
10182 off for win32 because of segmentation fault
10183 * server\video_stream_instance.cpp: typo
10184 * reconfigured win32 dir
10186 2006-11-20 Sandro Santilli <strk@keybit.net>
10188 * gui/gnash.cpp (parseCommandLine): don't remove log file !
10189 * server/URLAccessManager.cpp (host_check_blackwhite_lists):
10190 if whitelist is non-empty and host is not listed there, forbid
10192 * libbase/rc.cpp (dump): typo fixed
10193 * testsuite/actionscript.all/gen-index.sh: add more info
10194 in the versioned SWF index page.
10195 * testsuite/actionscript.all/Boolean.as: don't expect
10196 failures anymore, it works now.
10197 * server/parser/movie_def_impl.cpp (get_exported_resource):
10198 tweak timeouts to give thread switching a chance; more
10201 2006-11-20 Michael Meier <meiermic@ee.ethz.ch>
10203 * server/asobj: Global.cpp, Boolean.cpp, Boolean.h:
10204 implemented Boolean ActionScript class.
10206 2006-11-19 Rob Savoye <rob@bertha.welcomehome.org>
10208 * backend/render_handler_ogl.cpp: Include glx.h so
10209 glXGetCurrentContext is defined on Darwin.
10211 2006-11-18 Markus Gothe <nietzsche@lysator.liu.se>
10213 * libbase/smart_ptr.h: Fixed "error: extra ';'".
10215 2006-11-18 Markus Gothe <nietzsche@lysator.liu.se>
10217 * configure.ac: Applied patches for RISC OS support. Fixed gui
10219 * gui/Makefile.am gui/Player.cpp gui/sdl_agg_glue.cpp libbase/Thread.cpp
10220 libltdl/ltdl.c macros/pkg.m4 server/shm.cpp server/shm.h
10221 server/parser/button_character_def.h utilities/Makefile.am
10222 utilities/dumpshm.cpp: Applied patches for RISC OS support.
10223 * gui/ro.cpp, gui/ro_glue_agg.cpp, gui/ro_glue_agg.h, gui/ro_glue.h,
10224 gui/rosup.h: Added RISC OS support.
10226 2006-11-18 Sandro Santilli <strk@keybit.net>
10228 * testsuite/misc-ming.all/ming_utils.c: fixed xfail
10229 to increment expected failures rather then 'unexpected' ones.
10230 * server/asobj/gen-asclass.sh: typos fixed; added
10231 missing constructor for target objects;
10232 'unimplemented' messages printed with log_warning
10234 2006-11-18 Tomas Groth Christensen <tomasgroth@yahoo.dk>
10236 * server/movie.h, server/sound.cpp, server/sprite_instance.{cpp,h},
10237 server/swf/ASHandlers.cpp: Instead of stopping all sounds when
10238 framejumping or on sprite-stop, now only stop soundstreams. The
10239 id of the current playing stream is stored in the sprite.
10241 2006-11-17 Sandro Santilli <strk@keybit.net>
10243 * testsuite/actionscript.all/Makefile.am: fixed
10244 'online-tests' rule.
10246 2006-11-17 Tomas Groth Christensen <tomasgroth@yahoo.dk>
10248 * backend/Makefile.am, backend/sound_handler_gst.{cpp,h}: Split
10249 the gstreamer backend into a .cpp-file and a .h-file. Also
10250 applied Hiroyuki Ikezoe patches, and did a bit of cleanup.
10251 * backend/sound_handler_sdl.cpp: More cleanups.
10253 2006-11-17 Sandro Santilli <strk@keybit.net>
10255 * server/asobj/gen-asclass.sh: typo fixed.
10257 2006-11-17 Sandro Santilli <strk@keybit.net>
10259 * server/shm.cpp (Shm::attach): don't use PROT_EXEC to
10260 mmap call (permission denied on some systems)
10261 * server/parser/movie_def_impl.{cpp,h}:
10263 2006-11-17 Sandro Santilli <strk@keybit.net>
10265 * server/parser/movie_def_impl.cpp (get_exported_resource) :
10266 fixed use of timeout.
10268 2006-11-17 Sandro Santilli <strk@keybit.net>
10270 * server/parser/movie_def_impl.cpp (get_exported_resource) :
10271 use a timeout to handle circular IMPORT chains.
10272 * server/parser/movie_def_impl.{cpp,h}:
10273 Added MovieLoader::isSelfThread() method, more assertion
10274 checking, made LOAD_MOVIES_IN_A_SEPARATE_THREAD work again.
10275 * server/swf/tag_loaders.cpp (import_loader): updated messages
10276 to be less confusing.
10278 2006-11-17 Tomas Groth Christensen <tomasgroth@yahoo.dk>
10280 * backend/sound_handler_sdl.{h,cpp}: Re-structured the code a bit
10281 to make pointer handling safer, and changed from structs to
10282 classes. General cleanups... Added doxygen comments.
10284 2006-11-17 Sandro Santilli <strk@keybit.net>
10286 * server/swf/tag_loaders.cpp (import_loader): don't allow
10287 a movie to import it's own exported symbols.
10288 * server/impl.cpp (create_library_movie): normalize real url
10289 when using it as a cache label.
10290 * server/impl.cpp (create_library_movie): don't start loader
10291 thread before the created movie is added to the library.
10292 This is to handle a parser that tries to load again the
10293 same stream being parsed (self-import)
10294 * gui/gui.cpp (ctor): properly initialize members, in particular
10295 the _renderer one, to ensure delete is not called on an undefined
10296 pointer at destruction time.
10297 * server/parser/movie_def_impl.{cpp,h}: decomposed
10298 read() method in readHeader() and completeLoad();
10299 added a MovieLoader::started() method.
10301 2006-11-17 Tomas Groth Christensen <tomasgroth@yahoo.dk>
10303 * plugin/plugin.cpp: Remove Mozilla license exemption.
10305 2006-11-17 Sandro Santilli <strk@keybit.net>
10307 * testsuite/actionscript.all/dejagnu_so_init.as: raise
10308 timeout to 5 seconds, assuming 20FPS.
10309 * testsuite/actionscript.all/Makefile.am: simplified
10310 rules for online-tests creation
10311 * testsuite/actionscript.all/gen-index.sh: assume
10312 we have an 'alltests.swf' file containing *all* tests.
10314 2006-11-17 Sandro Santilli <strk@keybit.net>
10316 * testsuite/misc-ming.all/Dejagnu.c: make xtrace window larger
10317 toller, and set SWF size accordingly.
10318 * testsuite/actionscript.all/rtmp.as: don't add a custom
10319 xtrace function, rather use the one provided with the framework.
10320 * testsuite/misc-ming.all/ming_utils.c (add_xtrace_function):
10321 make the textfield selectable (for copy 'n paste).
10323 2006-11-16 Sandro Santilli <strk@keybit.net>
10325 * testsuite/actionscript.all/Makefile.am: more cleanups,
10326 initial rules for all-inclusive SWF testcases (try it out!
10327 rule names: astests-v{5,6,7,8}.swf)
10329 2006-11-16 Sandro Santilli <strk@keybit.net>
10331 * testsuite/actionscript.all/dejagnu_so_init.as: add
10332 totals() in fallback implementation (when load of Dejagnu.swf
10334 * testsuite/actionscript.all/dejagnu.as: be compatible with
10335 DEJAGNU shared lib.
10337 2006-11-16 Sandro Santilli <strk@keybit.net>
10339 * testsuite/actionscript.all/: check.as, dejagnu_so_init.as:
10340 if USE_DEJAGNU_MODULE is defined have dejagnu_so_init.as
10341 print SWF and Player version (so we can print once for a
10342 set of testcases compiled on multiple frames)
10343 * testsuite/actionscript.all/: LocalConnection.as, XML.as, XMLNode.as:
10346 2006-11-16 Sandro Santilli <strk@keybit.net>
10348 * testsuite/actionscript.all/Makefile.am: fixed dependencies
10349 for SWF targets, cleanups.
10351 2006-11-16 Sandro Santilli <strk@keybit.net>
10353 * server/parser/movie_def_impl.{cpp,h}:
10354 get_exported_resource() changed to take incremental
10355 loading into account, by making sure the whole
10356 stream has been parsed before returning a failure
10357 (the EXPORT tag might be at the end of the stream!)
10359 2006-11-16 Sandro Santilli <strk@keybit.net>
10361 * testsuite/actionscript.all/check.as: moved most dejagnu_so
10363 * testsuite/actionscript.all/dejagnu_so_init.as:
10364 take slowness of loading into account by using a frameloop
10365 waiting for dejagnu module to be initialized, with a timeout
10366 to fallback to 'trace' mode.
10368 2006-11-16 Sandro Santilli <strk@keybit.net>
10370 * testsuite/misc-ming.all/ming_utils.c
10371 (add_xtrace_function):
10372 don't duplicate visual traces to trace channel;
10373 (get_dejagnu_actions) :
10374 export (x)pass()/(x)fail()/report() on the _root, don't
10375 visually print expected successes.
10376 * testsuite/actionscript.all/check.as:
10377 when USE_DEJAGNU_MODULE is defined, really use the
10378 module's *dejagnu*-like interface (includes printing summary).
10380 2006-11-16 Sandro Santilli <strk@keybit.net>
10382 * testsuite/actionscript.all/: dejagnu_so_init.as, check.as:
10383 check for initialized Dejagnu module moved from init.as to
10384 check.as (we know it will NOT be initialized in first frame)
10385 and made warning message much more verbose.
10386 * testsuite/misc-ming.all/ming_utils.c (get_dejagnu_actions):
10387 Set the 'dejagnu_module_initialized' variable on the _root movie.
10389 2006-11-16 Sandro Santilli <strk@keybit.net>
10391 * testsuite/misc-ming.all/ming_utils.c (get_dejagnu_actions):
10392 Set a 'dejagnu_module_initialized' variable to one after
10393 initialization; it can then be used by loaders for consistency
10395 * testsuite/actionscript.all/dejagnu_so_init.as:
10396 Add consistency checks: complain if __shared_assets is
10397 undefined (using makeswf with wrong switches?),
10398 and if __shared_assets.dejagnu_module_initialiezed evaluates
10399 to false (using bogus Ming version?).
10401 2006-11-16 Sandro Santilli <strk@keybit.net>
10403 * testsuite/misc-ming.all/Makefile.am: build Dejagnu.swf
10405 * testsuite/actionscript.all/: dejagnu_so_fini.as,
10406 dejagnu_so_init.as:
10407 New wrappers around Dejagnu.swf shared library to make
10408 it's use effective.
10409 * testsuite/actionscript.all/check.as: use Dejagnu.swf
10410 shared library if USE_DEJAGNU_MODULE is defined, provide
10411 fallback to bare 'trace' if it is not-working (due to bogus
10412 'makeswf' found in Ming-0.4.0beta22. Obsolete USE_XTRACE.
10413 * testsuite/actionscript.all/Makefile.am: change *.swf rule
10414 to use the Dejagnu.swf module (includes defining USE_DEJAGNU_MODULE
10415 and wrapping source in dejagnu_so_init.as and dejagnu_so_fini.as.
10417 2006-11-16 Sandro Santilli <strk@keybit.net>
10419 * macros/agg.m4: don't assume AGG is installed
10420 if agg_gradient_lut.h is not found.
10422 2006-11-15 Rob Savoye <rob@bertha.welcomehome.org>
10424 * macros/agg.m4: Look in the agg2 subdirectory for
10425 agg_gradient_lut.h.
10427 2006-11-16 Sandro Santilli <strk@keybit.net>
10429 * testsuite/misc-ming.all: ming_utils.{c.h}: add
10430 a get_dejagnu_clip() function.
10431 * testsuite/misc-ming.all: Makefile.am, Dejagnu.c:
10432 initial version of a loadable Dejagnu module for SWF
10435 2006-11-15 Sandro Santilli <strk@keybit.net>
10437 * testsuite/misc-ming.all/ming_utils.{c,h}:
10438 removed add_xtrace_function from header,
10439 changed add_dejagnu_functions to take a font object and
10440 to create the xtrace window w/out the drawing api (so
10441 that gnash is able to use it); added get_default_font function.
10442 * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c:
10443 use pixel coordinates, use get_default_font function,
10446 2006-11-15 Sandro Santilli <strk@keybit.net>
10448 * backend/render_handler_agg.cpp: comment out unneeded
10449 assertion (see https://savannah.gnu.org/bugs/?18119#comment2)
10451 2006-11-15 Sandro Santilli <strk@keybit.net>
10453 * server/edit_text_character.cpp: warn only once
10454 about missing 'no word wrap' implementation.
10456 2006-11-15 Sandro Santilli <strk@keybit.net>
10458 * server/movie_root.cpp (goto_labeled_frame): print
10459 an error asking users to report url of movie triggering
10460 the call (I plan to change implementation of it).
10461 * server/sprite_instance.cpp (goto_labeled_frame):
10462 make invalid label a "malformed swf" warning.
10464 2006-11-15 Sandro Santilli <strk@keybit.net>
10466 * server/sprite_instance.{h.cpp}: use a std::list
10467 for ActionList (now typedef'd) as it's more appropriate
10468 since we execute it from the start and execution can
10469 append items to it; typdef both PlayList and ActionList.
10470 This seems to fix bug #17793.
10471 * server/parser/: movie_definition.h, movie_def_impl.h,
10472 sprite_definition.h: typedef PlayList and use that.
10474 2006-11-14 Tomas Groth Christensen <tomasgroth@yahoo.dk>
10476 * backend/sound_handler_sdl.cpp: Make sure the decoded data is
10477 always able to fill the return buffer.
10479 2006-11-14 Sandro Santilli <strk@keybit.net>
10481 * libbase/container.h: don't redefine _LIB_PTHREAD_TYPES_H.
10483 2006-11-14 Patrice Dumas <pertusus@free.fr>
10485 * server/Makefile.am, server/asobj/Makefile.am,
10486 testsuite/Makefile.am, testsuite/server/Makefile.am:
10487 other missing BOOST_CFLAGS
10489 2006-11-14 Sandro Santilli <strk@keybit.net>
10491 * testsuite/misc-ming.all/: ming_utils.{c,h},
10492 DefineEditTextVariableNameTest.c:
10493 Moved general testcase generator facilities to ming_utils
10495 * doc/C/internals.xml: new sections about writing Ming-based
10496 self-contained SWF testcases and MovieTester-based testcases.
10499 2006-11-14 Bastiaan Jacques <bastiaan@bjacques.org>
10501 * server/parser/Makefile.am: parser uses Boost, so add BOOST_CFLAGS
10503 * backend/render_handler_agg.cpp: add a not quite correct trunc()
10504 implementation (which nevertheless serves our purposes) for
10505 platforms which don't define it.
10507 2006-11-14 Sandro Santilli <strk@keybit.net>
10509 * testsuite/misc-ming.all/ming_utils.c (add_dejagnu_functions):
10510 improved functions to use a TestState class, including
10511 a totals() function.
10512 * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c:
10513 added checks for sprites size and final call to runtest.totals().
10514 * testsuite/misc-ming.all/DefineEditTextVariableNameTest-Runner.cpp,
10516 reintroduced DefineEditTextVariableNameTest-Runner to also test
10517 frame advancements (removed every test already checked by
10518 self-containsd SWF testcase)
10520 2006-11-14 Sandro Santilli <strk@keybit.net>
10522 * plugin/klash/klash.cpp: fetch dbglogfile before use
10525 2006-11-13 Markus Gothe <nietzsche@lysator.liu.se>
10527 * macros/gtkglext.m4: Fixed bug #18286.
10529 2006-11-13 Patrice Dumas <pertusus@free.fr>
10531 * server/: Makefile.am, StreamProvider.cpp, impl.cpp, movie_root.h,
10532 asobj/Makefile.am, parser/Makefile.am, swf/tag_loaders.cpp:
10533 remove lot of CFLAGS, some LIBS and #include.
10535 2006-11-13 Sandro Santilli <strk@keybit.net>
10537 * server/edit_text_character.cpp (registerTextVariable):
10538 update warning about VariableName referencing an unknown character.
10539 * server/edit_text_character.cpp: have M_TEXT member getter
10540 use get_text_value (so to get a chance of registering
10542 * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c:
10543 change last expected failures to successes.
10545 2006-11-13 Sandro Santilli <strk@keybit.net>
10547 * testsuite/misc-ming.all/Makefile.am:
10548 make sure DefineEditTextVariableNameTest-Runner is created prior
10550 * server/edit_text_character.{h,cpp}: added primitive support
10551 for VariableName targets referring to yet-to-be-instantiated
10553 * testsuite/generic-testrunner.sh: new file to generate runners
10554 for self-contained SWF testfiles.
10555 * testsuite/misc-ming.all/Makefile.am: run DefineEditTextVariableName
10556 test again (uses the generic-testrunner.sh file)
10558 2006-11-13 Sandro Santilli <strk@keybit.net>
10560 * testsuite/simple.exp: check for XPASSED before PASSED.
10561 * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c:
10562 make the DefineEditTextVariableNameTest.swf file a self-contained
10564 * testsuite/misc-ming.all/: Makefile.am,
10565 DefineEditTextVariableNameTest-Runner.cpp:
10566 removed unneeded test runner for DefineEditTextVarible
10567 (the SWF is now a self-contained test)
10568 * testsuite/simple.exp: fix handling of XPASSED/XFAILED results.
10569 * testsuite/misc-ming.all/ming_utils.{c,h}:
10570 added add_dejagnu_functions() method and fixed
10571 xtrace() function to *append* rather then replace
10574 2006-11-13 Hiroyuki Ikezoe <poincare@ikezoe.net>
10576 * utilities/Makefile.am: add missing BOOST include flags.
10578 2006-11-13 Bastiaan Jacques <bastiaan@bjacques.org>
10580 * server/swf/ASHandlers.cpp: Remove old comment and unneeded const
10583 2006-11-13 Sandro Santilli <strk@keybit.net>
10585 * server/as_environment.cpp (find_target): more informative
10586 message about failure.
10587 * server/edit_text_character.cpp (registerTextVariable):
10588 don't abort if VariableName references an unknown character,
10589 instead print an error calling for help interpreting this
10590 case in the correct way :)
10591 * server/sprite_instance.{cpp,h}: drop all self-assignments
10592 to intrusive_ptr used as a mean to keep ourselves alive
10593 (sounds dangerous and confusing); added a testInvariant()
10594 inline method and called from all function modified in such
10597 2006-11-12 Markus Gothe <nietzsche@lysator.liu.se>
10599 * backend/render_handler_ogl.cpp: sprintf -> snprintf.
10601 2006-11-12 Bastiaan Jacques <bastiaan@bjacques.org>
10603 * server/swf/ASHandlers.cpp: Fix compilation errors by initialising
10604 the singleton on the stack.
10606 2006-11-11 Sandro Santilli <strk@keybit.net>
10608 * server/swf/ASHandlers.cpp (SWFHandlers::instance): store
10609 the allocated singleton in a std::auto_ptr<>, so to avoid
10610 leaks report (gprocessor w/out args is now leak-free).
10612 2006-11-11 Sandro Santilli <strk@keybit.net>
10614 * libbase/smart_ptr.h: removed smart_ptr definition, added
10615 function helpers and include for boost::intrusive_ptr
10616 * backend/render_handler_tri.cpp, server/action.cpp, server/action.h,
10617 server/array.cpp, server/as_environment.cpp, server/as_function.cpp,
10618 server/button_character_instance.cpp,
10619 server/button_character_instance.h, server/character.h,
10620 server/dlist.cpp, server/dlist.h, server/font.cpp, server/font.h,
10621 server/fontlib.cpp, server/gnash.h, server/impl.cpp,
10622 server/mouse_button_state.h, server/movie_root.cpp,
10623 server/movie_root.h, server/sprite_instance.cpp,
10624 server/sprite_instance.h, server/styles.cpp, server/styles.h,
10625 server/swf_function.cpp, server/with_stack_entry.h, server/xml.cpp,
10626 server/asobj/ASSound.cpp, server/asobj/Key.cpp, server/asobj/Key.h,
10627 server/asobj/MovieClipLoader.cpp, server/asobj/Number.cpp,
10628 server/asobj/Object.cpp, server/asobj/System.cpp,
10629 server/asobj/string.cpp, server/parser/bitmap_character_def.h,
10630 server/parser/button_character_def.cpp, server/parser/character_def.h,
10631 server/parser/movie_def_impl.cpp, server/parser/movie_def_impl.h,
10632 server/parser/movie_definition.h, server/parser/sprite_definition.h,
10633 server/swf/ASHandlers.cpp, server/swf/tag_loaders.cpp:
10634 Updated to use boost::intrusive_ptr instead of tu's smart_ptr
10635 * testsuite/libbase/Makefile.am, testsuite/libbase/smart_ptrTest.cpp:
10636 removed unit test for smart_ptr (obsoleted)
10637 * server/asobj/gen-asclass.sh: stub generator for ActionScript classes.
10639 2006-11-11 Sandro Santilli <strk@keybit.net>
10641 * Makefile.am (mudflap and mudlfap-check rules):
10642 use mudflapth as gnash's a threaded application.
10643 * testsuite/libbase/TCXXRc.cpp: use "check.h" if dejagnu
10646 2006-11-11 Sandro Santilli <strk@keybit.net>
10648 * gui/Player.cpp, gui/gnash.cpp, gui/gtk.cpp,
10649 gui/gtk_glue_gtkglext.cpp, gui/sdl_agg_glue.cpp,
10650 libamf/amf.cpp, libamf/rtmp.cpp, libbase/network.cpp,
10651 libbase/rc.h, server/as_function.cpp, server/dlist.cpp,
10652 server/movie_root.cpp, server/asobj/NetConnection.cpp,
10653 server/swf/ASHandlers.cpp, utilities/parser.cpp,
10654 utilities/processor.cpp:
10655 removed extra semicolons
10657 2006-11-11 Sandro Santilli <strk@keybit.net>
10659 * gui/Player.cpp, gui/gnash.cpp, gui/gtk.cpp,
10660 gui/gtk_glue_gtkglext.cpp, gui/sdl_agg_glue.cpp, libamf/amf.cpp,
10661 libamf/rtmp.cpp, libbase/log.cpp, libbase/log.h, libbase/network.cpp,
10662 libbase/rc.cpp, libbase/rc.h, libbase/sharedlib.cpp,
10663 server/as_function.cpp, server/dlist.cpp, server/movie_root.cpp,
10664 server/asobj/NetConnection.cpp, server/parser/action_buffer.cpp,
10665 server/swf/ASHandlers.cpp, testsuite/libbase/TCXXRc.cpp,
10666 testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp,
10667 testsuite/misc-ming.all/DefineEditTextVariableNameTest-Runner.cpp,
10668 testsuite/misc-ming.all/RollOverOutTest-Runner.cpp,
10669 testsuite/movies.all/gravity_embedded-TestRunner.cpp,
10670 testsuite/samples/clip_as_button2-TestRunner.cpp,
10671 testsuite/server/GetterSetterTest.cpp,
10672 testsuite/server/PropertyListTest.cpp,
10673 utilities/parser.cpp,
10674 utilities/processor.cpp:
10675 global rcfile hidden as function-static of the new
10676 static RcInitFile::getDefaultInstance() method.
10678 2006-11-11 Markus Gothe <nietzsche@lysator.liu.se>
10680 * backend/Makefile.am: Applied patch from Hiroyuki Ikezoe.
10682 2006-11-11 Sandro Santilli <strk@keybit.net>
10684 * Makefile.am: added mudflap-check rule (make check
10685 won't work after make mudflap)
10686 * libbase/rc.{cpp,h}: made static initialization
10687 of default RcInitFile predictable, by having
10688 it happen at first call to a newly introduced
10689 getDefaultInstance() static function. This
10690 fixes one of many invalid accesses reported by
10691 mudflap (see bug #18100)
10692 * gui/: Player.cpp, gnash.cpp, plugin/klash/klash.cpp,
10693 server/URLAccessManager.cpp, utilities/: parser.cpp,
10695 fetch global RcInitFile by using the new
10696 RcInitFile::getDefaultInstance()
10698 2006-11-10 Markus Gothe <nietzsche@lysator.liu.se>
10700 * backend/Makefile.am, gui/Makefile.am, libamf/Makefile.am,
10701 libbase/Makefile.am, libgeometry/Makefile.am, server/Makefile.am,
10702 server/asobj/Makefile.am, server/parser/Makefile.am,
10703 utilities/Makefile.am: Added _la_LDFLAGS = -avoid-version.
10704 Closed bug: #18235.
10706 * libbase/sharedlib.cpp: Fixed
10707 "error: ISO C++ forbids comparison between pointer of type 'void *'
10708 and pointer-to-function"
10710 * macros/agg.m4: Check for agg_gradient_lut.h.
10712 2006-11-09 Sandro Santilli <strk@keybit.net>
10714 * utilities/processor.cpp: call gnash::clear() as last step to help
10716 * server/asobj/Number.cpp: hush warnings.
10717 * gui/gnash.cpp (parseCommandLine): fixed sound setting.
10719 2006-11-09 Markus Gothe <nietzsche@lysator.liu.se>
10721 * macros/atk.m4, macros/boost.m4, macros/cairo.m4,
10722 macros/gnashpkgtool.m4, macros/gtk2.m4 macros/gtkglext.m4,
10723 macros/pango.m4, macros/sdl.m4 macros/xft.m4: Bugs, typos, indentation.
10725 2006-11-09 Sandro Santilli <strk@keybit.net>
10727 * testsuite/libbase/: TCXXRc.cpp, gnashrc.in:
10728 add test for 'sound' and 'soundPlugin' directives
10729 (and test for case-insensitive matching).
10731 2006-11-09 Sandro Santilli <strk@keybit.net>
10733 * gui/gnash.cpp, libbase/rc.h, plugin/klash/klash.cpp,
10734 utilities/parser.cpp, utilities/processor.cpp:
10735 Reverted privatization of RcFile.loadFiles().
10736 We actually want to keep control of that call, at
10737 least for the unit testing...
10739 2006-11-09 Sandro Santilli <strk@keybit.net>
10741 * plugin/klash/klash.cpp, utilities/: parser.cpp, processor.cpp:
10742 remove explicit rcfile.loadFiles() call.
10743 * libbase/rc.cpp: set pluginSound on by default
10745 2006-11-09 Sandro Santilli <strk@keybit.net>
10747 * libbase/rc.h: loadFiles() made private
10748 * libbase/rc.cpp: call loadFiles from constructor
10749 * gui/Player.cpp (init_sound): don't call rcfile.loadFile();
10750 don't use rcfile for setting sound config, trust class user
10752 * gui/gnash.cpp (parseCommandLine): use rcfile for sound
10753 setting only if no -r switch is given
10754 * plugin/plugin.cpp: don't use any -r switch so that config
10755 file completely drive the run.
10757 2006-11-09 Sandro Santilli <strk@keybit.net>
10759 * libbase/rc.cpp: rc file parsing made case-insensitive.
10760 * server/font.cpp (readDefineFont2): allow seek-back in stream
10761 while reading shape glyphs (fixes bug #16311).
10763 2006-11-09 Bastiaan Jacques <bastiaan@bjacques.org>
10765 * libbase/curl_adapter.cpp: Allow libcurl to follow HTTP redirects.
10766 Don't forget to store curl_easy_setopt()'s return value, in addition
10769 2006-11-09 Sandro Santilli <strk@keybit.net>
10771 * server/URLAccessManager.cpp (host_check): use log_security()
10772 and (IMHO) clearer messages; use standard algorithms for
10773 whitelist/blacklist query.
10774 * libbase/log.{cpp,h}: added log_security() for security-related
10777 2006-11-09 Markus Gothe <nietzsche@lysator.liu.se>
10779 * server/URLAccessManager.cpp: <errno.h> -> <cerrno> for C++ ;).
10781 2006-11-09 Hiroyuki Ikezoe <poincare@ikezoe.net>
10783 * backend/render_handler_cairo.cpp: stub required
10786 2006-11-09 Sandro Santilli <strk@keybit.net>
10788 * server/URLAccessManager.cpp: added missing <errno.h> include.
10790 2006-11-08 Sandro Santilli <strk@keybit.net>
10792 * server/URLAccessManager.cpp: fixed segfault in host_check,
10793 cleaned up and made more robust (hopefully)
10795 2006-11-08 Markus Gothe <nietzsche@lysator.liu.se>
10797 * backend/sound_handler_gst.cpp: Applied patch from Hiroyuki Ikezoe.
10799 2006-11-08 Vitaly Alexeev <tishka92@yahoo.com>
10801 * backend\render_handler_ogl.cpp: hack for glRasterPos2f()
10802 * server\asobj\NetStream.cpp: pthread_join() should be caused
10803 in only case when video streamer is started
10805 2006-11-08 Tomas Groth Christensen <tomasgroth@yahoo.dk>
10807 * backend/sound_handler_sdl.cpp: Made ffmpeg error handling
10808 more robust. Fixed a deadlock. Added a notice that upgrading
10809 ffmpeg might fix mp3-errror. Made stop_all_sounds() thread safe.
10810 Make mp3-decoding with mad work when the stream is not fully
10811 loaded when playback starts.
10813 2006-11-08 Sandro Santilli <strk@keybit.net>
10815 * libbase/smart_ptr.h: *fixed* invariant testing (well, at
10816 least we know that it works fine)
10818 2006-11-08 Vitaly Alexeev <tishka92@yahoo.com>
10820 * backend\render_handler_ogl.cpp: The elementary yuv-video opengl
10821 render which should work on all platform (very slow).
10822 The second attempt to commit
10824 2006-11-08 Sandro Santilli <strk@keybit.net>
10826 * testsuite/libbase/smart_ptrTest.cpp: test static initialization
10827 of smart_ptr (segfaults!!)
10828 * libbase/smart_ptr.h: added invariant testing
10829 * testsuite/libbase/CurlStreamTest.cpp: added missing
10831 * testsuite/libbase/: Makefile.am, smart_ptrTest.cpp:
10832 added unit test for smart_ptr<>.
10833 * configure.ac: move the AC_DEFINE([GUI_*]) calls *after*
10834 the possible fallback to SDL (see bug #15540)
10835 * server/: array.cpp, as_function.cpp, asobj/: MovieClip.cpp,
10836 MovieClipLoader.cpp, Number.cpp, Object.cpp, System.cpp,
10837 string.cpp: change static pointers to static *smart* pointers
10838 so we're sure they don't get deleted due to assignment to
10839 some other short-lived smart_ptr and that they are released
10842 2006-11-08 Sandro Santilli <strk@keybit.net>
10844 * server/text.cpp, server/parser/text_character_def.cpp:
10845 resolve style fonts at parse time (not use time) - reduce
10846 number of warnings given.
10847 * backend/render_handler_ogl.cpp: revert last commit, which
10848 made this a binary file !!!
10849 * gui/Makefile.am, utilities/Makefile.am: don't list
10850 LIBLTDL as a *dependency* (it's in LIBADD already)
10851 * server/parser/movie_def_impl.cpp: issue a warning
10852 when version of SWF being read is > 7.
10854 2006-11-07 Sandro Santilli <strk@keybit.net>
10856 * libbase/ref_counted.h: drop support for weak proxies.
10857 * libbase/smart_ptr.h: drop all but smart_ptr
10858 * server/button_character_instance.cpp (on_button_event):
10859 simplify access to our environment.
10860 * server/: character.{h,cpp}, generic_character.h, sprite_instance.cpp:
10861 store our parent in a smart_ptr<> (rather then a dumb one)
10862 * server/impl.cpp: don't force refcount increment on newly
10863 created movies (or we'll never get rid of them)
10864 * server/mouse_button_state.h: store active and topmost
10865 entities in a smart_ptr<> (rather then weak_ptr<>); it
10866 might introduce minor behavioural bugs, but it's safer.
10867 * server/movie_root.cpp: minor assertion checking
10868 * server/asobj/Key.{h,cpp}: store smart_ptr<> elements
10869 in listeners vector (rather then weak_ptr<>).
10871 2006-11-07 Sandro Santilli <strk@keybit.net>
10873 * libbase/log.h: don't warn about ASCODING errors by default
10874 * server/sprite_instance.cpp (sprite_hit_test): warn
10875 only once about hitTest not being implemented.
10877 2006-11-07 Vitaly Alexeev <tishka92@yahoo.com>
10879 * backend\render_handler_ogl.cpp: The elementary yuv-video opengl
10880 render which should work on all platform (very slow)
10881 * libbase\URL.cpp: #include <sys/param.h> removed for win32
10882 * server\asobj\NetStream.cpp: a bit cleunup
10885 2006-11-07 Udo Giacomozzi <udo.gnu@nova-sys.net>
10887 * backend/render_handler.h, gui/gui.cpp, gui/gui.h:
10888 Further described invalidated bounds
10890 2006-11-07 Sandro Santilli <strk@keybit.net>
10892 * server/action.cpp, server/swf/ASHandlers.cpp: turn
10893 more actionscript coding errors into warning and
10894 wrap them in IF_VERBOSE_ASCODING_ERRORS.
10896 2006-11-07 Sandro Santilli <strk@keybit.net>
10898 * server/parser/movie_def_impl.cpp: fix support
10899 for completely disabling using a separate
10900 thread for loading (just undef the
10901 LOAD_MOVIES_IN_A_SEPARATE_THREAD macro)
10903 2006-11-06 Rob Savoye <rob@bertha.welcomehome.org>
10905 * libltdl: New directory for libtool library, which is supposed to
10906 be included with the source of the application, although in our
10907 case it only gets build of libltdl is already installed in the
10909 * utilities/parser.cpp: Fix typo of executable name.
10910 * Makefile.am: Add libltdl as a SUB_DIR. Don't build plugin
10911 in KDE or GTK isn't found. Print out the proper KDE flags. Display
10912 build options as determined by configure.
10913 * configure.ac: Run configure in libltdl too. Autochange to SDL
10914 gui if GTK or KDE isn't found. Don't build klash unless QT and KDE
10916 * gui/Makefile.am: Add LIBLTDL support to AM_LDFLAGS. Define
10917 constants for build options so we can print them from Gnash. Add
10918 -export-dynamic (now required) to gnash and klash executables.
10919 * gui/gnash.cpp: Display build options from configure with
10920 --version or --help.
10921 * libbase/Makefile.am: Add LIBLTDL support. Add new files for
10922 shared libraries. Add LIBLTDL support to AM_LDFLAGS.
10923 * utilities/Makefile.am: Add -export-dynamic (now required) to
10924 gparser and gprocessor executables.
10925 * libbase/sharedlib.h, sharedlib.cpp: New files for loading of
10926 shared libraries into Gnash so we can support our own plugins.
10927 * libbase/URL.cpp: Include sys/param.h to get PATH_MAX for
10929 * macros/cairo.m4: Look in $prefix too so we can be cross
10931 * macros/curl.m4: Don't use curl-config when cross-compiling.
10932 * plugin/klash/Makefile.am: Use the more standard KDE_CFLAGS and
10933 KDE_LIBS. Build klash here again, the version on gui is totally
10935 * plugin/Makefile.am: Put back in the KLASH conditional so klash
10936 actually gets built.
10937 * utilities/parser.cpp: Fix the wrong name of the executable in
10940 2006-11-06 Sandro Santilli <strk@keybit.net>
10942 * server/sprite_instance.cpp (sprite_create_text_field):
10943 don't abort on "invalid?" calls. Warn if requested.
10944 * testsuite/actionscript.all/Function.as: fixed test for
10946 * server/as_function.cpp (function_apply): don't abort
10947 on invalid calls, warn about them if requested.
10948 * testsuite/actionscript.all/Function.as: added tests for
10949 invalid Function.apply() calls.
10950 * server/parser/sprite_definition.h: dirty patch for dirtier
10951 programmatically-created MovieClip implementation.
10952 * testsuite/actionscript.all/MovieClip.as: expect failures.
10953 * testsuite/actionscript.all/MovieClip.as: added more tests
10954 for createEmtyMovieClip - expose the segfault bug in it.
10955 * testsuite/misc-ming.all/: DefineEditTextVariableNameTest-Runner.cpp,
10956 DefineEditTextVariableNameTest.c: added test for assigning
10957 an empty string to a textfield.
10958 * server/edit_text_character (format_text): properly
10960 * backend/render_handler_agg_style.h: comment-out
10961 add_bitmap with NULL input warning.
10962 * server/styles.{h,cpp}: warn about bitmap fills with
10963 invalid character_id.
10965 2006-11-06 Udo Giacomozzi <udo.gnu@nova-sys.net>
10967 * backend/render_handler_agg.cpp: Protected clear_framebuffer()
10968 against negative width and height arguments
10970 2006-11-05 Rob Savoye <rob@bertha.welcomehome.org>
10972 * gui/gui.h: Add stuff for Emacs mode.
10973 * gui/gtk.cpp: Handle control keys better, so Gnash doesn't core
10974 dump. Work around #18207.
10976 2006-11-05 Sandro Santilli <strk@keybit.net>
10978 * testsuite/actionscript.all/String.as:
10979 added testcases for automatic string => String casts.
10980 * server/asobj/: Number.{h,cpp}: expose
10981 Number instance constructor.
10982 * server/asobj/: gstring.h, string.cpp:
10983 expose String instance constructor.
10984 * server/swf/ASHandlers.c (call_method):
10985 implicitly cast STRING values to String
10986 objects and NUMBER values to Number objects
10987 (to be possibly moved in as_value::to_object)
10989 2006-11-05 Sandro Santilli <strk@keybit.net>
10991 * server/sprite_instance.cpp: stubbed attachMovie, added
10992 comment about possible improvement of sprite_duplicate_movieclip,
10993 added some use of the new IF_VERBOSE_ASCODING_ERRORS macro
10994 * libbase/log.h: added IF_VERBOSE_MALFORMED_SWF and
10995 IF_VERBOSE_ASCODING_ERRORS macros.
10996 * server/swf/ASHandlers.cpp (ActionSubstring): early
10997 return if input string is undefined or null, base
10998 is out of range, size is negative or invalid (overflow
10999 input length when added to base); attempt
11000 to support negative base args (untested: ming unable
11001 to output such opcode). See bug #18204.
11003 2006-11-05 Markus Gothe <nietzsche@lysator.liu.se>
11005 * macros/mad.m4: Fixed bogus test-case...
11006 * macros/pthreads.m4: Added -D_SGI_MP_SOURCE (for IRIX).
11007 * plugin/klash/klash.cpp: bool do_sound = true.
11009 2006-11-04 Rob Savoye <rob@bertha.welcomehome.org>
11011 * testsuite/check.h: Include config.h. Optionally include
11012 dejagnu.h. Add stubs if it's not found.
11013 * testsuite/libbase/NoSeekFileTest.cpp: Include
11014 config.h. Optionally include either dejagnu.h or check.h.
11015 * testsuite/libbase/URLTest.cpp: Include
11016 config.h. Optionally include either dejagnu.h or check.h.
11017 * testsuite/server/GetterSetterTest.cpp: Include
11018 config.h. Optionally include either dejagnu.h or check.h.
11019 * testsuite/server/MatrixTest.cpp: Include
11020 config.h. Optionally include either dejagnu.h or check.h.
11021 * testsuite/server/PropertyListTest.cpp: Include
11022 config.h. Optionally include either dejagnu.h or check.h.
11024 q2006-11-04 Sandro Santilli <strk@keybit.net>
11026 * server/sprite_instance.cpp (ctor): code cleanup.
11027 * testsuite/libbase/NoSeekFileTest.cpp: added missing unistd.h
11030 2006-11-04 Vitaly Alexeev <tishka92@yahoo.com>
11032 * libbase\noseek_fd_adapter.cpp: size_t ==> int
11035 2006-11-04 Udo Giacomozzi <udo.gnu@nova-sys.net>
11037 * backend/render_handler_agg.cpp: removed compatibility include as
11038 it is not enough anyway; optimized screen and mask clearing
11039 * server/parser/edit_text_character_def.h: added read method for
11041 * server/edit_text_character.cpp: don't catch mouse events when
11042 text feld is not selectable
11043 * server/button_character_instance.cpp,
11044 server/parser/button_character_def.cpp,
11045 server/parser/button_character_def.h: Character depths are now
11046 respected while drawing
11048 2006-11-04 Markus Gothe <nietzsche@lysator.liu.se>
11050 * backend/render_handler_ogl.cpp: Added matrix for YUV->RGB-conversion.
11051 * macros/gnashpkgtool.m4: Look in the $prefix path for includes and
11052 libraries. This lets specifying --prefix become the default path to
11053 search in for cross compiling.
11054 * macros/zlib.h: Fixed typo, corrected output.
11055 * macros/pkg.m4, macros/libXML.m4: Typo:
11056 cross_compling -> cross_compiling.
11057 * server/impl.cpp: moved register_tag_loader() to the right place...
11058 * macros/ffmpeg.m4: Clean-ups and fixed linking...
11060 2006-11-03 Sandro Santilli <strk@keybit.net>
11062 * server/parser/button_character_def.{cpp,h}: fixed last
11063 fix attempting to still properly read the stream even
11064 in case of an error.
11066 2006-11-03 Sandro Santilli <strk@keybit.net>
11068 * server/impl.cpp, server/swf.h: register "fixme" loaders
11069 for known SWF8 opcodes; fix a typo in previous commit of swf.h.
11070 * server/parser/movie_def_impl.cpp: be more quiet when not
11071 in verbose parse mode.
11072 * server/button_character_instance.cpp (ctor): don't resolve
11073 characters associated to button records, that is now done
11074 by button_record read function.
11075 * server/parser/button_character_def.{h,cpp} (button_record::read):
11076 resolve characters immediately, returning false if impossible.
11078 2006-11-03 Rob Savoye <rob@bertha.welcomehome.org>
11080 * macros/curl.m4: Don't use curl-config when cross
11081 compiling. Break when the header is found, and don't forget to
11082 actually add the library to LDFLAGS.
11083 * autogen.sh: Don't pass -I macro if the directory doesn't
11084 exist. This is useful for nested configure scripts.
11085 * macros/agg.m4, atk.m4, boost.m4, curl.m4, glib.m4, gtk2.m4,
11086 gtkglext.m4, jpeg.m4, kde.m4, libXML.m4, pango.m4, png.m4, sdl.m4:
11087 Look in the $prefix path for includes and libraries. This lets
11088 specifying --prefix become the default path to search in for cross
11090 * macros/pkg.m4: When cross compiling, don't use pkg-config, as it
11091 only gets host values.
11093 2006-11-03 Sandro Santilli <strk@keybit.net>
11095 * server/swf.h: added some new SWF8 opcodes.
11096 * server/as_function.cpp (ctor): always increment refcount on
11099 2006-11-03 Udo Giacomozzi <udo.gnu@nova-sys.net>
11101 * backend/render_handler_agg.cpp: Removed debug output
11103 2006-11-03 Vitaly Alexeev <tishka92@yahoo.com>
11105 * server\asobj\NetStream.cpp: processing of
11106 the end of video is added
11108 2006-11-03 Vitaly Alexeev <tishka92@yahoo.com>
11110 * server\video_stream_instance.(h,cpp): added
11111 get_invalidated_bounds() method
11112 * gui\gui.cpp: removed win32 hack
11114 2006-11-03 Vitaly Alexeev <tishka92@yahoo.com>
11116 * libbase\noseek_fd_adapter.cpp: ssize_t ==> size_t
11117 * libbase\container.h: Has forgotten to clean marks
11118 * server\asobj\NetStream.cpp: Has forgotten to clean marks
11119 * server\gnash.h: Has forgotten to clean marks
11121 2006-11-03 Markus Gothe <nietzsche@lysator.liu.se>
11123 * server/asobj/Math.cpp, server/as_value.h: Added #include <string>.
11124 * server/asobj/NetStream.h: #ifdef USE_FFMPEG.
11125 * backend/render_handler_ogg.h: Removed unused include...
11127 2006-11-03 Vitaly Alexeev <tishka92@yahoo.com>
11129 * server\asobj\NetStream.h, cpp: updated video timing
11130 * testsuite\sample\player.swf: 4 video simultaneously
11131 * win32\gnash\gnash.vcproj: added new files
11133 2006-11-03 Sandro Santilli <strk@keybit.net>
11135 * testsuite/actionscript.all/swf_exists.exp: use 'gnash'
11136 rather then 'gprocessor' (gprocessor is currently broken, btw)
11138 2006-11-03 Sandro Santilli <strk@keybit.net>
11140 * server/: [too many files]
11141 Changed some 'tu' containers to 'std' ones...
11142 * server/: action.h, event_id.h, Makefile.am: extracted event_id
11143 class from action.h header.
11144 * server/StringPredicates.h: added StringNoCaseEqual.
11145 * server/as_value.{h,cpp}: to_std_string method added.
11146 * libbase/noseek_fd_adapter.cpp: signed vs. unsigned warnings
11149 2006-11-03 Tomas Groth Christensen <tomasgroth@yahoo.dk>
11151 * backend/sound_handler_sdl.cpp: When using ffmpeg for
11152 mp3-decoding, keep trying until error or something has been
11155 2006-11-03 Sandro Santilli <strk@keybit.net>
11157 * server/: Makefile.am, PropertyList.h, StringPredicates.h:
11158 Move std::string comparator in a separate file.
11159 * server/as_environment.{h,cpp}: use a std::map for variables
11160 rather then a stringi_hash; made _variables private.
11162 2006-11-03 Sandro Santilli <strk@keybit.net>
11164 * server/as_function.{h,cpp}: properly update refcount
11165 of function prototype object; improved documentation.
11167 2006-11-03 Sandro Santilli <strk@keybit.net>
11169 * utilities/processor.cpp: drop support for multiple
11170 input files (due to weakness of libserver due to
11171 unwrapped globals - namely base_url); properly
11174 2006-11-03 Hiroyuki Ikezoe <poincare@ikezoe.net>
11176 * backend/sound_handler_gst.cpp: fix to critical error
11177 exposed by playing samples/sound1.swf
11179 2006-11-02 Sandro Santilli <strk@keybit.net>
11181 * server/movie_interface.h: adde constructor for proper
11182 initialization of invalidated bounds staff; added TODO
11183 labels for moving the whole API to character class.
11185 2006-11-02 Sandro Santilli <strk@keybit.net>
11187 * configure.ac, testsuite/Makefile.am,
11188 testsuite/movies.all/Makefile.am,
11189 testsuite/movies.all/gravity_embedded-TestRunner.cpp:
11190 New automated testing for gravity_embedded.swf
11192 2006-11-02 Sandro Santilli <strk@keybit.net>
11194 * testsuite/MovieTester.cpp: properly set base_url to
11195 allow movies being tested to load other movies.
11197 2006-11-02 Sandro Santilli <strk@keybit.net>
11199 * testsuite/simple.exp: new file being a copy
11200 of the equal ming.exp and samples.exp files.
11201 * testsuite: misc-ming.all/ming.exp, samples/samples.exp:
11202 replaced by simple.exp above
11203 * testsuite/: misc-ming.all/Makefile.am, samples/Makefile.am:
11204 use unified expect script.
11206 2006-11-02 Udo Giacomozzi <udo.gnu@nova-sys.net>
11208 * testsuite/samples/gradients-test.swf: Added a extensive
11209 test for gradient rendering.
11210 * backend/render_handler_agg_style.h: correct and faster
11211 implementation of radial fills
11212 * backend/render_handler.h: New function to receive scale
11213 change notifications
11214 * backend/render_handler_agg.cpp: Properly handle rescaling
11215 * gui/gtk_glue_agg.cpp, gui/gtk_glue_agg.h: Implemented
11217 * gui/gtksup.h, gui/gui.cpp, gui/gui.h: Redraw on rescale
11218 * server/matrix.cpp, server/matrix.h: Added function to
11219 scale with different x/y values
11221 2006-11-02 Hiroyuki Ikezoe <poincare@ikezoe.net>
11223 * backend/sound_handler_gst.cpp: segfault fix (bug #18167)
11225 2006-11-01 Sandro Santilli <strk@keybit.net>
11227 * backend/sound_handler_sdl.{h,cpp}:
11228 use more unsigned types (remove compiler warnings);
11229 properly check sdl_audio_callback 'length' argument;
11232 2006-11-01 Vitaly Alexeev <tishka92@yahoo.com>
11234 * server\asobj\NetStream.h, cpp: clean up
11236 2006-11-01 Vitaly Alexeev <tishka92@yahoo.com>
11238 * backend\sound_handler_sdl.cpp: open audio if it is closed
11240 2006-11-01 Hiroyuki Ikezoe <poincare@ikezoe.net>
11242 * backend/sound_handler_gst.cpp:
11243 Fixed some memory leaks and proper use of
11244 integers (signed/unsigned)
11245 * doc/C/gnashrc.xml:
11246 typo fix (pluginSound => pluginsound)
11248 2006-11-01 Markus Gothe <nietzsche@lysator.liu.se>
11250 * TODO: Added note on GTK1-support for the plugin.
11252 2006-10-31 Markus Gothe <nietzsche@lysator.liu.se>
11254 * backend/render_handler_ogl.cpp: Clean up and added comments to
11255 understand what the combiner registers do.
11257 2006-10-31 Sandro Santilli <strk@keybit.net>
11259 * server/asobj/MovieClipLoader.cpp: fixed event handlers calls
11260 so that they include the target_mc argument.
11262 2006-10-31 Sandro Santilli <strk@keybit.net>
11264 * server/asobj/MovieClipLoader.cpp: lots of cleanup, implemented
11265 generic handling for event handlers (addListener, removeListener,
11266 dispatchEvent); added dispatch of onLoadInit event.
11267 * server/asobj/MovieClipLoader.cpp: lots of cleanup, implemented
11268 generic handling for event handlers (addListener, removeListener,
11269 dispatchEvent); added dispatch of onLoadInit event.
11270 * server/swf_function.cpp: make quiet (in sync with 0.7.2)
11271 * server/asobj/: Global.cpp, MovieClipLoader.cpp, MovieClipLoader.h:
11272 a bit of cleanup for the MovieClipLoader class, to use the
11273 new ActionScript builtin classes architecture. Stubbed addListener
11274 and removeListener methods.
11276 2006-10-31 Sandro Santilli <strk@keybit.net>
11278 * testsuite/actionscript.all/MovieClip.as: added test
11279 for getNextHighestDepth().
11280 * server/:sprite_instance.{h,cpp}:
11281 implemented getNextHighestDepth() ActionScript method;
11282 changed init_builtins() to take a version number; called
11283 init_builtins only when really needed, as in constructor
11284 the as_environment get_version() method will fail as
11285 the top-level movie_root would not have an associated
11286 root movie yet (complex, yes... )
11287 Made the getNextHighestDepth() AS method only available
11288 when target movie is SWF7 or higher.
11289 * server/: dlist.{h,cpp}:
11290 added getNextHighestDepth() method.
11291 * server/as_environment.cpp (get_version): more assertions
11292 (we have an initialization problem there)
11293 * testsuite/movies.all/README: updated info about gravity-embed.swf
11294 (after last modification)
11296 2006-10-31 Udo Giacomozzi <udo.gnu@nova-sys.net>
11298 * testsuite/movies.all/gravity-embed.swf: improved by providing
11299 explicit size control buttons and debugging textfield.
11300 * backend/render_handler_agg.cpp: Outline sizes now respect the
11301 transformation matrix
11303 2006-10-31 Sandro Santilli <strk@keybit.net>
11305 * testsuite/movies.all/README: updated info about gravity.swf
11308 2006-10-31 Udo Giacomozzi <udo.gnu@nova-sys.net>
11310 * testsuite/movies.all/gravity.swf: fixed actionscript
11311 referencing undefined variable.
11312 * testsuite/movies.all/gravity-embed.swf: new testcase
11314 2006-10-31 Sandro Santilli <strk@keybit.net>
11316 * testsuite/movies.all/README: some info about the movies
11317 * libbase/noseek_fd_adapter.cpp (fill_cache): fixed compiler
11318 warnings, plugged leaks, throw an exception on errro.
11320 2006-10-31 Markus Gothe <nietzsche@lysator.liu.se>
11322 * server/shm.h DSOEXPORT ctor and dtor.
11323 * server/gnash.h: DSOEXPORT get_sound_handler.
11324 * server/shape.cpp: DSOEXPORT edge::is_straight.
11326 2006-10-31 Udo Giacomozzi <udo.gnu@nova-sys.net>
11328 * backend/render_handler_agg.cpp,
11329 backend/render_handler_agg_style.h: Implemented masks for
11332 2006-10-31 Sandro Santilli <strk@keybit.net>
11334 * backend/sound_handler_gst.cpp (stop_all_sounds): fixed infinite
11335 loop due to comparison being always true.
11337 2006-10-30 Tomas Groth Christensen <tomasgroth@yahoo.dk>
11339 * backend/sound_handler_sdl.cpp: Fixed starting soundstreams
11340 from any frame when using libmad.
11342 2006-10-30 Udo Giacomozzi <udo.gnu@nova-sys.net>
11344 * testsuite/samples/: subshapes.swf, README:
11345 added new test file for multiple shape layer
11348 2006-10-30 Markus Gothe <nietzsche@lysator.liu.se>
11350 * AUTHORS: added Hannes.
11351 * configure.ac: Removed 0.7.1 from the version info, let's stick with
11353 * macros/boost.m4: Applied patch from Bernhard Rosenkraenzer.
11354 * macros/glib.m4, macros/pango.m4: Fixed output.
11355 * macros/atk.m4: fixed issue due to typo (lack of '$').
11356 * backend/sound_handler_gst.cpp: Added stubs for aux-streaming.
11357 * server/rect.h: DSOEXPORT rect()/is_bool() for visibility.
11359 2006-10-30 Hannes Mayr <hannes.mayr@indunet.it>
11360 * server/asobj/NetStream.cpp: added <unistd.h> include for sleep()
11362 2006-10-30 Sandro Santilli <strk@keybit.net>
11364 * testsuite/actionscript.all/swf_exists.exp: added more debugging
11365 lines on -v -v : dunno why but seems broken again on my debian
11367 * server/PropertyList.h: added <cctype> include for toupper.
11369 2006-10-29 Markus Gothe <nietzsche@lysator.liu.se>
11371 * libbase/tu_opengl_includes.h: Fixed bug #18145.
11373 2006-10-29 Rob Savoye <rob@bertha.welcomehome.org>
11375 * All GPL'd files: Remove Mozilla exemption. Maybe someday
11376 they'll not be so scared of the GPL.
11377 * server/gnash.h, server/asobjs/NetStream.h, NetStream.cpp: Use
11378 uint8, not Uint8 as it's defined within Gnash, and Uint8 isn't
11380 * libamf/protocol.h: Add private data for accumulating byte
11382 * libamf/rtmp.cpp: Accumulate byte counts.
11384 2006-10-29 Vitaly Alexeev <tishka92@yahoo.com>
11386 * libbase\container.h: added hash::erase()
11387 * server\gnash.h: added attach_aux_streamer & detach_aux_streamer
11388 * server\asobj\NetStream.h, cpp: added audio streamer for video
11389 * backend\sound_handler_sdl.h, cpp: added attach_aux_streamer & detach_aux_streamer
11390 * win32\gnash\gnash.vcproj: added new files
11392 2006-10-29 Vitaly Alexeev <tishka92@yahoo.com>
11394 * backend/render_handler_ogl.cpp: GL_NEAREST ==> GL_LINEAR
11396 2006-10-28 Rob Savoye <rob@bertha.welcomehome.org>
11398 * macros/ffmpeg.m4: Also look for libavformat, which is needed on
11399 some systems to support the new video code.
11401 2006-10-28 Udo Giacomozzi <udo.gnu@nova-sys.net>
11403 * backend/render_handler_agg.cpp: added bogus YUV_video to make
11404 it compile again; fixed some warnings
11405 * backend/render_handler_ogl.cpp, server/Makefile.am,
11406 server/video_stream_instance.cpp, server/parser/Makefile.am:
11407 Extended makefiles, moved YUV_video to it's own file so that
11408 Gnash compiles again for other backends
11410 2006-10-28 Markus Gothe <nietzsche@lysator.liu.se>
11412 * macros/gnashpkgtool.m4: Typo.
11413 * backend/render_handler_ogl.cpp, libbase/ogl.h: Replaced TU-wrapper
11414 code with the real stuff.
11416 2006-10-27 Sandro Santilli <strk@keybit.net>
11418 * server/asobj/Makefile.am: added includes from backend
11419 (NetStream uses renderer - should be avoided ?)
11421 2006-10-27 Markus Gothe <nietzsche@lysator.liu.se>
11423 * server/asobj/NetStream.{h,cpp}: Uint8 -> uint8_t. #ifdef USE_FFMPEG.
11424 Fixed typo of StreamProvider.h for case-sensitive-compilers.
11425 Sleep -> sleep. #ifndef __GNUC__ fmod = std::fmod.
11426 * backend/render_handler_ogl.cpp: Don't use GLew since it useless...
11427 TODO: rewrite NV-ext to generic OGL so it works. Removed ';' to
11428 conform to -pedantic -Werror. Changed name on quad to iquad to avoid
11429 "cc-1101 CC: ERROR File = render_handler_ogl.cpp, Line = 150
11430 "quad" has already been declared in the current scope."
11432 2006-10-27 Vitaly Alexeev <tishka92@yahoo.com>
11435 * server\as_function.cpp
11437 * server\asobj\Global.cpp
11438 * libbase\noseek_fd_adapter.cpp
11439 * backend\sound_handler_sdl.h
11441 2006-10-27 Vitaly Alexeev <tishka92@yahoo.com>
11443 opengl videostream implementation (4-7 ms per frame)
11444 requirements: NVIDIA card with aux buffers, glew library
11447 * server\parser\button_character_def.h,
11449 * server\asobj\LocalConnection.h,
11450 * server\asobj\LocalConnection.cpp,
11451 * server\parser\movie_def_impl.h,
11452 * server\movie_root.h,
11453 * server\asobj\NetStream.h,
11454 * server\asobj\NetStream.cpp,
11455 * libbase\network.h,
11456 * libbase\network.cpp
11458 * server\parser\sprite_definition.h
11459 * server\swf\tag_loaders.h
11460 * libbase\tu_types.h
11464 * server\movie_root.cpp
11465 * server\render.cpp
11466 * backend\render_handler.h
11467 * backend\render_handler_ogl.cpp
11468 * server\swf\tag_loaders.cpp
11469 * win32\gnash\gnash.vcproj
11472 * server\parser\video_stream_def.h
11473 * server\parser\video_stream_def.cpp
11474 * server\video_stream_instance.h
11475 * server\video_stream_instance.cpp
11476 * testsuite\sample\player.swf
11478 2006-10-27 Markus Gothe <nietzsche@lysator.liu.se>
11480 * backend/render_handler_ogl.cpp: Revived code for OGL antialiasing,
11481 albeit #if 0 until I've got the time to work on this. Added ctor stub.
11483 2006-10-27 Sandro Santilli <strk@keybit.net>
11485 * testsuite/actionscript.all/Date.as: fixed testcase
11486 (get => getDate, set => setDate, getUTC => getUTCDate,
11487 setUTC => setUTCDate)
11489 2006-10-27 Sandro Santilli <strk@keybit.net>
11491 * server/Property.h: improved documentation, added isGetterSetter,
11492 modified other methods to take as_object by *reference* (not
11493 pointer, as we dont' accept NULLs).
11494 * testsuite/server/PropertyListTest.cpp: updated to match new
11496 * server/PropertyList.{h,cpp}: added getProperty(key) method;
11497 removed "as_object" member and accepted it as an argument of
11498 setValue/getValue: this allow for inherited properties (the "owner"
11499 is not the object containing the property list when this is just
11500 a prototype); fixed copy constructor to clone container elements,
11501 implemented assigment operator, fixed clear() method to delete
11502 container elements; tried to handle some const-correcness.
11503 Will need a final cleanup and simplification pass.
11504 * server/as_object.{h,cpp}: added private findProperty() and
11505 findGetterSetter() methods, for crawling the inheritance chain;
11506 fixed set_member_default() to look for getter/setters in
11507 the inheritance chain before falling back to "override" mode;
11508 added doxygen comments.
11509 * testsuite/actionscript.all/Object.as: added Property inheritance
11512 2006-10-27 Hannes Mayr <hannes.mayr@indunet.it>
11514 * gtk_glue_agg.cpp: Fixed rendering for screens with 8-bit and
11515 16-bit color depth.
11517 2006-10-26 Sandro Santilli <strk@keybit.net>
11519 * server/as_object.h: new add_property() method
11520 * server/asobj/Object.cpp (object_addproperty): completed.
11521 * testsuite/actionscript.all/Object.as: xcheck => check :)
11523 2006-10-26 Sandro Santilli <strk@keybit.net>
11525 * server/GetterSetter.{cpp,h}: getValue/setValue method made const
11526 (problems with const-correctness of as_function are handled in
11527 the implementation file with use of const_cast<>)
11528 * server/: Makefile.am, Property.h: new class for properties,
11529 obsoletes as_member.
11530 * server/PropertyList.{cpp,h}: changed container to store
11531 pointers to the new polymorphic Property class; added pointer
11532 to as_object owner for calls to getter/setter properties.
11533 * testsuite/server/PropertyListTest.cpp: fixed test to work
11534 with new interface (requirement for an as_object in ctor)
11535 * server/as_object.h: fix constructors to properly initialize
11537 * server/as_member.h: removed, as obsoleted
11538 * server/Makefile.am: removed obsoleted reference to as_member.h
11540 2006-10-26 Markus Gothe <nietzsche@lysator.liu.se>
11542 * macros/gnashpkgtool.m4: Added GNASH_PKG_LIBS. Added GNASH_PKG_FIND.
11543 * macros/boost.m4: Added "2>/dev/null".
11545 2006-10-26 Sandro Santilli <strk@keybit.net>
11547 * server/textformat.h: added missing forward declarations.
11548 * server/asobj/Global.cpp: added missing header.
11549 * server/builtin_function.h (constructor): added default value of
11550 NULL for exported interface.
11551 * server/: GetterSetter.{h,cpp}, Makefile.am: added new class for
11552 getter-setter properties.
11553 * testsuite/server/: GetterSetterTest.cpp, Makefile.am: unit test
11556 2006-10-26 Sandro Santilli <strk@keybit.net>
11558 * server/: Makefile.am, as_object.{cpp,h}: use the PropertyList class
11559 rather then the simple stringi_hash<> (replaces TU things
11560 with standard things, btw)
11561 * server/PropertyList.{cpp,h}, testsuite/server/Makefile.am,
11562 testsuite/server/PropertyListTest.cpp: new class for use
11563 by as objects + associated test.
11564 * server/as_value.h: added output operator.
11565 * server/as_member.h: added is_read_only() method; changed
11566 get_member_flags() to return a reference (+added a const
11567 and non-const version).
11569 2006-10-26 Udo Giacomozzi <udo.gnu@nova-sys.net>
11571 * server/gnash.h, server/styles.cpp, server/styles.h,
11572 server/types.cpp: Added new methods for read access to
11573 some members and for faster color transform.
11574 * backend/render_handler_agg.cpp,
11575 backend/render_handler_agg_bitmap.h,
11576 backend/render_handler_agg_style.h: Fully implemented
11577 bitmap and gradient fill styles and split main AGG
11578 renderer file for better readability.
11579 * backend/render_handler.h, backend/render_handler_agg.cpp,
11580 gui/gtk.cpp, gui/gtk_glue.h, gui/gtk_glue_agg.cpp,
11581 gui/gtk_glue_agg.h, gui/gtksup.h, gui/gui.cpp,
11582 gui/gui.h, gui/sdl_agg_glue.cpp, gui/sdl_agg_glue.h:
11583 Reverted Bastiaan's changes (set_invalidated_region)
11584 * server/dlist.cpp: Improved invalidated bounds method
11585 * server/button_character_instance.cpp: Fixed invalidated
11586 bounds detection on button state change
11588 2006-10-25 Sandro Santilli <strk@keybit.net>
11590 * server/as_object.h: get_member() method taking
11591 an as_member pointer made private (toward getter/setter
11593 * configure.ac: don't check for cairo if not required
11594 (and a minor typo fix)
11595 * server/as_prop_flags.h (set_flags): changed interface
11596 to return bool, documented and simplified implementation.
11598 2006-10-25 Markus Gothe <nietzsche@lysator.liu.se>
11600 * macros/jpeg.m4: Fixed double -I-bug.
11602 2006-10-25 Sandro Santilli <strk@keybit.net>
11604 * server/as_object.{h,cpp}: added enumProperties() and
11605 copyProperties() public methods, m_members member made
11606 private (toward getter/setter properties).
11607 * server/sprite_instance.cpp (sprite_duplicate_movieclip):
11608 use the as_object::copyProperties() to avoid direct access
11609 to object members (lacks a testcase for validation)
11610 * server/swf/ASHandlers.cpp (enumerateOjbect): call the
11611 as_object::enumerateProperties() to avoid direct access
11612 to object members (validated with existing testcase);
11613 dropped the not-more-needed enumerateObjectRecursive
11614 function (the one provided by as_object uses a stack
11615 rather then recurs, btw).
11617 2006-10-24 Sandro Santilli <strk@keybit.net>
11619 * server/asobj/Object.cpp: hide Object.addProperty member.
11621 2006-10-24 Sandro Santilli <strk@keybit.net>
11623 * server/asobj/Object.cpp: added stub for addProperty() AS function.
11624 * server/asobj/Object.{cpp,h}: added init_object_instance() function
11625 to create an instance of the Object as class.
11626 * server/swf/ASHandlers.cpp (ActionInitObject): use the new
11627 init_object_instance() function.
11628 * testsuite/actionscript.all/Inheritance.as: one more expected success
11629 becomes an actual success.
11630 * testsuite/actionscript.all/Object.as: add a few more tests for
11633 2006-10-24 Sandro Santilli <strk@keybit.net>
11635 * testsuite/actionscript.all/: merged inheritance.as into
11637 * server/asobj/: Global.cpp, Makefile.am, Object.{cpp,h}:
11638 added Object class.
11640 2006-10-24 Sandro Santilli <strk@keybit.net>
11642 * testsuite/samples/samples.exp: dejagnu driver for
11643 tests in sample dir (actually a copy of ming.exp)
11644 * configure.ac, testsuite/Makefile.am,
11645 testsuite/samples/Makefile.am: enable Makefile
11646 under testsuite/samples dir.
11647 * testsuite/samples/clip_as_button2-TestRunner.cpp:
11648 added test runner for clip_as_button2.swf
11650 2006-10-24 Udo Giacomozzi <udo.gnu@nova-sys.net>
11652 * backend/render_handler_agg.cpp: Fix typos.
11654 2006-10-24 Sandro Santilli <strk@keybit.net>
11656 * testsuite/MovieTester.{cpp,h}: added findDisplayItemByDepth()
11657 * server/dlist.h: added const version of get_character_at_depth().
11658 * server/dlist.cpp (dump): added character type (using RTTI).
11659 * gui/gtk.cpp, gui/gui.h: added 'INPUT' cursor type (to be used
11660 in input text fields)
11661 * server/: Makefile.am, generic_character.cpp, generic_character.h:
11662 added a new implementation file for generic_character, fixed
11663 can_handle_mouse_events to delegate to parent,
11664 had get_topmost_mouse_entity check for can_handle_mouse_events
11665 to completely skip hit test if that returns false (fixes #17935)
11666 * server/movie_root.{h,cpp}: moved isMouseOverActiveEntity() from
11667 header to implementation file.
11668 * server/smart_ptr.h: made conversion from weak_ptr to smart_ptr
11669 a const method, added operator* for smart_ptr
11670 * server/parser/movie_def_impl.cpp (create_instance): minor cleanups.
11672 2006-10-24 Markus Gothe <nietzsche@lysator.liu.se>
11674 * configure.ac: Fixed finding correct X11-ABI and X11-lib-path on IRIX.
11675 * macros/gnashpkgtool.m4: Implemented GNASH_PKG_INCLUDES.
11677 2006-10-23 Sandro Santilli <strk@keybit.net>
11679 * server/swf/ASHandlers.cpp (ActionTypeOf): add support
11680 for C_FUNCTION values.
11681 * server/server/edit_text_character.cpp (registerTextVariable):
11682 don't assume our parent is a sprite, use the new get_environment()
11683 function to get to a variable scope instead.
11684 * server/character.h: added get_environment virtual function
11685 (every character should have an associated variable scope)
11686 * testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp: add checks
11687 for MouseOverMouseEntity.
11688 * testsuite/MovieTester.{cpp,h}: added isMouseOverMouseEntity() method.
11689 * server/action.{cpp,h} (event_id class): added is_mouse_event()
11691 * testsuite/actionscript.all/with.as: add a few more tests
11692 for access of variable in higher-level scopes.
11693 * server/: movie_interface.h, movie_root.h: added
11694 isMouseOverActiveEntity interface and implementation.
11695 * gui/gui.cpp (notify_mouse_moved): call isMouseOverActiveEntity
11696 to switch cursor type.
11697 * libbase/smart_ptr.h (weak_ptr): made equality operator an inspector,
11698 added inequality operator.
11700 2006-10-2 Markus Gothe <nietzsche@lysator.liu.se>
11702 * configure.ac: Fixed finding correct X11-ABI and X11-lib-path on IRIX.
11703 * macro/jpeg.m4: Fixed a bug.
11704 * macro/kde.m4: Fixed typos.
11705 * macro/opengl.m4: Fixed typo (I wonder how we got away with this one?).
11707 2006-10-23 Sandro Santilli <strk@keybit.net>
11709 * testsuite/actionscript.all/Number.as: removed expected failures
11710 (all we have passes now, there are a lots of other tests to
11711 add for that class, anyway)
11712 * server/as_value.cpp: (operator==): handle comparison of C_FUNCTION
11714 * server/as_value.cpp: (operator==): fix handling of object/non-object
11715 comparison (when object is first operand).
11716 * server/asobj/Number.cpp: override get_numeric_value().
11717 * server/as_object.h: added get_numeric_value() virtual
11718 method (convert to number).
11719 * server/as_value.h: added is_object() method (abstracts
11720 difference between AS_FUNCTION and OBJECT types.
11721 * server/swf.h: comment on semantic of ACTION_NEWEQUALS.
11723 2006-10-22 Sandro Santilli <strk@keybit.net>
11725 * server/asobj/: Global.cpp, Makefile.am, Number.cpp, Number.h:
11726 new Number ActionScript class (to be finished)
11728 2006-10-22 Bastiaan Jacques <bastiaan@bjacques.org>
11730 * libbase/log.h: size_t cannot be long long, so don't check for it.
11731 * configure.ac: Don't check for long long as it's unused.
11732 * gui/gui{.h,.cpp}: Add setCursor() to be used to set the mouse cursor.
11733 * gui/{gtk.cpp, gtksup.h}: Implement setCursor() for GtkGui.
11734 * configure.ac: Have the description of --enable-write make sense.
11735 * gui/{gui.h, sdl.cpp}: Gui::init() should return true on success.
11736 Document this in gui.h and implement it in sdl.cpp.
11737 * gui/Player.cpp: Remove obsolete comment.
11738 * backend/render_handler.h: Add get_invalidated_region().
11739 * backend/render_handler_agg.cpp: Implement get_invalidated_region().
11740 * gui/{gtk.cpp, gtk_glue_agg.cpp, gtk_glue_agg.h, gtksup.h, gui.cpp,
11741 gui.h}: Remove duplicate implementation of set_invalidated_region();
11742 instead, call get_invalidate_region() from the relevant glue. Call
11743 render_handler::set_invalidated_region() directly instead of the Gui
11745 * gui/sdl_agg_glue{.cpp, .h}: Implement region clipping based
11748 2006-10-22 Rob Savoye <rob@bertha.welcomehome.org>
11750 * configure.ac: Group --disable-klash and --enable-plugin
11751 together. Reverse the test to run KDE tests.
11753 * gui/Makefile.am: Don't link with -no-undefined to reduce
11754 dependancy problems.
11755 * plugin/Makefile.am, klash/Makefile.am: Don't link with
11756 -no-undefined to reduce dependancy problems.
11757 * backend/Makefile.am: List additional headers in
11759 * libbase/Makefile.am: Add ref_counted.h.
11760 * macros/agg.m4: Look in $includedir instead of $prefix.
11761 * macros/libXML.m4: Use double quotes when setting LIBXML_CFLAGS.
11763 2006-10-22 Markus Gothe <nietzsche@lysator.liu.se>
11765 * configure.ac: Don't look for KDE if not --enable-plugin.
11766 Wrong amount of args to 'test'. AC_DEFINE(KLASH...).
11767 Added checking and setting HAVE_SHM_UNLINK. Added check for
11769 * utilities/dumpshm.cpp: Fixed !__GNUC__ stuff.
11770 Look at server/shm.cpp and implement it likewise.
11771 * server/shm.cpp: Actually HAVE_SHM_UNLINK is appriate here.
11772 * plugin/mozplugger/mozpluggerrc.patch: added -j -k and 'stream'.
11774 2006-10-21 Rob Savoye <rob@bertha.welcomehome.org>
11776 * gnash/NEWS: Update with new fetures.
11777 * server/shm.cpp: Don't core dump anymore by not trying to open
11778 the same memory segment twice.
11779 * utilities/dumpshm.cpp: Shared memory utility. Lists, deletes,
11780 and dumps internal data from Gnash shared memory segments.
11781 * server/shm.h: Add more accessors for private data.
11782 * server/asobj/LocalConnection.cpp: Dump all the networking crap,
11783 that's for NetConnection.
11784 * server/asobj/LocalConnection.h: Derive class from Shm base class
11785 instead of Network base class.
11786 * testsuite/actionscript.all/LocalConnection.as: Use dejagnu.as.
11787 * utilities/Makefile.am: Add dumpshm program.
11789 * configure.ac: Build klash if the plugin is enabled, and KDE is
11790 found. Use --disable-klash with --enable-plugin to change this
11793 2006-10-21 Bastiaan Jacques <bastiaan@bjacques.org>
11795 * server/gnash.h: Declare sound_handler::is_muted().
11796 * backend/{sound_handler_gst.cpp, sound_handler_sdl.cpp,
11797 sound_handler_sdl.h}: Implement is_muted().
11798 * gui/gtk.cpp: Use is_muted() instead of a static Gui variable to
11799 determine whether or not sound is muted.
11801 2006-10-21 Markus Gothe <nietzsche@lysator.liu.se>
11803 * macros/ffmpeg.m4: Fixed AC_MSG_*-style.
11804 * macros/mad.m4: Added pkg-config support...
11806 2006-10-20 Rob Savoye <rob@bertha.welcomehome.org>
11808 * macros/ffmpeg.m4: If we find ffmpeg, it has dependancies on
11809 other libraries, so find libvorbisenc and libgsm or Gnash won't
11810 link on Ubuntu with sound enabled. Use pkg-config also for libdts,
11811 vorbisenc, and theora, all dependancies on Ubuntu.
11812 * macros/boost.m4: Don't let the boost lib get added to LIBS, we
11813 want to handle it seperately.
11815 2006-10-20 Markus Gothe <nietzsche@lysator.liu.se>
11817 * server/as_enviroment.cpp: Removed MIPSPRO #pragma. CC will fail
11818 due to a fundamental template-instantiation error. *Fixed*!
11820 2006-10-20 Sandro Santilli <strk@keybit.net>
11822 * testsuite/actionscript.all/rtrace.as: fixed typo, make sure
11823 to have 1 second (not a tenth of it) of inactivity before
11824 sending the report.
11825 * server/movie_root.{cpp,h} (notify_mouse_moved, notify_mouse_clicked):
11826 delegate return code to fire_mouse_events, changed to return bool;
11827 (fire_mouse_events): delegate return to generate_mouse_events,
11828 changed to return bool. Ok, final effect is we *sometime* return
11829 false (when NO event is actually triggered). Still partial as an
11830 implementation but a little step forward.
11831 * testsuite/actionscript.all/swf_exists.exp: strip PASSED/FAILED
11832 from test output labels.
11834 2006-10-20 Sandro Santilli <strk@keybit.net>
11836 * doc/C/sources.xml: Update configure option behaviour.
11837 * testsuite/actionscript.all/swf_exists.exp: catch errors
11839 * testsuite/actionscript.all/swf_exists.exp: made it work
11840 again with tcl versions in debian stable :D
11841 Also, reintroduced test id labels in pass/fail messages.
11842 * libbase/log.{cpp,h}: LogFile operator << for 'std::endl' (?) fixed
11843 to return LogFile (not std::ostream).
11844 * testsuite/actionscript.all/Makefile.am: added 'check.as' and
11845 'xtrace.as' dependencies.
11847 2006-10-19 Sandro Santilli <strk@keybit.net>
11849 * testsuite/actionscript.all/Number.as: use OUTPUT_VERSION,
11850 not SWFVERSION (the former is set by Makefile rule, the
11851 latter will be available in upcoming Ming releases)
11852 * testsuite/actionscript.all/Makefile.am: add with.as to
11853 GENERATED variable, and a comment about why we need that.
11854 * testsuite/actionscript.all/with.as: deeply test just the
11856 * server/swf/ASHandlers.cpp (ActionSetVariable, ActionGetVariable):
11857 pass the with_stack to get_variable/set_variable calls.
11858 * server/as_environment.h: made set_variable and get_variable
11859 methods taking a with_stack back to public.
11861 2006-10-19 Sandro Santilli <strk@keybit.net>
11863 * server/swf/ASHandlers.cpp (unsupported_action_handler): more
11864 verbosity; (ActionWith): cleaned up; (ActionGetVariable): added
11865 note about probable reason for 'with' failing (will work on
11868 2006-10-19 Sandro Santilli <strk@keybit.net>
11870 * server/ActioExec.{cpp,h}: added getWithStackLimit() method,
11871 fixed pushWithStackEntry() to use the limit (documented why
11872 in comments); fixed initialization list ordering.
11874 2006-10-19 Sandro Santilli <strk@keybit.net>
11876 * server/swf/ASHandlers.cpp: fix ActionExec use after privatization
11878 * server/ActionExec.{cpp,h}: more doxygen comments, with_stack
11879 made private and provided interfaces for pushing entries
11880 and getting a const ref to it. made _is_function2 data member
11883 2006-10-19 Sandro Santilli <strk@keybit.net>
11885 * gui/gui.cpp: use return value of mouse move and click events
11886 notifier to decide wheter to trigger redisplay.
11887 * server/gnash.h: added note in key event handler about the
11888 need to conform to the event handling described in the new
11890 * server/movie.h, server/movie_root.cpp, server/movie_root.h:
11891 switched mouse movement and click event notification functions
11892 to the new interface (note: they always return true currently)
11893 * server/movie_interface.h: added a doxygen page about events
11894 handling, changed notify_mouse_moved() and notify_mouse_clicked()
11895 to return a bool as to wheter redisplay is needed.
11897 2006-10-18 Udo Giacomozzi <udo.gnu@nova-sys.net>
11899 * gui/gui.h, gui/gui.cpp: Immediate redraw after mouse click
11901 2006-10-18 Rob Savoye <rob@bertha.welcomehome.org>
11903 * gui/gtk.cpp: Include rc.h, to get the default sound
11904 setting. Toggle the sound using mute() & unmute() via the menu
11905 item. Add static variable for the sound toggle. Don't add the
11906 "Toggle Sound" item if sound is disabled on the command line with
11909 2006-10-18 Udo Giacomozzi <udo.gnu@nova-sys.net>
11911 * gnash/server/button_character_instance.cpp,
11912 gnash/server/character.h, gnash/server/dlist.cpp,
11913 gnash/server/edit_text_character.cpp,
11914 gnash/server/generic_character.h,
11915 gnash/server/movie_interface.h,
11916 gnash/server/sprite_instance.cpp: Invalidated region
11919 2006-10-18 Sandro Santilli <strk@keybit.net>
11921 * macros/agg.m4: make sure agg_include_dir is an absolute path.
11923 2006-10-18 Stefan Schweizer <genstef@gentoo.org>
11925 * gui/Makefile.am: klash_DEPENDENCIES += libgnashplayer.la.
11927 2006-10-18 Sandro Santilli <strk@keybit.net>
11929 * backend/render_handler_cairo.cpp:
11930 don't directly access rect private members.
11931 * gui/fb.cpp, backend/render_handler_agg.cpp:
11932 don't directly access rect private members.
11933 * gui/gui.cpp: let initial _last_invalidated_rect be null;
11934 don't directly access rect private members.
11935 * server/rect.h: added constructor taking all coordinates.
11936 * backend/render_handler_ogl.cpp: don't directly access rect
11937 "to-be" private members.
11938 * server/: fontlib.cpp, movie_root.cpp: don't directly access
11939 rect "to-be" private members.
11940 * gui/gtk.cpp: don't directly access rect "to-be" private members.
11941 * server/rect.h: added shift_x, shift_y, scale_x and scale_x
11942 methods (toward making data members private).
11943 * server/rect.h: added getters for all ordinates (toward making
11945 * server/as_environment.h: minor cleanups.
11946 * server/as_environment.cpp: fix signed/unsigned comparison warning,
11947 fixed a small typo in debugging message.
11948 * libbase/log.: always check for SIZEOF_SIZE_T == SIZEOF_INT
11949 before comparing against SIZEOF_LONG and SIZEOF_SHORT.
11950 * configure.ac: print an error on invalid --enable-sound value.
11952 2006-10-18 Markus Gothe <nietzsche@lysator.liu.se>
11954 * gui/gnash.cpp, gui/sdl.cpp, utilities/parser.cpp,
11955 utilities/processor.cpp: #ifndef __GNUC__ keeps the bisons away.
11956 * utilities/Makefile.am: Removed unnecessary linkage (which even
11957 make the binaries break on IRIX).
11959 2006-10-18 Sandro Santilli <strk@keybit.net>
11961 * server/xml.cpp (setupFrame): static cast pointer arg for %p to
11962 void * (fixes compiler warning)
11963 * macros/sdl.m4: fix handling of --with-sdl-incl (add the missing -I
11965 * configure.ac: check for getopt.h
11966 * gui/: gnash.cpp, sdl.cpp,
11967 utilities/: parser.cpp, processor.cpp:
11968 don't redeclare geopt stuff is getopt.h is available.
11969 * macros/sdl.m4: fixed typo ("$/" => "$i/")
11971 2006-10-18 Bastiaan Jacques <bastiaan@bjacques.org>
11973 * configure.ac: Have configure export SIZEOF defines for various
11975 * libbase/log.h: Define SIZEOF_SIZE_T based on the size of its
11976 integer type definition, so as to avoid warnings caused by integer
11977 size difference variations in platforms.
11978 * gui/kde_glue.h: Remove OpenGL include.
11979 * gui/kde_opengl_glue.cpp: Add OpenGL include.
11981 2006-10-18 Sandro Santilli <strk@keybit.net>
11983 * Makefile.am: @CC => $(CC)
11984 * server/rect.cpp (expand_to_transformed_rect): do nothing
11985 when rect to expand to is null.
11987 2006-10-18 Hannes Mayr <hannes.mayr@indunet.it>
11989 * configure.ac: Added Option 'no' to --enable-sound's help output.
11991 2006-10-18 Markus Gothe <nietzsche@lysator.liu.se>
11993 * configure.ac, libbase/tu_types.h: Check for endian.h.
11994 * macros/libtool.m4,
11995 config.guess, config.sub, ltmain.sh: Updated to latest version from
11997 * macros/pthreads.m4: added check for pth-config.
11999 2006-10-17 Tomas Groth Christensen <tomasgroth@yahoo.dk>
12001 * backend/sound_handler_sdl.cpp: Removed call to GCC specific STL
12003 * server/swf/ASHandlers.cpp: Removed redundant soundstop in
12007 2006-10-17 Markus Gothe <nietzsche@lysator.liu.se>
12009 * server/as_enviroment.cpp: If MIPSPRO #pragma do_not_instantiate.
12010 * libbase/tu_types.h: Fixed endian.h-includness for max. portability.
12011 * backend/sound_handler_sdl.h: <SDL/SDL_audio.h> -> <SDL_audio.h>
12012 * backend/sound_handler_sdl.cpp: <SDL.h> -> <SDL.h>
12013 * macros/sdl.m4: Fixed wrong search-path.
12014 * gui/Player.cpp: Removed getopt_win32.h include.
12015 * gui/gnash.cpp: Added declaration of getopt, optind and optarg.
12016 * gui/sdl.cpp, gui/gnash.cpp, utilities/parser.cpp,
12017 utilities/processor.cpp: extern "C" {getopt()}.
12019 2006-10-17 Rob Savoye <rob@bertha.welcomehome.org>
12021 * testsuite/actionscript.all/with.as: Minor changes.
12022 * macros/kde.m4: Remove test for vsnprintf, as this breaks on
12023 Ubuntu, and this is tested for elsewhere anyway, so it's
12026 2006-10-17 Sandro Santilli <strk@keybit.net>
12028 * server/swf/ASHandlers.cpp (ActionGetVariable): optimizations:
12029 avoid pop/push; avoid unneeded as_value copies.
12030 * server: Makefile.am, rect.cpp rect.h: put rect class in it's own
12031 files, fixed width() and height() to return 0 when rect is
12033 * gui/gui.h, server: font.h, gnash.h, movie_interface.h, types.cpp,
12034 parser/: character_def.h, edit_text_character_def.h,
12035 shape_character_def.h, text_character_def.h: updated all includes
12036 to use new rect.h file.
12037 * gui/gui.cpp (display): added missing return (doesn't tell much
12039 * server/gnash.h, server/types.cpp (rect class): added is_null(),
12040 set_null() methods and check for it in all public functions;
12041 added enclose_point() method; added some TODO items.
12042 * server/edit_text_character.h (reset_bounding_box): avoid
12043 directly accessin rect class data members.
12044 * server/movie_root.h (get_invalidated_bounds): use set_null()
12045 to reset bounds when browsing for invalidated rectangle,
12046 avoid directly accessing rect class data members.
12047 * server/parser/shape_character_def.cpp (compute_bound):
12048 avoid directly accessin rect class data members, use
12049 rect::set_null() to initialize bounds.
12051 2006-10-17 Bastiaan Jacques <bastiaan@bjacques.org>
12053 * gui/Makefile.am: when we are building the KDE GUI, build
12054 target klash.moc before anything else.
12055 * gui/sdl_ogl_glue.cpp: variable depth is now called _bpp.
12057 2006-10-17 Sandro Santilli <strk@keybit.net>
12059 * gui/gui.{cpp,h}: notify_mouse_moved made non-static; call
12060 display() after mouse move notification to immediately
12061 show changed triggered by any event handler. This is an
12062 overkill and needs better architecture, but at least it is
12064 * gui/gui.{cpp,h}: extracted a display() function out of
12065 advance_movie(), for possible reuse from event notifiers.
12066 * server/edit_text_character.cpp: commented out debugging line
12067 * testsuite/misc-ming.all/ButtonEventsTest.c: set movie rate
12068 to 0.2 frames per second, to test redraw-on-event (not working
12070 * gui/Player.cpp (run): exit with an error if gui initialization
12072 * gui/fb.cpp (init): return false if pixel format is not
12075 2006-10-17 Markus Gothe <nietzsche@lysator.liu.se>
12077 * configure.ac: Added use of AC_LANG{PUSH,POP}(C++).
12078 * Makefile.am: Install doc/gnash.1 as man page.
12079 * doc/gnash.1: Imported www-version.
12081 2006-10-16 Rob Savoye <rob@bertha.welcomehome.org>
12083 * server/xml.cpp: Fix parseXML so it takes a string, and properly
12084 sets up the stack with the values parsed from the XML.
12085 * testsuite/actionscript.all/XML.as: Tests pass now, no expected
12087 * testsuite/actionscript.all/with.as: New test case for making
12088 sure the 'with' Flash keyword works, which currently it doesn't.
12090 2006-10-16 Tomas Groth Christensen <tomasgroth@yahoo.dk>
12092 * backend/sound_handler_gst.cpp, backend/sound_handler_sdl.cpp,
12093 backend/sound_handler_sdl.h, server/gnash.h: Added support for
12094 muting and unmuting soundhandlers.
12096 2006-10-16 Tomas Groth Christensen <tomasgroth@yahoo.dk>
12098 * backend/sound_handler_sdl.cpp: Fixed stop_all_sounds() and
12100 * server/sprite_instance.cpp: When a movie is stopped/paused
12101 or jumps to a new frame the audio playback now stops.
12103 2006-10-16 Sandro Santilli <strk@keybit.net>
12105 * testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp:
12106 expect immediate execution of mouse event handlers.
12107 * server/button_character_instance.cpp (on_button_event):
12108 execute events handler immediately, not at next 'advance'
12109 * configure.ac: comment out unused OGG and PNG checks
12110 * testsuite/server/Makefile.amadd libgnashbase explicit
12111 linking as the one deduced by libgnashserver seems
12112 to be bogus (points to the installed one).
12113 * testsuite/misc-ming.all/ming_utils.c: include ming_utils.h
12114 * configure.ac: don't complain if mp3_decoder is set but no
12115 sdl sound was requested (since mp3_decoder=ffmpeg by default).
12116 Just set it to none instead..
12118 2006-10-16 Hannes Mayr <hannes.mayr@indunet.it>
12120 * gui/gtk.cpp: Use set_invalidated_region() only with AGG renderer
12121 until world_to_pixel() is implemented for triangle-based renders.
12123 2006-10-16 Rob Savoye <rob@bertha.welcomehome.org>
12125 * doc/C/gnashrc.xml: New section on the Gnash configuration file
12127 * doc/C/gnash.xml: Add section on the Gnash configuration file.
12129 * gui/gtksup.h: Add prototype for menuitem_sound_callback.
12130 * gui/gtk.cpp: Add menuitem_sound_callback, and a "Toggle Sound"
12132 * gui/Player.cpp: Enable sound by default, but also check the
12133 $HOME/.gnashrc file.
12134 * libbase/rc.cpp, rc.h: Add support for "sound" and "pluginsound"
12136 * configure.ac: Enable the SDL-ffmpeg sound system by default.
12138 2006-10-16 Udo Giacomozzi <udo.gnu@nova-sys.net>
12140 * gui/gui.h, gui/gui.cpp: Added want_redraw() function
12141 * backend/render_handler.h, backend/render_handler_agg.cpp:
12142 Added get_pixel() function
12144 2006-10-16 Hannes Mayr <hannes.mayr@indunet.it>
12146 * gui/gtk_glue_agg.cpp, gui/gtk.cpp, gui/gtksup.h: Added regions support
12147 to the GTK-AGG GUI.
12149 2006-10-16 Tomas Groth Christensen <tomasgroth@yahoo.dk>
12151 * doc/C/internals.xml: Updated the docs about the SDL soundhandler
12152 * backend/sound_handler_gst.cpp: Dummy support for sound envelopes
12153 * backend/sound_handler_sdl.cpp, backend/sound_handler_sdl.h,
12154 server/button_character_instance.cpp, server/gnash.h,
12155 server/sound.cpp, server/sound.h, server/asobj/ASSound.cpp,
12156 server/parser/button_character_def.cpp,
12157 server/parser/button_character_def.h: Added support for volume
12158 control using sound envelopes.
12160 2006-10-16 Sandro Santilli <strk@keybit.net>
12162 * testsuite/misc-ming.all/: ButtonEventsTest-Runner.cpp,
12163 ButtonEventsTest.c, Makefile.am: new test for button
12165 * testsuite/MovieTester.{cpp,h}: added call to set_current_root
12166 (seems needed by notify_mouse_clicked) and new pressMouseButton()
12167 and depressMouseButton() methods.
12168 * server/movie_root.cpp (generate_mouse_button_events): use
12169 C++ style casts, assert that a "current root" has been set.
12170 * server/: action.cpp, action.h: added ROLLOVER and ROLLOUT standard
12172 * server/sprite_instance.cpp: set and get ROLLOVER and ROLLOUT
12173 events within get_member and set_member (fixes RollOverOutTest)
12174 * testsuite/misc-ming.all/Makefile.am: enable RollOverOutTest-Runner
12176 * testsuite/misc-ming.all/: Makefile.am, RollOverOutTest-Runner.cpp,
12177 RollOverOutTest.c: new test for RollOver and RollOut events
12178 * testsuite/misc-ming.all/ming_utils.{c,h}: added make_fill_square()
12180 * testsuite/MovieTester.{cpp,h}: added movePointerTo() method
12181 to generate mouse events.
12182 * server/types.cpp, server/matrix.cpp: don't check IF_VERBOSE_PARSE
12183 in types' ::print method, have that checked by caller.
12185 2006-10-16 Hannes Mayr <hannes.mayr@indunet.it>
12187 * gui/gtk_glue_agg.cpp, gui/gtk_glue.h: Code cleanup, fixed unused
12188 parameter warnings.
12190 2006-10-16 Udo Giacomozzi <udo.gnu@nova-sys.net>
12192 * gui/fbsup.h, gui/fb.cpp: Implemented clean exit for FB GUI
12194 2006-10-16 Bastiaan Jacques <bastiaan@bjacques.org>
12196 * plugin/klash/klash.cpp: Fix compilation issues by ensuring that
12197 `windowid' is actually defined.
12198 * macros/docbook.m4: Make an invalid directory passing message refer
12199 to the relevant directory.
12200 * configure.ac: Permit only the KDE GUI when klash is requested. KDE
12201 is not a renderer, so don't test for it.
12202 * gui/{kde_glue.h, kde_glue_opengl.cpp, kde_glue_opengl.h,
12203 gui/kdesup.h}: Remove OpenGL-specific code from KdeGlue, so as to
12204 allow glues other than OpenGL to inherit from KdeGlue; propagate this
12205 change to subclasses. Also fix some typos.
12206 * plugin/klash/Makefile.am: Deprecate the klash binary from
12207 plugins/klash in favour of gui/klash.
12208 * configure.ac: Allow SDL-GUI to be built with Agg. Fix typo.
12209 * gui: Implement the Agg renderer for SDL-GUI. This does not yet
12210 include region updating.
12211 * gui/README: Update to reflect recent changes.
12212 * gui/gnash.cpp: Remove assertion for invalid bit depths. Renderer
12213 glues must decide if a bit depths is appriopriate and signal the user
12215 * gui/sdl_cairo_glue{.cpp, .h}: Remove OpenGL code.
12216 * gui/sdl_agg_glue.cpp: Don't call free() on a operator new-allocated
12219 2006-10-16 Markus Gothe <nietzsche@lysator.liu.se>
12221 * backend/render_handler_agg.cpp: Added log_error on unknown
12222 pixelformat. Added RGBA16/RGBA32 pixel-formats.
12223 * gui/gtk_glue_agg.cpp: Added RGBA16/RGBA32 pixel-formats.
12224 * plugin/klash/klash.cpp: Fixed windowid in accordance to Bastiaan's
12225 code clean-up in action.cpp
12227 2006-10-15 Patrice Dumas <pertusus@free.fr>
12229 * testsuite/Makefile.am: Add analyse-results.sh to the
12231 * testsuite/analyse-results.sh: Make sure the test log exists
12232 before trying to parse it.
12233 * testsuite/actionscript.all/Makefile.am: Also clean the out.swf
12235 * testsuite/libbase/Makefile.am: Also clean the site.exp.bak
12237 * testsuite/misc-ming.all/Makefile.am: Clean the debug log, and
12239 * testsuite/misc-ming.all/PlaceObject2Test.c: Deal with the
12240 warning, and don't comment out argc and argv.
12241 * testsuite/server/Makefile.am: Clean the debug log, and testing
12245 2006-10-15 Rob Savoye <rob@bertha.welcomehome.org>
12247 * testsuite/actionscript.all/swf_exists.exp: Use local_exec()
12248 instead of spawn/expect. This works better with batch tests.
12249 * testsuite/actionscript.all/check.as: Add xcheck and
12250 xcheck_equals to handle expected failures.
12251 * testsuite/actionscript.all/dejagnu.as: Add xpass and xfail to
12252 handle expect failures.
12253 * testsuite/actionscript.all/Boolean.as, Date.as, Global.as,
12254 Inheritance.as, MovieClip.as, NetConnection.as, Number.as,
12255 Object.as, Selection.as, array.as, delete.as, inheritance.as: Use
12256 xcheck and xcheck_equals for tests expected to not work yet.
12257 * testsuite/actionscript.all/XML.as, XMLNode.as: Use xpass and
12258 xfail for tests expected to not work yet.
12260 2006-10-15 Sandro Santilli <strk@keybit.net>
12262 * gui/sdl_ogl_glue.cpp: fixed unused parameters warning.
12264 2006-10-15 Bastiaan Jacques <bastiaan@bjacques.org>
12266 * configure.ac: Print KDE configuration flags when using KDE.
12267 * gui/Makefile.am: Correct the order of KDE linker flags.
12268 * gui/gui.cpp: Fix a typo.
12269 * macros/docbook.m4: Substitute variables used in Makefiles, so they
12270 can be used by `make'.
12271 * server/action.cpp: Remove unused GUI code.
12272 * configure.ac, macros: Implement all configuration option
12273 descriptions using AC_HELP_STRING for a pretty alignment.
12275 2006-10-15 Markus Gothe <nietzsche@lysator.liu.se>
12277 * backend/render_handler_agg.h: Chmod -x.
12278 * AUTHORS: Updated in accordance with the www.
12279 * doc/C/sources.xml, win32/npgnash/npgnash.vcproj, plugin/klash/README,
12280 backend/sound_handler_mp3.cpp, backend/sound_handler_sdl.cpp,
12281 win32/gnash/gnash.vcproj, backend/sound_handler_sdl.h,config.mk.in,
12282 doc/C/internals.xml, gui/Makefile.am, libamf/Makefile.am, Makefile.am,
12283 plugin/klash/Makefile.am, plugin/Makefile.am,server/asobj/Makefile.am,
12284 server/Makefile.am, server/parser/Makefile.am,
12285 testsuite/actionscript.all/Makefile.am:
12286 Removed references to SDL-mixer.
12288 2006-10-14 Sandro Santilli <strk@keybit.net>
12290 * server/movie_root.h, server/movie_interface.h, server/movie.h:
12291 notif_mouse_moved() function documentation improved and
12292 moved only in movie_interface (parent class).
12294 2006-10-14 Markus Gothe <nietzsche@lysator.liu.se>
12296 * libgeometry/Makefile.am, server/asobj/Makefile.am, server/Makefile.am,
12297 server/parser/Makefile.am: Removed unused $(ENGINE_INCLUDE).
12299 2006-10-14 Markus Gothe <nietzsche@lysator.liu.se>
12301 * server/shape.h: DSOEXPORT class mesh_set
12302 * server/styles.h: DSOEXPORT class fill_style.
12303 * server/gnash.h: DSOEXPORT void expand_to_rect(const rect& r);
12304 DSOEXPORT movie_definition* create_movie(tu_file* in,
12305 const std::string& url);
12306 * gui/gui/gtk_glue_cairo.h: Fixing undef'd virtual.
12307 * backend/render_handler_cairo.{cpp, h}: DSOEXPORT void
12308 set_handle(cairo_t* handle); DSOEXPORT gnash::render_handler*
12310 * macros/gnashpkgtool.m4: Initial import.
12312 2006-10-13 Rob Savoye <rob@bertha.welcomehome.org>
12314 * macros/boost.m4: Do stupid and complex searching for the Boost
12315 version number, followed by digging around via 'ls' to find the
12316 right Boost thread library no matter what it's called. For now,
12317 the results of this test are unused by current code.
12319 2006-10-13 Markus Gothe <nietzsche@lysator.liu.se>
12321 * gui/sdl.cpp, gui/sdl_ogl_glue.cpp: Fixed some #defines that were
12322 reverted. Removed basename().
12323 * macros/ogg.m4: Typo.
12324 * macros/boost.m4: Clean up and fixed missing AC_LANG{PUSH,POP}(C++).
12325 * gui/gtk_glue_gtkglext.h: Fixed non-def'd virtual.
12326 * libbase/container.h: Adding namespace gnash{}. Avoiding confusion.
12327 * libgeometry/kd_tree_dynamic.cpp: hash -> gnash::hash.
12329 2006-10-13 Udo Giacomozzi
12331 * testuite/movies.all/gravity.swf: Added test movie
12333 2006-10-13 Hannes Mayr <hannes.mayr@indunet.it>
12335 * configure.ac: AGG is now supported by GTK GUI too.
12337 2006-10-13 Bastiaan Jacques <bastiaan@bjacques.org>
12339 * gui/{sdl_*, Makefile.am}: Add OpenGL and Cairo glues for SDL.
12342 2006-10-13 Hannes Mayr <hannes.mayr@indunet.it>
12343 * gui/gtk.cpp, gui/gtksup.h, gui/gtk_glue.h, gui/gtk_glue_agg.cpp,
12344 gtk_glue_agg.h, Makefile.am: Added support for GTK with AGG renderer.
12346 2006-10-13 Sandro Santilli <strk@keybit.net>
12348 * gui/sdl.cpp, gui/sdlsup.h: added support for expose and
12349 resize events. (resize does nothing, just logs it).
12350 * backend/render_handler_cairo.cpp (line_style_width): handle
12352 * backend/render_handler_ogl.cpp (line_style_width): handle "hairline"
12354 * gui/gui.cpp (resize_view): set _width and _height.
12355 * testsuite/libbase/Makefile.am, testsuite/misc-ming.all/Makefile.am,
12356 testsuite/server/Makefile.am: update dejagnu rule to use
12357 check_PROGRAMS rather then noinst_PROGRAMS.
12358 * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c:
12359 add border to the textfield (to test for bug# 17992).
12360 * testsuite/libbase/Makefile.am, testsuite/misc-ming.all/Makefile.am,
12361 testsuite/server/Makefile.am: only build tests on 'make check'
12363 2006-10-13 Markus Gothe <nietzsche@lysator.liu.se>
12365 * autogen.sh: avoid using the '-path' primary to find(1) as it's an
12366 extension to posix.2 and is not supported on some operating systems
12367 such as Solaris and IRIX.
12368 * configure.ac: Die on --enable-strict && --enable-renderer=agg.
12370 2006-10-13 Sandro Santilli <strk@keybit.net>
12372 * gui/gui.h, gui/fbsup.h, gui/fb.cpp: changed set_invalidated_region
12373 to take rect by const reference (a const value didn't make sense)
12374 * gui/gtk.cpp: redraw buffer on expose events.
12375 * backend/render_handler.h (draw_poly): documented the fact
12376 that the polygon's corner need not be closed (am I right?)
12377 * macros/atk.m4: fixed missing -I switches in include, cleaned
12379 * backend/render_handler.h, backend/render_handler_tri.h:
12380 added links new pages, cleaned up doxygen comments.
12381 * doc/Doxyfile.in: exclude mozilla-sdk and win32 paths from
12384 2006-10-13 Udo Giacomozzi <udo.gnu@nova-sys.net>
12386 * backend/render_handler.h: Added documentation
12387 * backend/render_handler.h, backend/render_handler_agg.cpp,
12388 backend/render_handler_tri.h: code cleanup
12389 * backend/render_handler.h, backend/render_handler_agg.cpp, fb.cpp:
12390 split AGG buffer initialization from constructor
12392 2006-10-13 Markus Gothe <nietzsche@lysator.liu.se>
12394 * macros/png.m4: Added pkg-config support.
12396 2006-10-12 Udo Giacomozzi <udo.gnu@nova-sys.net>
12398 * render_handler_agg.cpp, gui/fb.cpp: Implemented clipping for
12401 2006-10-12 Rob Savoye <rob@bertha.welcomehome.org>
12403 * testsuite/libbase/Makefile.am: Redefine the check-DEJAGNU target
12404 to execute the testcase directly if DejaGnu isn't installed.
12405 * testsuite/libbase/libbase.exp: New test driver for libbase test
12407 * testsuite/server/Makefile.am: Redefine the check-DEJAGNU target
12408 to execute the testcase directly if DejaGnu isn't installed.
12409 * testsuite/server/server.exp: New test driver for server tests.
12410 * testsuite/misc-ming/Makefile.am: Redefine the check-DEJAGNU target
12411 to execute the testcase directly if DejaGnu isn't installed.
12412 * testsuite/misc-ming/ming.exp: New test driver for Ming tests.
12415 2006-10-10 Rob Savoye <rob@bertha.welcomehome.org>
12417 * gui/images/gnash_G_v3.ico: Updatedb "Gnashing 'G'" square
12419 * gui/gtk.cpp: Use updated icon image used when minimized.
12421 2006-10-13 Sandro Santilli <strk@keybit.net>
12423 * server/character.h: clarified semantic of get_width() and
12425 * server/generic_character.h: fixed get_width() and get_height()
12426 to return "local untransformed" size.
12427 * server/sprite_instance.cpp (get_member): fixed M_WIDTH and
12428 M_HEIGHT members fetch using a plain call to get_width() and
12429 get_height() [ only additionally adding twips_to_pixel transform]
12430 * gui/gui.cpp: added IF_DEBUG_REGION_UPDATES and
12431 ENABLE_REGION_UPDATES_DEBUGGIN macros, for future
12432 compiletime + runtime conditional support.
12433 * gui/gui.{cpp,h}: advance_movie reverted to a static, to make
12434 current gtk gui work fine (there's no point of being non-static
12435 *and* take a 'this' argument).
12436 * macros/ogg.m4: added missing -I, -L and -l (!);
12437 quoted 'test' args.
12439 2006-10-12 Markus Gothe <nietzsche@lysator.liu.se>
12441 * gui/sdl.cpp: fixed includes for getopt() and basename().
12442 include tu_opengl_includes.h
12443 * macros/agg.m4: Added pkg-config support :D.
12445 2006-10-12 Udo Giacomozzi <udo.gnu@nova-sys.net>
12447 * gui/fb.cpp, gui/fbsup.h, gui/gui.cpp, gui/gui.h,
12448 server/button_character_instance.cpp, server/button_character_instance.h,
12449 server/character.c, server/character.h, server/dlist.cpp,
12450 server/dlist.h, server/edit_text_character.cpp,
12451 server/edit_text_character.h, server/generic_character.h,
12452 server/gnash.h, server/movie_interface.h, server/movie_root.cpp,
12453 server/movie_root.h, server/sprite_instance.cpp,
12454 server/sprite_instance.h, gnash/server/types.cpp,
12455 server/parser/button_character_def.h, erver/parser/character_def.h,
12456 server/parser/edit_text_character_def.h, server/parser/movie_def_impl.h,
12457 server/parser/sprite_definition.h, server/parser/text_character_def.h:
12458 Enhanced "rect" class and implemented a method to detect updated regions
12462 2006-10-12 Sandro Santilli <strk@keybit.net>
12464 * configure.ac: don't check for GLEXT unless gtk/opengl combination
12466 * macros/atk.m4: added missing switches in lib detection;
12467 always look for atk version and topdir as those might eventually
12468 be needed by subsequent library seeking; removed bogus if/else/fi
12469 blocks; added some # }{ labels to help debugging.
12470 * server/gnash.h: document enclose_transformed_rect() function.
12472 2006-10-12 Markus Gothe <nietzsche@lysator.liu.se>
12474 * libbase/postscript.cpp, libbase/triangulate_impl.h, libbase/tu_math.h
12475 libbase/utility.h, libgeometry/collision.cpp, libgeometry/cull.cpp,
12476 libgeometry/geometry.cpp, libgeometry/kd_tree_dynamic.cpp,
12477 libgeometry/kd_tree_packed.cpp: Removed special-SGI std-declareation.
12478 std::math_function in-code instead.
12479 * server/asobj/Math.cpp, libbase/tu_math.h: Fix for !__GNUC__.
12481 2006-10-12 Sandro Santilli <strk@keybit.net>
12483 * server/dlist.{h,cpp}: dump() inpsector correctly made const.
12485 2006-10-12 Patrice Dumas <pertusus@free.fr>
12487 * testsuite/Makefile.am: only build libgnashtestsuite.la
12490 2006-10-12 Sandro Santilli <strk@keybit.net>
12492 * testsuite/misc-ming.all/Makefile.am: made .swf testfiles
12493 dependencies for the corresponding runners.
12494 * testsuite/misc-ming.all/Makefile.am,
12495 testsuite/misc-ming.all/PlaceObject2Test.c,
12496 testsuite/misc-ming.all/ming_utils.c,
12497 testsuite/misc-ming.all/ming_utils.h:
12498 moved ming utility function from test file to ming_utils.
12500 2006-10-12 Markus Gothe <nietzsche@lysator.liu.se>
12502 * configure.ac: Check if strlcpy and strlcat already is defined.
12503 Fixes problems with redefinition on systems where they exists.
12505 2006-10-12 Sandro Santilli <strk@keybit.net>
12507 * backend/render_handler_agg.cpp: added missing config.h include,
12508 fixed mispelled HAVE_AGG_SCANLINES_COMPOUND_LAYERED
12509 * gui/fbsup.h, gui/fb.cpp: moved class documentation from
12510 implementation to header file, for better doxygen consumption.
12512 2006-10-12 Patrice Dumas <pertusus@free.fr>
12514 * configure.ac: check for KDE stuff if klash build is
12517 2006-10-12 Sandro Santilli <strk@keybit.net>
12519 * gui/Makefile.am, libbase/Makefile.am,
12520 testsuite/libbase/Makefile.am, utilities/Makefile.am:
12521 removed BOOST_LIBS as we're not using them anymore.
12522 * macros/curl.m4: define USE_CURL if curl libs are found
12523 * server/StreamProvider.cpp: rely on USE_CURL from config.h
12524 so we're sure we won't end up with undefined references.
12525 * plugin/plugin.cpp: raise maxargc to 16, split -r3
12526 into two arguments (-r) and (3).
12528 2006-10-11 Markus Gothe <nietzsche@lysator.liu.se>
12530 * configure.ac: Check for __FUNCTION__, __PRETTY__FUNCTION and
12532 * libbase/tu_types.h, plugin.h: Redefine __FUNCTION__.
12534 2006-10-11 Sandro Santilli <strk@keybit.net>
12536 * testsuite/Makefile.am: descend in actionscript.all last
12537 (quick hack to avoid premature failure of check run)
12538 * testsuite/libbase/Makefile.am: use $(top_builddir) to find
12539 .la files, don't use -I for libs!
12541 2006-10-11 Sandro Santilli <strk@keybit.net>
12543 * testsuite/misc-ming.all/Makefile.am: added the new files,
12544 fixed yet another $(top_srcdir) misuse.
12545 * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c,
12546 testsuite/misc-ming.all/ming_utils.c,
12547 testsuite/misc-ming.all/ming_utils.h:
12548 extracted useful Ming functions from a single test, for reuse.
12550 2006-10-11 Sandro Santilli <strk@keybit.net>
12552 * backend/render_handler_agg.cpp: fixed typo in compatibility
12554 * configure.ac, Makefile.am, macros/agg.m4: report need for
12555 AGG compatibility layer.
12557 2006-10-11 Sandro Santilli <strk@keybit.net>
12559 * macros/gtkglext.m4: added missing -L to GLEXT_LIBS when
12560 --with-glext-lib is given.
12561 * backend/render_handler_agg.cpp:
12562 use HAVE_AGG_SCANLINES_COMPOUND_LAYERED define to toggle inclusion
12563 of compatibility header.
12564 * macros/agg.m4: check availability of the
12565 render_scanlines_coumpound_layered function and set
12566 HAVE_AGG_SCANLINES_COMPOUND_LAYERED accordingly.
12567 * configure.ac: exit with error on invalid gui/renderer selection
12570 2006-10-11 Markus Gothe <nietzsche@lysator.liu.se>
12572 * backend/Makefile.am, testsuite/Makefile.am, gui/Makefile.am,
12573 libamf/Makefile.am, libgeometry/Makefile.am, plugin/Makefile.am,
12574 plugin/klash/Makefile.am, server/Makefile.am, utilities/Makefile.am,
12575 server/asobj/Makefile.am, server/parser/Makefile.am:
12576 Added $(top_builddir).
12578 2006-10-11 Sandro Santilli <strk@keybit.net>
12580 * server/asobj/Global.cpp (as_global_parseint): fixed invalid
12583 2006-10-11 Sandro Santilli <strk@keybit.net>
12585 * testsuite/misc-ming.all/DefineEditTextVariableNameTest-Runner.cpp,
12586 testsuite/misc-ming.all/Makefile.am: first movie tester.
12587 * testsuite/Makefile.am, testsuite/MovieTester.cpp,
12588 testsuite/MovieTester.h: initial implementation of
12589 a movie tester class.
12591 2006-10-11 Sandro Santilli <strk@keybit.net>
12593 * server/sprite_instance.h: added getDisplayList() method usefull
12595 * server/edit_text_character.{cpp,h}: implemented get_width() and
12597 * server/character.h: added comment to get_width() and get_height()
12598 virtual function (return in TWIPS). added a warning log when
12599 a subclass did not override these.
12600 * macros/gtk2.m4: fix handling of --with-gtk2-libs (and commented-out
12601 the caching call due to ignorance about it :)
12602 * configure.ac: print GTK, PANGO and GLIB and ATK variables if gtk
12603 gui is requested (even if not with opengl renderer)
12604 * configure.ac, testsuite/Makefile.am, testsuite/server/Makefile.am,
12605 testsuite/server/MatrixTest.cpp: added initial unit test for
12607 * server/matrix.{cpp,h}: added equality and output operators.
12608 * server/Makefile.am, server/gnash.h, server/matrix.cpp,
12609 server/matrix.h, server/movie.h, server/types.cpp:
12610 moved matrix class in its own files and added/fixed
12613 2006-10-11 Markus Gothe <nietzsche@lysator.liu.se>
12615 * macros/agg.m4: Added /usr/pkg/include.
12616 * testsuite/server/Makefile.am: Fixed bug.
12617 * libbase/log.cpp: Fixed lightweight locking.
12619 2006-10-10 Sandro Santilli <strk@keybit.net>
12621 * server/character.h, server/generic_character.h,
12622 server/sprite_instance.cpp, server/sprite_instance.h,
12623 server/parser/character_def.h, server/parser/shape_character_def.cpp,
12624 server/parser/shape_character_def.h:
12625 const-corrected get_height(), get_height_local(), get_width() and
12628 2006-10-10 Sandro Santilli <strk@keybit.net>
12630 * testsuite/check.h: added check() macro
12631 * testsuite/misc-ming.all/DefineEditTextVariableNameText.c:
12632 added traces of some _width and _height proprieties.
12633 * server/dlist.h: added const version of get_character_by_name
12634 and size() methods.
12636 2006-10-10 Markus Gothe <nietzsche@lysator.liu.se>
12638 * macros/sdl.m4: Removed AC_DEFUN([GNASH_PATH_SDL_MIXER]. Added
12639 AC_MSG_RESULT(VERSION).
12640 * macros/zlib.m4: Added AC_MSG_RESULT.
12641 * macros/atk.m4: Added AC_MSG_RESULT. Fixed detection
12642 (I love pkg-config).
12643 * macros/sdl.m4: Added pkg-config-support.
12644 * macros/ogg.m4: Pkg-config tweaks.
12645 * macros/boost.m4: AM_CONDITIONAL should be set IFF headers are found.
12646 Added /usr/pkg/include to paths.
12647 * macros/curl.m4: Added id-tag.
12648 * macros/glibmm.m4, macros/libXML++.m4: Removed!
12649 * macros/glib.m4: Extended pkg-config support.
12650 * macros/gtk2.m4: Extended pkg-config support.
12651 * macros/cairo.m4: Extended pkg-config support.
12652 * macros/gtkglext.m4: Extended pkg-config support.
12653 * configure.ac: #define HAVE_STRINGCASECMP 1, Fixed BOOST.
12655 2006-10-10 Sandro Santilli <strk@keybit.net>
12657 * testsuite/Makefile.am, testsuite/check.h,
12658 testsuite/libbase/URLTest.cpp, testsuite/libbase/Makefile.am:
12659 Moved dejagnu utility macros into a separate header file
12660 (check.h) and updated URLTest so to use that.
12662 2006-10-10 Sandro Santilli <strk@keybit.net>
12664 * server/parser/edit_text_character_def.h: specified coordinate space
12665 for get_width and get_height return values.
12666 * backend/render_handler.h: doxygen comments cleanup (ensure briefs)
12667 * server/text.cpp: added some debugging labels, you can enable
12668 them defining GNASH_DEBUG_TEXT_RENDERING (just a placeholder
12669 as we'll eventually need to fix the text antialiasing problem)
12671 2006-10-10 Udo Giacomozzi <udo.gnu@nova-sys.net>
12673 * backend/render_handler_agg.cpp: Added asserts for parameters and
12674 fixed draw_poly() which was always filling the polygon.
12676 2006-10-10 Sandro Santilli <strk@keybit.net>
12678 * configure.ac: fix USE_FFMPEG and USE_MAD defines.
12679 * gui/Makefile.am: refer to the ico file in CVS...
12680 * macros/agg.m4: added missing result of headers check; add a
12681 a check for need of a compatibility layer (testing)
12682 * macros/ffmpeg.m4: use libdts and libavutil if found. don't look
12683 for any of them if pkg-config could find out by himself.
12684 * configure.ac: added --with-mp3-decoder, only check for mp3 decoder
12686 * backend/Makefile.am: HAVE_FFMPEG => USE_FFMPEG_ENGINE,
12687 HAVE_MAD => USE_MAD_ENGINE
12688 * doc/C/sources.xml: documented --with-mp3-decoder (replaces the
12689 missing --enable-engine)
12691 2006-10-09 Sandro Santilli <strk@keybit.net>
12693 * gui/gtk.cpp, gui/gtksup.h: fixed run() method to honour
12694 gui.h interface (removed argument, unused anyway)
12696 2006-10-09 Rob Savoye <rob@bertha.welcomehome.org>
12698 * doc/C/internals.xml: Add libgui mention.
12699 * doc/C/sources.xml: Add info about agg, ffmpeg, and boost
12700 dependancies and configure options.
12701 * doc/C/gnash.xml: Update out of date version number.
12703 * plugin/plugin.cpp: Pass -r 3 to the player so we have sound when
12705 * utilities/Makefile.am: Optionally add the sound engine flags to
12707 * gui/Makefile.am: Optionally add the sound engine flags to the
12709 * macros/ffmpeg.m4: Rewrite to support new --enable-engine
12710 option. Look for libavcodec, libavutil, and libdts seperately,
12711 they aren't necessarily in the same package
12712 * macros/mad.m4: Remove --enable-mad option, use
12713 --enable-engine=mad now instead. Don't define USE_MAD here.
12714 * configure.ac: Add --enable-engine to select the decoding engine
12715 to use for sound support. use sound_engine in addition to
12718 * macros/zlib.m4: Update test to use AC_CHECK_HEADER and
12719 AC_CHECK_LIB correctly. For bug #17954.
12721 2006-10-09 Rob Savoye <rob@bertha.welcomehome.org>
12723 * macros/agg.m4, boost.m4, cairo.m4, curl.m, ffmpeg.m4,
12724 gstreamer.m4, gtkglext.m4, libXML.m4, mad.m4,
12725 pango.m4, png.m4, sdl.m4, zlib.m4: Add /opt/local/include to all
12726 include paths, and /opt/local/lib for opendarwin.
12727 * macros/atk.m4, gtk2.m4, ogg.m4: Add /opt/local/include to all
12728 include paths, and /opt/local/lib for opendarwin. Use pkg-config
12731 2006-10-09 Sandro Santilli <strk@keybit.net>
12733 * backend/render_handler_agg_compat.h: added compatibility
12734 header for agg package found in debian testing.
12735 * gui/fb.cpp: implemented correct timing
12737 2006-10-09 Udo Giacomozzi <udo.gnu@nova-sys.net>
12739 * backend/render_handler_agg.h, gui/fb.cpp: Added header file
12740 for create_render_handler()
12742 2006-10-09 Bastiaan Jacques <bastiaan@bjacques.org>
12744 * gui: Some more cleanup. Work KdeGui in a usable state.
12746 2006-10-09 Sandro Santilli <strk@keybit.net>
12748 * gui/fb.cpp, gui/fbsup.h: fixed createWindow() function to reflect
12749 new Gui interface. Removed unused parameters warnings.
12750 * macros/gstreamer.m4: fix invocation of pkg-config (use it IFF
12751 PKG_CONFIG is set, not if it is NOT set :/)
12752 * gui/gui.h: forced generation of brief description for doxygen.
12753 * backend/sound_handler_sdl.h: removed unused <ffmpeg/avformat.h>
12755 * configure.ac: add some package names for required ffmpeg libs.
12756 (names for yum are missing).
12758 2006-10-09 Bastiaan Jacques <bastiaan@bjacques.org>
12760 * gui: First attempt at a cleanup of Gui and friends; document
12761 class Gui. Adjust related classes to match the changes to Gui.
12762 * gui/sdl.cpp: Fix the flipped OpenGL rendering bug.
12764 2006-10-09 Sandro Santilli <strk@keybit.net>
12766 * macros/ffmpeg.m4: check for libdts too (required); always run
12767 the standard AC_CHECK_LIB.
12768 * macros/ffmpeg.m4: don't force linking of libavutil, don't trash
12769 results of a previous detection.
12770 * configure.ac: don't check for gstreamer unless gst sound
12773 2006-10-09 Markus Gothe <nietzsche@lysator.liu.se>
12775 * macros/ogg.m4, macros/ffmpeg.m4: Removed $pkg.
12777 2006-10-09 Sandro Santilli <strk@keybit.net>
12779 * backend_render_handler_agg.cpp: commented out unused
12780 get_cache_of() method (relies on uncommitted changes to
12781 character class); fixed draw_shape_character_old to allow
12783 * backend/render_handler_agg.cpp (line_style_width):
12784 log unimplemented (current code assigned to undefined variable).
12785 * configure.ac: don't complain about GtkGLExt unless GTK/opengl
12786 setup is requested.
12787 * configure.ac: use better warning messages about SDL sound handling
12788 and ffmpeg/mad choices.
12789 * configure.ac: fixed refs to the obsoleted --enable-mp3 switch
12791 * configure.ac: GLIB is needed also for GST sound, not only
12792 for GTK gui (anything else?)
12793 * macros/ogg.m4: use PKG_CONFIG *after* having manually looked.
12794 this prevents the checks for actual existance of the lib from
12795 confusing an LDFLAG with a path, resulting in an error (LDFLAGS
12797 * backend/render_handler.h, backend/render_handler_agg.cpp,
12798 backend/render_handler_tri.cpp, backend/render_handler_tri.h:
12799 Changed corner_count argument of draw_poly() method to an
12800 unsigned type (fixes some compiler warnings, and seems more
12803 2006-10-08 Markus Gothe <nietzsche@lysator.liu.se>
12805 * server/parser/shape_character_def.cpp: removed unused include.
12806 * server/parser/shape_character_def.h: Added ID-tag. removed unused
12808 * backend/render_handler_tri.cpp: added id-tag. static_cast from float
12809 to short int. Mem-fixes + Scoping.
12810 * backend/render_handler_agg.cpp: added id-tag, static_cast to int16*.
12811 * backend/render_handler_tri.h: added id-tag.
12812 * backend/render_handler.h: added virtual desctror and id-tag.
12813 * server/asobj/string.cpp, server/fontlib.cpp: static_cast<int>().
12814 * server/edit_text_character.cpp: static_cast<uint16_t>().
12815 * libbase/image_filters.cpp: static_cast<int>() + C++-mem-handling.
12817 2006-10-07 Bastiaan Jacques <bastiaan@bjacques.org>
12819 * backend/sound_handler_sdl{.cpp, .h}: Code cleanup: move declarations
12820 into a seperate header file.
12822 2006-10-07 Sandro Santilli <strk@keybit.net>
12824 * backend/render_handler_tri.{h,cpp}: moved initialization
12825 of static const float from header to implementation (required
12826 by ISO C++ for non-integral types).
12828 2006-10-07 Udo Giacomozzi <udo.gnash@nova-sys.net>
12830 * server/render.h, server/shape.h, server/styles.h,
12831 server/parser/character_def.h, backend/render_handler.h,
12832 server/edit_text_character.cpp, server/render.cpp,
12833 server/shape.cpp, server/styles.cpp, server/text.cpp,
12834 server/parser/morph2_character_def.cpp,
12835 server/shape_character_def.cpp:
12836 Changed to support new renderer design
12838 2006-10-07 Tomas Groth Christensen <tomasgroth@yahoo.dk>
12840 * Makefile.am, configure.ac, backend/Makefile.am,
12841 backend/sound_handler_gst.cpp, backend/sound_handler_sdl.cpp,
12842 macros/ffmpeg.m4, macros/mad.m4, plugin/Makefile.am,
12843 server/gnash.h, server/swf/tag_loaders.cpp,
12844 utilities/Makefile.am: Commited the new soundbackend, based
12845 on SDL and optionally ffmpeg or libmad. Also changed the
12846 buildsystem to reflect the change.
12848 2006-10-07 Bastiaan Jacques <bastiaan@bjacques.org>
12850 * configure.ac: Replace --enable-lotsa-warnings with --enable-strict,
12851 because strict is a more descriptive name for what lotsa-warnings
12854 2006-10-07 Markus Gothe <nietzsche@lysator.liu.se>
12856 * configure.ac: Fixed typo. '!=' -> '='.
12857 * macros/ffmpeg.m4, macros/gstreamer.m4: check if pkg --exists.
12858 * macros/sdl.m4: Fixed finding libpath.
12859 * macros/atk.m4: Typo.
12860 * plugin/plugin.h: Define __FUNCTION__ and __PRETTY_FUNCTION__ if not.
12861 * configure.ac: Check and set #SIZEOF_SIZE_T.
12862 * backend/Makefile.am: Include XML_{CFLAGS,LIBS} for GST.
12864 2006-10-07 Tomas Groth Christensen <tomasgroth@yahoo.dk>
12866 * configure.ac: Fixed typo, so that we check for OpenGL when
12867 it is the selected renderer.
12868 * backend/Makefile.am: Fixed type, so that the OpenGL libs
12871 2006-10-06 Rob Savoye <rob@bertha.welcomehome.org>
12873 * configure.ac: Make config tests for gui or rendered enabled or
12874 disabled based on the selected ones. Define all conditional
12875 variables here, since the tests may not get executed now. This
12876 makes configuring faster.
12877 * backend/Makefile.am: Add AGG support.
12878 * gui/Makefile.am: Add AGG support.
12879 * gui/README: Add Framebuffer and AGG notes.
12880 * macros/cairo.m4, ffmpeg.m4:, gtkglext.m4, kde.m4, opengl.m4:
12881 Don't define conditional variables here.
12883 2006-10-06 Sandro Santilli <strk@keybit.net>
12885 * server/render.cpp: don't abort when parsing w/out any
12886 renderer registered (the NullGui will rely on this)
12887 * gui/sdl.cpp (run): use _xsize, _ysize when notifying mouse move.
12888 * gui/gtk.cpp (motion_notify_event): take xscale/yscale
12889 into account, (configure_event): invoke Gui::resize_view
12891 * gui/gui.{h,cpp}: split _scale into x/y components,
12892 resize_view method made non-static so it can update
12893 _xscale and _yscale.
12895 2006-10-06 Markus Gothe <nietzsche@lysator.liu.se>
12897 * server/ref_counted, libbase/ref_counted.h: Moved file.
12898 * server/Makefile.am: Removed ref_counted.h.
12899 * server/impl.cpp, server/ref_counted.h: Moved code to ref_counted.h
12901 2006-10-06 Bastiaan Jacques <bastiaan@bjacques.org>
12903 * gui/Makefile.am: Automake directives may not be indented, so remove
12906 2006-10-06 Sandro Santilli <strk@keybit.net>
12908 * libbase/log.cpp: remove useless xml includes
12909 * gui/Makefile.am: don't link against unecessary libs
12910 * backend/Makefile.am: don't link against unecessary libs
12912 2006-10-06 Hannes Mayr <hannes.mayr@indunet.it>
12914 * macros/jpeg.m4: fixed typo.
12916 2006-10-05 Patrice Dumas <pertusus@free.fr>
12918 * testsuite/misc-ming.all/Makefile.am: Change clean to clean-local.
12919 * packaging/redhat/gnash.spec: Add new buildrequires in specfile
12920 and use gstreamer sound backend.
12921 * libbase/Makefile.am: Remove reference to smart_ptr.hpp
12923 2006-10-05 Rob Savoye <rob@bertha.welcomehome.org>
12925 * configure.ac: Add --enable-write option to optionally write the
12926 Flash movie to disk when using the plugin.
12927 * plugin/plugin.h, plugin.cpp: Optionally write the streaming
12928 Flash movie to disk.
12929 * macros/boost/m4: Look for the Boost thread library using a
12931 * macros/boost.m4: Also look for libboost_thread-mt if
12932 libboost_thread doesn't exist.
12934 2006-10-05 Sandro Santilli <strk@keybit.net>
12936 * server/as_object.cpp (setPropFlags): added support for
12937 property arg being a comma-separated list string, minor
12938 cleanups to reduce memory copies.
12940 2006-10-05 Markus Gothe <nietzsche@lysator.liu.se>
12942 * libbase/log.cpp: Added #define BOOST_HAS_THREADS.
12943 * libbase/smart_ptr.hpp: Removed.
12945 2006-10-05 Sandro Santilli <strk@keybit.net>
12947 * server/swf/ASHandlers.cpp: handle print requests (with an
12948 "unimplemented" message, but better then nothing)
12949 * testsuite/actionscript.all/swf_exists.exp: build and run
12950 each test with SWF target versions 5 to 7.
12952 2006-10-05 Sandro Santilli <strk@keybit.net>
12954 * testsuite/actionscript.all/swf_exists.exp: allow inclusion
12955 of non-text chars in messages (needed to also print line
12958 2006-10-05 Sandro Santilli <strk@keybit.net>
12960 * testsuite/actionscript.all/swf_exists.exp: add test filename
12963 2006-10-05 Sandro Santilli <strk@keybit.net>
12965 * testsuite/actionscript.all/swf_exists.exp: make compatible
12966 with expect/tcl found in debian stable.
12967 * gui/gnash.cpp: fixed typo in usage string (-k for height)
12969 2006-10-04 Sandro Santilli <strk@keybit.net>
12971 * server/swf/ASHandlers.cpp: cleanly handle recursion (with
12972 loops check) in enumerate actions.
12973 * server/asobj/Global.cpp (as_global_object_ctor): fix
12974 copy constructor of the Object class.
12975 * testsuite/actionscript.all/Object.as: added copy-reference
12977 * server/as_object.cpp (set_member_default): minor cleanups.
12978 * testsuite/libbase/Makefile.am: added required boost lib
12979 (couldn't find a way to have the dependency derived from
12981 * libbase/Makefile.am: added required boost libs
12982 * testsuite/actionscript.all/Object.as: add enumeration test.
12984 2006-10-04 Sandro Santilli <strk@keybit.net>
12986 * server/asobj/Global.cpp (as_global_assetpropflags):
12987 delegate work to as_object::setPropFlags().
12988 * server/as_object.{cpp,h}: add setPropFlags() method.
12989 * server/xml.h (get_member): invoke get_member_default() when
12990 the requested member is not a builtin.
12991 * testsuite/actionscript.all/Object.as: add test for
12992 getter/setter (addProperty)
12994 2006-10-03 Sandro Santilli <strk@keybit.net>
12996 * gui/NullGui.h: changed constructor to take do_loop arg.
12997 * gui/Player.cpp: propagate the do_loop setting to the NullGui
12998 (gnash -r0 -1 works now)
13000 2006-10-03 Sandro Santilli <strk@keybit.net>
13002 * server/asobj/Global.cpp (as_global_assetpropflags):
13003 removed complain about ASSetProfFlag not implemented
13004 for a NULL property argument (seems actually implemented)
13005 * server/swf/ASHandlers.cpp (ActionEnumerate): log 'testing'
13006 rather then 'unimplemented' (seems actually working).
13008 2006-10-03 Patrice Dumas <pertusus@free.fr>
13010 * testsuite/actionscript.all/Makefile.am,
13011 testsuite/libbase/Makefile.am:
13012 - distribute XMLNode.as, *.as files included in other *.as files,
13013 *.swf used in checks, but not generated from .as.
13014 - use CLEANFILES and clean-local: instead of a rewritten
13017 2006-10-03 Rob Savoye <rob@bertha.welcomehome.org>
13019 * plugin/plugin.cpp: Use cout instead of dbglogfile to reduce
13021 * plugin/Makefile.am: Don't link in log.cpp directly.
13022 * plugin/plugin.cpp: Use cout instead of Gnash debugging library
13023 since Firefox doesn't print to stdout anyway unless you build from
13024 source. This removes all dependancies on Gnash libraries.
13025 * macros/boost.m4: Look for mutex.hpp instead of weak_ptr.hpp.
13026 * configure.ac: Print the packages to install to add Boost
13029 * gui/Makefile.am: Add BOOST_CFLAGS and BOOST_LIBS.
13030 * libbase/Makefile.am: Add BOOST_CFLAGS and BOOST_LIBS.
13031 * utilities/Makefile.am: Add BOOST_CFLAGS and BOOST_LIBS.
13032 * libbase/log.cpp: Use Boost::mutex to make debug logging support
13035 2006-10-03 Sandro Santilli <strk@keybit.net>
13037 * gui/gnash.cpp (usage): document -j and -k switches.
13038 * backend/render_handler_cairo.cpp: removed compiler warnings.
13040 2006-10-03 Patrice Dumas <pertusus@free.fr>
13042 * gui/Makefile.am: add gtk_glue.h to GTK_SRCS, comment
13043 out missing kde_glue_cairo files.
13045 2006-10-03 Sandro Santilli <strk@keybit.net>
13047 * testsuite/actionscript.all/Makefile.am: fixed clean rule,
13048 avoid to build .swf movies by a simple 'make' call.
13050 2006-10-03 Patrice Dumas <pertusus@free.fr>
13052 * Makefile.am, libbase/Makefile.am, testsuite/libbase/Makefile.am,
13053 testsuite/misc-ming.all/Makefile.am:
13054 simplify check handling by putting testsuite in SUBDIRS and mark;
13055 check programs as check_ instead of noinst_; add smart_ptr.hpp to
13058 2006-10-03 Sandro Santilli <strk@keybit.net>
13060 * testsuite/libbase/NoSeekFileTest.cpp: fixed test, added test
13061 for named cache file.
13062 * testsuite/libbase/Makefile.am: improved clean rule.
13063 * libbase/noseek_fd_adapter.cpp: fixed named-cache operation
13064 (cache file was not opened for read)
13066 2006-10-03 Patrice Dumas <pertusus@free.fr>
13068 * macros/ffmpeg.m4: Fixed failure.
13070 2006-10-03 Sandro Santilli <strk@keybit.net>
13072 * libbase/noseek_fd_adapter.{cpp,h}: accept const char* as
13074 * server/parser/movie_def_impl.{cpp,h}: wiped out SDL threads stuff.
13076 2006-10-03 Sandro Santilli <strk@keybit.net>
13078 * server/parser/movie_def_impl.cpp (create_instance):
13079 ensure frame0 has been loaded before attempting to
13080 execute the actions therein.
13081 * server/parser/movie_def_impl.h: documented weird
13082 side-effect of creating an instance of a movie_def_impl
13083 (execution of actions in first frame)
13085 2006-10-03 Markus Gothe <nietzsche@lysator.liu.se>
13087 * server/parser/movie_def_impl.cpp: remove ensure_frame_loaded inlining.
13088 * server/xml.cpp, server/xmlsocket.{cpp,h},
13089 server/impl.cpp, server/timers.h, server/spriteinstance.cpp,
13090 server/asobj/MovieClipLoader.cpp, utilities/processor.cpp:
13091 tu_string -> std::string.
13093 2006-10-03 Sandro Santilli <strk@keybit.net>
13095 * server/sprite_instance.cpp: removed unused blocks of code.
13097 2006-10-02 Sandro Santilli <strk@keybit.net>
13099 * gui/Player.cpp (run): set base url before parsing.
13100 * server/swf/tag_loaders.cpp (import_loader):
13101 resolve relative urls against base url
13102 * server/ActionExec.cpp: more SIZET_FMT usage.
13103 * server/samples => testsuite/samples:
13104 moved sample movies under testsuite.
13106 2006-10-02 Rob Savoye <rob@bertha.welcomehome.org>
13108 * configure.ac: Look for ffmpeg paths. Add --enable-sound=ffmpeg
13109 or --enable-sound=mad.
13110 * macros/ffmpeg.m4: Look for ffmpeg paths.
13111 * Makefile.am: Print ffmpeg paths for dumpconfig target.
13113 2006-10-02 Bastiaan Jacques <bastiaan@bjacques.org>
13115 * libamf/amf.h: Prevent character type overflow warnings by using int
13117 * libbase/log.h: Implement macro SIZET_FMT, to be used in printf-like
13118 functions in which a size_t modifier is desired. This prevents
13120 * all over the place: Utilise SIZET_FMT to clear up compiler warnings.
13122 2006-10-02 Sandro Santilli <strk@keybit.net>
13124 * server/fontlib.cpp: minor cleanups.
13125 * server/parser/movie_def_impl.cpp: set startup_frames to 0
13127 * gui/Player.cpp, gui/Player.h: make sure the sound_handler
13128 is not destroyed before use, initialize sound handling and
13129 gui when run() is invoked, not a construction time.
13131 2006-10-02 Bastiaan Jacques <bastiaan@bjacques.org>
13133 * plugin/plugin{.cpp, .h}: Pipe the SWF file to Gnash's standard
13136 2006-10-02 Markus Gothe <nietzsche@lysator.liu.se>
13138 * server/movie_interface.h, server/button_character_instance.h:
13140 * server/gnash.h: Added include <string> for create_movie(tu_file*,
13142 * server/xml.cpp, server/xmlnode.cpp, server/xmlattrs.cpp,
13143 server/as_value.h, server/asobj/Global.cpp: Don't include
13146 2006-10-02 Sandro Santilli <strk@keybit.net>
13148 * gui/Player.cpp: don't use cache files (they are broken anyway,
13149 and with cache files disabled a bug is exposed that we must
13150 fix before 0.7.2 release - #17385)
13152 2006-10-02 Sandro Santilli <strk@keybit.net>
13154 * gui/Player.{cpp,h}: some functions split and cleanups.
13156 2006-10-02 Sandro Santilli <strk@keybit.net>
13158 * gui/Player.cpp (Player::run): read from stdin when infile == "-"
13159 * server/impl.cpp, server/gnash.h: exposed a create_movie(tu_file*,
13160 std::string&) function to let callers use arbitrary data sources
13163 2006-10-01 Bastiaan Jacques <bastiaan@bjacques.org>
13165 * testsuit/libbase/URLTest.cpp: Testcase for bug #17725.
13167 2006-10-01 Bastiaan Jacques <bastiaan@bjacques.org>
13169 * gui/gtk.cpp: Fix gtkgl assertion by making sure that the configure
13170 event isn't fired before the drawing area is OpenGL-initialised.
13172 2006-10-01 Sandro Santilli <strk@keybit.net>
13174 * server/builtin_function.h: doxygen dox.
13176 2006-09-30 Rob Savoye <rob@bertha.welcomehome.org>
13178 * macros/boost.m4: Look for Boost paths.
13179 * macros/agg.m4: Look for Antigrain paths.
13180 * configure.ac: Look for Antigrain and Boost headers and
13181 libraries. Add an "agg" option to --enable-renderer.
13182 * Makefile.am: Print AGG and Boost flags for the dumpconfig.
13184 006-09-30 Markus Gothe <nietzsche@lysator.liu.se>
13186 * libbase/noseek_fd_adapter.cpp: fixed typecasting.
13188 2006-09-30 Sandro Santilli <strk@keybit.net>
13190 * libbase/noseek_fd_adapter.{h,cpp}, libbase/Makefile.am:
13191 new tu_file adapter for nonseekable streams.
13192 * testsuite/libbase/NoSeekFileTest.cpp: test unit for the
13194 * testsuite/libbase/Makefile.am: enabled URLTest, NoSeekFileTest
13195 and RcTest runs at 'make check' time (assigned to TEST variable)
13197 2006-09-29 Markus Gothe <nietzsche@lysator.liu.se>
13199 * configure.ac, libbase/container.h: fixed HAVE_STRCASECMP collision.
13200 * libbase/container.h: Fixed non-void function not returning warning.
13201 * server/xml.cpp: Fixed unused bool's ret = true;
13202 * libbase/curl_adapter.cpp: %u->%lu. Add static_typecast.
13204 2006-09-29 Sandro Santilli <strk@keybit.net>
13206 * gui/Player.cpp: handle failures in movie loading.
13207 * backend/render_handler_cairo.cpp: fixed unused parameter warnings.
13208 * gui/gtk_glue_cairo.cpp: fixed unused parameter warnings.
13209 * server/movie.h: fix set_display_callback signature (was changed
13210 when erroneously commented out unused parameter)
13211 * server/sprite_instance.h (attach_display_callback): removed
13212 cast of set_display_callback() first arg (see above item).
13213 * server/parser/movie_def_impl.cpp: cast to void* when printing
13214 args with format %p
13215 * server/xmlsocket.cpp: fixed unused variable warning.
13217 2006-09-29 Markus Gothe <nietzsche@lysator.liu.se>
13219 * libbase/triangulate_impl.h, server/ActionExec.cpp, server/fontlib.cpp
13220 server/shm.cpp, server/xmlnode.cpp, server/parser/action_buffer.cpp,
13221 server/swf/ASHandlers.cpp, utilities/processor.cpp: Added
13222 static_cast<unsigned long>() for %lu.
13223 * gui/Player.h, server/action.h, server/as_value.h, server/asobj/Key.h,
13224 server/movie_root.h, server/gnash.h, libbase/curl_adapter.h:
13226 * libbase/triangulate_impl.h: %zd -> %lu.
13227 * libamf/amf.h: comma at end of enumerator list.
13228 * server/parser/action_buffer.cpp, server/ActionExec.cpp,
13229 server/fontlib.cpp, server/swf/ASHandlers.cpp: %zd -> %lu.
13230 * utilities/parser.cpp, utilities/processor.cpp: Fixed definition of
13231 getopt() to compile with -pedantic in gcc.
13233 2006-09-28 Markus Gothe <nietzsche@lysator.liu.se>
13235 * libbase/smart_ptr.hpp: Added #define's to ensure it's not included
13236 more than one time.
13237 * plugin/plugin.cpp: Fixed warning on redefing MIN()/MAX(). Added
13239 * gui/gtk_glue_gtkglext.cpp, gui/sdl.cpp, gui/kde_glue_opengl.cpp:
13240 Removed unused "OVERSIZE". Added id-tags.
13242 2006-09-28 Sandro Santilli <strk@keybit.net>
13244 * libbase/curl_adapter.cpp: set curl user agent (gnash-VERSION).
13245 * gui/Player.cpp: stop calling get_movie_info, and be really
13246 streaming instead :)
13247 * gui/gtk.cpp: reintroduced ifdef hell in a struggle to
13248 have a renderer registered in Gui::init.
13249 * gui/sdl.cpp: fixed compiler warnings.
13250 * gui/gtk.cpp, gui/sdl.cpp: moved render handler creation
13251 from createWindow() to init().
13252 * gui/gui.h: added doxygen comment about init() function
13253 (the need to initialize the renderer)
13255 2006-09-28 Sandro Santilli <strk@keybit.net>
13257 * backend/render_handler_cairo.cpp, backend/render_handler_cairo.h:
13258 set up a renderer::cairo namespace, split renderer construction
13259 and window association (to be able to create a renderere before
13260 knowing width and height of the window)
13261 * server/gnash.h: commented out create_render_handler_cairo
13262 (see render_handler_cairo.h for new interface)
13263 * gui/gtk_glue_cairo.cpp : moved cairo window association code
13264 from createRenderHandler() to prepDrawingArea().
13265 * gui/gtk.cpp : moved glue.prepDrawingArea call *after* window
13267 * gui/sdl.cpp : updated call for cairo handler creation.
13269 2006-09-27 Markus Gothe <nietzsche@lysator.liu.se>
13271 * plugin/Makefile.am: set path to top-dir.
13272 * README: Clarifying that Mozilla has to be built with gtk2. Put an
13273 emphasis on not trying with gtk1.
13275 2006-09-27 Sandro Santilli <strk@keybit.net>
13277 * plugin/Makefile.am: don't link the plugin lib
13278 to any gnash library as it only calls it trough
13279 a system() call. Include libbase/log.cpp in sources
13282 2006-09-27 Sandro Santilli <strk@keybit.net>
13284 * doc/C/gnash.xml: updated -u and -U dox.
13285 * server/asobj/MovieClipLoader.cpp (moviecliploader_loadclip):
13286 resolve relative URLS against base url, not target movie url.
13288 2006-09-27 Sandro Santilli <strk@keybit.net>
13290 * server/impl.cpp, server/gnash.h: changed get_base_url() to
13291 return a "const" URL.
13292 * server/swf/ASHandlers.cpp (CommonGetUrl): use base url
13293 for relative urls resolution.
13295 2006-09-27 Sandro Santilli <strk@keybit.net>
13297 * plugin/plugin.cpp: use the new -U switch when invoking
13298 gnash (pass it the base url)
13300 2006-09-27 Sandro Santilli <strk@keybit.net>
13302 * server/gnash.h, server/impl.cpp: added set_base_url() and
13303 get_base_url() function.
13304 * gui/Player.{h,cpp}: added setBaseUrl method.
13305 * gui/gnash.cpp: added -U switch to set base url.
13307 2006-09-27 Sandro Santilli <strk@keybit.net>
13309 * plugin/plugin.cpp: cleanup and use of getCurrentPageURL()
13310 * plugin/mozilla-sdk/np_entry.cpp, plugin/mozilla-sdk/npn_gate.cpp:
13311 Added NPN_GetStringIdentifier, NPN_GetProperty and
13312 NPN_ReleaseObject interfaces (tested with firefox 1.0.4!)
13313 * gui/gui.cpp: added missing render_handler.h include, removed
13315 * gui/gui.h: removed gnash.h include, added forward declaration
13317 * plugin/plugin.cpp, plugin/plugin.h: added getCurrentPageURL
13318 method (still untested, but compiles fine).
13320 2006-09-27 Vitaly Alexeev <tishka92@yahoo.com>
13323 * libbase/getopt_win32.H,
13324 * libbase/getopt_win32.cpp:
13327 2006-09-27 Sandro Santilli <strk@keybit.net>
13329 * configure.ac: don't require gtkglext unless GTK/opengl
13330 combination is requested.
13332 2006-09-26 Markus Gothe <nietzsche@lysator.liu.se>
13334 * server/timers.cpp: Removed unused header. Added ID-tag.
13335 * server/asobj/Key.h: Removed unused header. Added ID-tag.
13337 2006-09-26 Sandro Santilli <strk@keybit.net>
13339 * backend/Makefile.am, backend/render_handler.h,
13340 backend/render_handler_cairo.cpp, backend/render_handler_ogl.cpp,
13341 server/Makefile.am, server/gnash.h, server/render.h,
13342 server/parser/Makefile.am:
13343 moved render_handler class definition in it's own file
13345 * server/asobj/MovieClip.cpp: removed useless includes.
13346 * backend/Makefile.am, backend/render_handler.h:
13347 moved render_handler class definitino in it's own header.
13349 2006-09-26 Sandro Santilli <strk@keybit.net>
13351 * backend/Makefile.am, backend/gnash.cpp, backend/gtksup.cpp,
13352 backend/gtksup.h: removed obsoleted files.
13353 * server/font.{cpp,h}: reduced headers inclusion.
13354 * backend/render_handler_cairo.cpp: make sure that
13355 the bitmap_info we receive are actually bitmap_info_cairo
13356 type (don't just assume it).
13357 * server/parser/bitmap_character_def.cpp,
13358 server/parser/bitmap_character_def.h: changed interface
13359 to construct bitmap_info at construction time, and to
13360 take image::rgb(a) by std::auto_ptr (fixes memory leaks).
13361 * server/swf/tag_loaders.cpp: updated calls to bitmap_character_def.
13362 * server/parser/movie_def_impl.h: doxygen comments update.
13363 * server/Makefile.am, server/bitmap_character_instance.cpp,
13364 server/bitmap_character_instance.h,
13365 server/parser/bitmap_character_def.cpp,
13366 server/parser/bitmap_character_def.h:
13367 Removed bitmap_character_instance (bitmap characters never
13368 get instantiated). Had bitmap_character directly derive
13369 from ref_counted (it is *not* internally used as a character_def
13370 becase it is stored in a separate container in movie_def_impl)
13372 2006-09-25 Sandro Santilli <strk@keybit.net>
13374 * gui/Player.cpp: make sure gui.createWindow()
13375 is called *before* actual parsing (quick solution
13376 to our renderer calls within the parser)
13377 * server/parser/.cvsignore: new file
13378 * server/render.cpp: abort when bitmap_info creation is
13379 requested but a renderer is not defined.
13380 * server/Makefile.am, server/parser/Makefile.am,
13381 server/bitmap_character_instance.cpp,
13382 server/bitmap_character_instance.h,
13383 server/parser/bitmap_character_def.cpp,
13384 server/parser/bitmap_character_def.h:
13385 Split bitmap_character into definition and instance;
13386 had bitmap_character_def initialized by image::rgb
13387 and image::rgba instead as with bitmap_info, made bitmap_info
13388 creation a lazy process inside get_bitmap_info (to be called
13389 only *after* parsing, when renderer is registered).
13390 * server/parser/movie_def_impl.cpp, server/parser/movie_def_impl.h,
13391 server/parser/movie_definition.h, server/parser/sprite_definition.h:
13392 Renamed movie_definition methods to add/get bitmap_character_*defs*
13393 * server/generic_character.h, server/styles.cpp,
13394 server/parser/morph2_character_def.cpp,
13395 server/swf/tag_loaders.cpp:
13396 Updated creation of bitmap_character_def and calls to add them
13397 to movie_definitions.
13399 2006-09-25 Vitaly Alexeev <tishka92@yahoo.com>
13401 * gui/Player.cpp: reverted
13403 2006-09-25 Markus Gothe <nietzsche@lysator.liu.se>
13405 * libbase/getopt.c => libbase/getopt_win32.cpp.
13406 * libbase/getopt.h => libbase/getopt_win32.h:
13407 renamed to avoid collision with standard header file.
13409 2006-09-25 Vitaly Alexeev <tishka92@yahoo.com>
13411 * gui/sdl.cpp, gnash.cpp, Player.cpp,
13412 * libbase/getopt.c, getopt.h:
13415 2006-09-24 Sandro Santilli <strk@keybit.net>
13417 * server/edit_text_character.{h,cpp}: added private
13418 registerTextVariable() method to handle variablenames.
13420 2006-09-24 Markus Gothe <nietzsche@lysator.liu.se>
13422 * libbase/ogl.cpp: Removed unsed TU-file.
13423 * libbase/tu_opengl_includes.h: Fixed Darwin glx.h-include, removed
13426 2006-09-23 Bastiaan Jacques <bastiaan@bjacques.org>
13428 * gui/Makefile.am: libgnashplayer.so uses symbols from libgnashgui.so
13429 and linking should reflect this relationship.
13431 2006-09-23 Bastiaan Jacques <bastiaan@bjacques.org>
13433 * libbase/log{.cpp, .h}: Implement LogFile << unsigned long, so the
13434 build will succeed for platforms where size_t is defined to unsigned
13437 2006-09-23 Vitaly Alexeev <tishka92@yahoo.com>
13439 * server/sprite_instance.cpp, gnash.h,
13440 * server/parser/movie_def_impl.cpp, sprite_definition.cpp:
13441 The improved version of create_empty_movieclip().
13442 Thanks Sandro Santilli
13444 2006-09-23 Sandro Santilli <strk@keybit.net>
13446 * gui/Player.cpp: avoid using get_movie_info, so we don't
13447 open the stream twice (including curl if it's a remote url)
13449 2006-09-23 Markus Gothe <nietzsche@lysator.liu.se>
13451 * libbase/smart_ptr.hpp: Imported and cleaned-up from boost.
13453 2006-09-23 Sandro Santilli <strk@keybit.net>
13455 * gui/Makefile.am, gui/gnash.cpp: build libgnashplayer, have gnash
13456 executable use the new class.
13457 * gui/gtk.cpp, gui/gtksup.h, gui/gui.h, gui/sdl.cpp, gui/sdlsup.h:
13458 const-corrected createWindow() function.
13459 * gui/Player.{h,cpp}: new class to simplify player startup.
13460 * gui/gnash.cpp, gui/sdl.cpp: moved parsing of -c switch from
13463 2006-09-22 Patrice Dumas <pertusus@free.fr>
13465 * testsuite/Makefile.am, testsuite/actionscript.all/Makefile.am,
13466 testsuite/libbase/Makefile.am: fix make distcheck.
13468 2006-09-22 Sandro Santilli <strk@keybit.net>
13470 * plugin/mozilla-sdk/np_entry.cpp, plugin/mozilla-sdk/npp_gate.cpp,
13471 plugin/mozilla-sdk/pluginbase.h: commented out unused parameters.
13473 2006-09-21 Vitaly Alexeev <tishka92@yahoo.com>
13475 * server/sprite_instance.cpp: has completed
13476 sprite_create_empty_movieclip(), added sprite_remove_movieclip()
13477 * server/parser/movie_def_impl.cpp: fixed range check error,
13478 added DO_EMPTY_MOVIECLIP
13479 * web/gnash/snapshots/gnash-win32.zip: added zlibwapi.dll
13481 2006-09-21 Sandro Santilli <strk@keybit.net>
13483 * server/edit_text_character.cpp (ctor): set textfield variable
13485 * server/sprite_instance.{h,cpp}: added new set_textfield_variable
13486 public method and a lazily-allocated map for textfield variables;
13487 scan textfield variable names in both set_member and get_member.
13489 2006-09-21 Sandro Santilli <strk@keybit.net>
13491 * server/as_environment.{cpp,h}: parse_path() made a public
13493 * server/edit_text_character.cpp, server/edit_text_character.h,
13494 server/parser/edit_text_character_def.cpp,
13495 server/parser/edit_text_character_def.h:
13496 get_default_name() => get_variable_name(), moved
13497 warning about missing VariableName support closer to where
13498 we should implement it.
13500 2006-09-21 Udo Giacomozzi <udo.gnash@nova-sys.net>
13502 * server/shape.cpp (edge::tesselate_curve): don't add curves
13503 on a straight edge.
13505 2006-09-21 Sandro Santilli <strk@keybit.net>
13507 * server/as_environment.{h,cpp}: doxygen comments, minor
13508 interface cleanup (use references when appropriate)
13509 * server/parser/edit_text_character_def.cpp: added comment
13510 about why we're doing the wrong thing with VariableName
13511 (related to bug#17806)
13513 2006-09-21 Deanna Phillips <deanna>
13515 * plugin/Makefile.am: removed unneeded explicit copy of shared
13518 2006-09-21 Sandro Santilli <strk@keybit.net>
13520 * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c:
13521 put the TextField inside a movieclip and it's associated
13522 variable on the root. This is to ensure that using
13523 the variable name as an instance name would clearly NOT work;
13524 equip with xtrace and print more info.
13525 * server/dlist.{cpp,h}: dump() method made public, print
13526 character "name" as part of the dump.
13528 2006-09-20 Sandro Santilli <strk@keybit.net>
13530 * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c,
13531 testsuite/misc-ming.all/Makefile.am: added test for VariableName
13532 attribute of DefineEditText.
13533 * server/parser/edit_text_character_def.cpp,
13534 server/parser/edit_text_character_def.h: tu_string => std::string,
13535 use new string reader methods.
13536 * server/stream.{h,cpp}: added memory-friendly string reader
13538 * server/parser/button_character_def.cpp: more symbolic
13541 2006-09-20 Vitaly Alexeev <tishka92@yahoo.com>
13543 * server/sprite_instance.cpp,
13544 * server/sprite_instance.h,
13545 * server/dlist.cpp,
13547 added swapDepths(), getDepth(), unfinished createEmptyMovieClip()
13550 2006-09-20 Markus Gothe <nietzsche@lysator.liu.se>
13552 * Fixed bug submitted by Onkar Shinde.
13554 2006-09-19 Vitaly Alexeev <tishka92@yahoo.com>
13556 * server/sprite_instance.cpp: added duplicateMovieClip() method
13558 2006-09-19 Sandro Santilli <strk@keybit.net>
13560 * testsuite/actionscript.all/gen-index.sh: Changed embed.html
13561 page generation to reflect new "remote tracing" feature.
13562 * testsuite/actionscript.all/check.as: use rtrace rather
13563 then xtrace when ONLINE is defined (must actually set
13564 the correct testreport.php url in order to work).
13565 * testsuite/actionscript.all/rtrace.as,
13566 testsuite/actionscript.all/testreport.php:
13567 code for online testcases automation.
13568 * server/asobj/Math.cpp: added missing "log.h" include
13569 * backend/render_handler_ogl.cpp: hush little compiler
13570 (use explicit const_cast)
13571 * server/sprite_instance.cpp (sprite_hit_test): stub for hitTest()
13572 * server/sprite_instance.cpp (call_frame_actions): fixed
13573 premature deletion of action buffers (also optimized somehow).
13574 * testsuite/actionscript.all/Makefile.am,
13575 testsuite/actionscript.all/gen-index.sh: generate
13576 a page with all testcases for each SWF target.
13577 * testsuite/actionscript.all/Makefile.am,
13578 testsuite/actionscript.all/Number.as:
13579 new testcase (small, but already failing for gnash)
13580 * testsuite/actionscript.all/TODO: new file
13581 * server/swf/ASHandlers.cpp (ActionEqual): fixed behavior.
13582 * server/swf.h: Added info about ACTION_EQUAL.
13583 * server/swf/ASHandlers.cpp (CommonGetUrl): added comments about
13584 relative url resolution "known" bug. Added parsing of method
13585 bitfield flags and warnings about unsupported features.
13587 2006-09-18 Sandro Santilli <strk@keybit.net>
13589 * libbase/URL.cpp: removed call to set_workdir.
13591 2006-09-18 Vitaly Alexeev <tishka92@yahoo.com>
13593 * libamf/amf.cpp: function must return a value
13594 * gui/sdl.cpp: Don't hog the CPU.
13595 * web/gnash/snapshots/gnash.zip: renamed to gnash-win32.zip
13596 * backend/sound_handler_sdl.cpp: fixed out of range bug
13598 2006-09-18 Sandro Santilli <strk@keybit.net>
13600 * server/swf/ASHandlers.cpp: added initial support for
13603 2006-09-18 Patrice Dumas <pertusus@free.fr>
13605 * gui/gtksup.h: remove extra qualifier from private method.
13607 2006-09-18 Sandro Santilli <strk@keybit.net>
13609 * macros/curl.m4: always run AC_CHECK_HEADER and AC_CHECK_LIB
13610 * server/as_value.h: added is_null() method.
13611 * README: updated section about plugin compatibility.
13613 2006-09-18 Samuel Lidén Borell <samuellb@bredband.net>
13615 * gui/gtk.cpp, gui/gtksup.h: Forward GTK keyboard events
13618 2006-09-18 Markus Gothe <nietzsche@lysator.liu.se>
13620 * libbase/container.h: #ifdef HAVE_STRCASECMP-bug-fix.
13621 * Fixed bug #17786...
13623 2006-09-17 Rob Savoye <rob@ute.welcomehome.org>
13625 * testsuite/actionscript.all/Makefile.am: Add test driver name to
13626 the command line. Don't pass --srcdir, runtest doesn't need it
13627 anymore, and it breaks the site.exp setting of the same value.
13628 * testsuite/misc-ming.all/Makefile.am: Don't pass --srcdir,
13629 runtest doesn't need it anymore, and it breaks the site.exp
13630 setting of the same value.
13631 * testsuite/actionscript.all/swf_exists.exp: Don't use the file
13632 name, just let makeswf use the default output file, out.swf.
13633 * Makefile.am: Don't have dejagnu as an option, just change to the
13634 testsuite directory and run make check.
13635 * configure.ac: Remove unused configure options. Have dumpconfig
13636 display if libCurl has RTMP support.
13637 * backend/Makefile.am: Remove dejagnu from AUTOMAKE_OPTIONS.
13638 * doc/C/appendix.xmlfdl-appendix.xml, gnash.xml,
13639 internals.xml, localconnection.xml, logging.xml,
13640 netconnection.xml, opcodes.xml, plugin.xml, rtmp.xml, sources.xml,
13641 : Change <code> to <emphasis>, as the xmlto tools on FC5 don't
13642 grok <code> anymore.
13643 * libamf/Makefile.am: Put amftest.cpp in EXTRA_PROGAMS.
13644 * libamf/amf.cpp, amf.h: Use unsigned char instead of signed char
13645 when pointing to RTMP message data.
13646 * libbase/container.cpp, container.h: Define STRCASECMP in the
13647 source file, not the header.
13648 * libbase/network.cpp: Fix the warning message about not binding
13649 to a port. Don't include fn_call.h or xml.h.
13650 * libbase/network.h: Don't include fn_call.h or xml.h.
13651 * macros/opengl.m4: Look in X11R6 too.
13652 * plugin/Makefile.am: Remove dejagnu from AUTOMAKE_OPTIONS.
13653 * server/asobj/NetConnection.h: Add private variables for the
13654 connect message to the server.
13655 * server/asobj/System.cpp, Video.cpp: Tweak the unimplemented
13658 2006-09-17 Patrice Dumas <pertusus@free.fr>
13660 * libbase/Makefile.am: Don't include anything from the server
13662 * libbase/log.cpp: Don't include gnash.h.
13663 * libbase/network.h, cpp: Don't include xml.h.
13665 2006-09-17 Bastiaan Jacques <bastiaan@bjacques.org>
13667 * libbase/URL.cpp: Don't treat local filenames as query strings (bug
13670 2006-09-17 Markus Gothe <nietzsche@lysator.liu.se>
13672 * autogen.sh: Applied patch from Mike Heffner.
13674 2006-09-17 Bastiaan Jacques <bastiaan@bjacques.org>
13676 * plugin/plugin.cpp: add NULL checks to avoid attempting to create an
13677 std::string from a NULL character pointer (bug #17776).
13679 2006-09-16 Patrice Dumas <pertusus@free.fr>
13681 * libbase/log.cpp, libbase/network.cpp, libbase/network.h:
13682 removed useless includes.
13684 2006-09-16 Sandro Santilli <strk@keybit.net>
13686 * plugin/plugin.cpp: SIGINT => SIGTERM (fixes bug #17082)
13688 2006-09-15 Vitaly Alexeev <tishka92@yahoo.com>
13690 * libbase/tu_config.h: __declspec(dllimport) temporarily is
13691 commented because of VC++ compiler problems.
13692 * web/gnash/snapshots/gnash.zip: added Standalone executable files
13694 * web/gnash/snapshots/gnash.exe, npgnash.dll: removed.
13696 2006-09-15 Markus Gothe <nietzsche@lysator.liu.se>
13698 * Finished task #5848. Implementing GCC-visibility.
13700 2006-09-14 Vitaly Alexeev <tishka92@yahoo.com>
13702 * server/swf/ASHandler.cpp: fixed bug #17738.
13704 2006-09-14 Markus Gothe <nietzsche@lysator.liu.se>
13706 * libbase/URL.cpp: Fixed bug #17727.
13707 * configure.ac, libgeometery/bsp.cpp: Fixed bug #17748.
13708 * libbase/tu_types.h: Fixed bug #17749.
13709 * Removed usage of create_bitmap_info_empty().
13710 * server/asobj/Global.cpp, server/stream.cpp: Fixed mem leak.
13711 * libbase/container.{h, cpp}: fixed termination '0' -> '\0'.
13712 * backend/sound_handler_gst.cpp: Fixed mem-management.
13713 * Fixed mozilla-sdk for use with the actual mozilla >=1.7.13.
13714 * configure.ac: Check for GCC -fvisibility-support.
13715 * libbase/tu_config.h: Visibility-hack (DSOLOCAL and DSOEXPORT).
13717 2006-09-13 Markus Gothe <nietzsche@lysator.liu.se>
13719 * libbase/smart_prt.h: Added dtor for weak_ptr.
13721 2006-09-11 Vitaly Alexeev <tishka92@yahoo.com>
13723 * libbase\URL.cpp: parsing of win32 path
13725 2006-09-11 Vitaly Alexeev <tishka92@yahoo.com>
13727 * libbase\URL.cpp: Current working directory of Flash is
13728 a directory of the first swf file.
13729 * server\action.h, action.cpp: attach_extern_movie() is reanimated
13730 * server\swf\ASHandlers.h, ASHandlers.cpp: loadMovie() should be
13731 compatible with Flash
13732 * server\impl.h: a bit cleanup
13734 2006-09-09 Sandro Santilli <strk@keybit.net>
13736 * plugin/plugin.cpp: removed the waitpid call again
13739 2006-09-08 Sandro Santilli <strk@keybit.net>
13741 * plugin/plugin.cpp, plugin/plugin.h: wait for child pid
13742 (no more zombies). Avoid killing pid == -1 on gnash error !
13744 2006-09-08 Sandro Santilli <strk@keybit.net>
13746 * gui/gnash.cpp: FlashVars == flashvars (this is how the browser
13748 * plugin/plugin.cpp, plugin/plugin.h: added support for
13749 passing parameters.
13750 * plugin/player.h: removed obsoleted file
13752 2006-09-08 Markus Gothe <nietzsche@lysator.liu.se>
13754 * testsuite/movies.all/zoomhenge.swf: Added.
13755 * plugin/plugin.cpp: Declare maxargc as 'const'. Fixed memory
13756 management for char *argv[].
13758 2006-09-02 Rob Savoye <rob@bertha.welcomehome.org>
13760 * configure.ac: Check to see if libCurl supports RTMP.
13761 * macros/curl.m4: Add support to use curl-config. Look to see what
13762 protocols it supports.
13764 2006-09-02 Sandro Santilli <strk@keybit.net>
13766 * gui/gnash.cpp, doc/C/gnash.xml: added -P switch to set
13767 contextual parameters (see
13768 http://www.permadi.com/tutorial/flashVars/index.html)
13769 * libbase/URL.{cpp,h}, testsuite/libbase/URLTest.cpp:
13770 added support for query strings (+tests).
13771 * server/swf/ASHandlers.cpp (ActionGetUrl2): log a warning
13772 when an undefined url parameter is on the stack.
13773 * server/as_value.h: added is_undefined() method.
13775 2006-09-01 Sandro Santilli <strk@keybit.net>
13777 * plugin/plugin.{cpp,h}: Call gnash with -u switch to set
13778 original movies url.
13779 * gui/gnash.cpp, doc/C/gnash.xml: make the -u switch working
13781 * server/gnash.h, server/impl.cpp:
13782 Changed create_movie and create_library_movie to optionally
13783 take a "real" url (for use with caches). If given, the "real"
13784 url will be used as a label for the "movie library". Note that
13785 no host-checking is performed on the "real" url (only the
13786 "effective" url will be checked).
13787 * plugin/player.cpp: removed obsoleted file.
13789 2006-09-01 Tomas Groth Christensen <tomasgroth@yahoo.dk>
13791 * doc/C/internals.xml: Small doc fixes.
13793 2006-09-01 Sandro Santilli <strk@keybit.net>
13795 * server/swf/ASHandlers.cpp (CommonGetUrl): support
13796 relative urls (testing).
13797 * libbase/URL.{cpp,h}, testsuite/libbase/URLTest.cpp:
13798 Added anchor support in URL class (+tests).
13800 2006-08-31 Rob Savoye <rob@bertha.welcomehome.org>
13802 * doc/C/Makefile.am: Add --encoding=us-ascii//TRANSLIT so control
13803 characters don't slide in that prevent db2x_texixml from working.
13805 * gui/images: New directory for images. Patch #5346.
13806 * gui/images/gnash_128_96.ico: New icon for GTK executable. Patch
13808 * gui/Makefile.am: Install icon image. Patch #5346.
13809 * gui/gtk.cpp: Add icon to GTK executable. Patch #5346.
13810 * gui/gtksup.h: Add methods for adding and finding pixmaps. Patch
13812 * plugin/Makefile.am: For OpenBSD, copy the actual shared libary
13813 when installing since libtool doesn't appear to do this. Baswed on
13816 2006-08-31 Sandro Santilli <strk@keybit.net>
13818 * server/swf/tag_loaders.cpp (frame_label_loader): added
13819 primitive support for anchor-labels (just print a warning).
13821 2006-08-31 Markus Gothe <nietzsche@lysator.liu.se>
13823 * server/parser/movie_def_impl.cpp: Removed 'using namespace std;'
13824 since it's not needed and cause problems on non-gcc-compilers.
13825 * mozilla-sdk/include/jni.h: "using namespace std;" for va_list.
13826 * plugin/plugin.cpp: Added include for tu_types.h
13828 2006-08-30 Patrice Dumas <pertusus@free.fr>
13830 * Patch for the doc system.
13832 2006-08-30 Sandro Santilli <strk@keybit.net>
13834 * libamf/amf.{cpp,h}: changed amf_element_t.data type to
13835 'const' unsigned char. This fixed compiler warnings.
13836 * server/gstring.h, server/asobj/gstring.h,
13837 server/string.cpp, server/asobj/string.cpp,
13838 server/Makefile.am, server/asobj/Makefile.am:
13839 Moved string class files to asobj lib.
13841 2006-08-30 Vitaly Alexeev <tishka92@yahoo.com>
13843 * libbase\tu_opengl_includes.h: added win32 opengl #define
13844 * libbase\jpeg.cpp: a cleanup
13845 * server\URLAccessManager.cpp: a cleanup
13847 2006-08-30 Markus Gothe <nietzsche@lysator.liu.se>
13849 * libbase/tu_types.h: rededifine __FUCTION__
13850 * libbase/rc.cpp: include tu_types.h where __PRETTY_FUNCTION__ is
13852 * configure.ac: Check if sqrt() needs -lm.
13853 * libbase/tu_math.h: Fixed IRIX 6.5-compability.
13854 * server/asobj/Math.cpp: Include "tu_math.h"
13855 * server/asobj/Gmath.h: Deconfuse MIPSPRO/SGI/IRIX.
13856 * libgeometry/axial_box.h: Fixed picky-compiler warnings.
13857 * libbase/network.cpp: renamed struct sockaddr fsin since not
13859 * utilities/processor.cpp, utilities/parser.cpp: Compability fixes.
13860 * plugin/Makefile.am: Fixed bug that made non-gnu make crash.
13861 * autogen.sh: Don't run automake with '--gnu'. It'll figure it out
13864 2006-08-29 Patrice Dumas <pertusus@free.fr>
13866 * packaging/redhat/gnash.spec: unusefull gnash-devel
13867 subpackage removed; groups changed; other minor cleanups.
13869 2006-08-29 Vitaly Alexeev <tishka92@yahoo.com>
13871 * libbase\jpeg.cpp: fixed bug #17507
13873 2006-08-29 Markus Gothe <nietzsche@lysator.liu.se>
13875 * backend/sound_handler_gst.cpp, backend/sound_handler_sdl.cpp:
13877 * libbase/container.h Fixed bugs for compilers missing ext/hashmap.
13878 * libbase/log.h Fixed bugs for non-gcc-compilers.
13879 * libbase/tu_config.h: Added namespace to exit() since MIPSPro is
13882 2006-08-29 Sandro Santilli <strk@keybit.net>
13884 * server/morph.cpp, server/morph.h,
13885 Makefile.am: removed obsoleted files.
13887 2006-08-28 Markus Gothe <nietzsche@lysator.liu.se>
13889 * Disabled building of static-libraries as default.
13890 * libbase/tu_opengl_includes.h: Modern Non-SGI OGL-ABIs include
13892 * Fixed isinf() and isnan() for platforms that doesn't include it
13893 in C++ (It however usually is in the later C99, esp. in IRIX).
13895 2006-08-28 Sandro Santilli <strk@keybit.net>
13897 * libbase/utility.{cpp,h} (dump_memory_stats): removed compiler
13899 * server/ActionExec.cpp, server/action.cpp, server/impl.cpp,
13900 server/sprite_instance.h: removed "stream.h" inclusion.
13901 * server/morph.cpp: log_msg -> log_parse, minor indentations
13902 * server/parser/movie_def_impl.cpp (resolve_import):
13903 fixed infinite loop.
13905 2006-08-28 Markus Gothe <nietzsche@lysator.liu.se>
13907 * Merged in klash-patch sent by Patrice Dumas <pertusus@free.fr>.
13908 * Misc clean-ups in headers.
13909 * server/parser/action_buffer.cpp, server/tesselate.cpp,
13910 serasobj/System.cppver/ActionExec.cpp, libgeometry/bsp.cpp,
13911 libbase/image.cpp, libamf/amf.cpp:
13912 Removed unused <cstdlib>.
13914 2006-08-27 Markus Gothe <nietzsche@lysator.liu.se>
13916 * server/swf/tagloaders, server/ActionExec.cpp
13917 server/swf/ASHandlers.cpp, libgeometry/kd_tree_dynamic.cpp
13918 libamf/amf.cpp, libamf/amftest.cpp: Changed '+= 1' to '++'.
13919 * Removed headers from log.{cpp,h} since it speed up compilation
13920 time. Try avoiding unnecessary includes of <iostream> as much as
13922 * utilities/parser.cpp, utilities/processor.cpp: Fixed strange -h
13925 2006-08-27 Vitaly Alexeev <tishka92@yahoo.com>
13927 * libbase\utility.h,
13928 * server\types.cpp, sprite_instance.cpp,
13929 edit_text_character.cpp, button_character_instance.cpp:
13930 Macromedia Flash changes infinite to zero when works a matrix
13932 2006-08-27 Vitaly Alexeev <tishka92@yahoo.com>
13934 * backend\gnash.cpp,
13935 * server\swf\tag_loaders.h,
13936 * libbase\tu_opengl_includes.h,
13940 2006-08-27 Markus Gothe <nietzsche@lysator.liu.se>
13942 * Merged in klash-patch sent by Patrice Dumas <pertusus@free.fr>.
13943 * configure.ac: Added "-cvs-BUILDDATE" to VERSION for making life
13944 more easy when people file bugs and such.
13945 * Fixed an issue with the moz-plugin, i.e. library-naming.
13946 * server/parser/movie_def_impl.cpp: Optimized freeing memory.
13947 * gui/gnash.cpp, plugin/player.cpp, utilities/parser.cpp,
13948 backend/gnash.cpp(deprecated!), utilities/processor.cpp:
13949 Clean-up and minor bugfixes related to empty logfiles.
13951 2006-08-27 Sandro Santilli <strk@keybit.net>
13953 * server/movie_def_impl.{h,cpp}: fixed _swf_end_pos for compressed
13954 movie (needed after zlib_adapter fix); enabled get_bytes_loaded.
13955 * libbase/zlib_adapter.cpp: fixed tell() function to include
13957 * Split button.{h,cpp} into button_character_instance.{cpp,h},
13958 mouse_button_events.h and parser/button_character_def.{cpp,h};
13959 headers inclusion shaking.
13961 2006-08-26 Markus Gothe <nietzsche@lysator.liu.se>
13963 * server/asobj/Global.cpp, libbase/image.cpp: Found and fixed
13965 * Optimized the zlib code, which is a bottleneck according to my
13967 * Fixed macros/pthread.m4 for portability to other architectures.
13968 See: http://autoconf-archive.cryp.to/acx_pthread.html.
13969 * Added macros/archflag.m4 for optimizations.
13970 See: http://autoconf-archive.cryp.to/ax_gcc_archflag.html
13971 * server/render.cpp, server/xmlnode.cpp, server/xmlnode.h,
13972 server/xmlattrs.cpp, server/xmlattrs.h, server/xml.h:
13973 Don't include "log.h" unless debugging is on. Speeding up
13974 compilation, especially on non-gcc compilers, since <iostream>
13975 is considered a hog.
13976 * server/as_enviroment.cpp, server/as_enviroment.h,
13977 server/movie_instance.cpp, server/timers.h, server/action.h
13978 server/parser/bitmap_character_def.h, server/character.h
13979 backend/gtksup.h, gui/sdlsup.h, gui/kdesup, gui/gtksup.h,
13980 gui/gui.cpp, libamf/rtmp.h, libbase/network.h, libbase/URL.cpp
13981 plugin/plugin.h, server/swf/ASHandlers.h, server/xmlsocket.h
13982 server/asobjs/Video.h, server/asobjs/TextSnapshot.h,
13983 server/asobjs/System.h, server/impl.h, server/asobj/MovieClip.cpp
13984 server/sound.cpp, server/string.cpp, server/textformat.h
13986 Remove "log.h" since not used.
13988 2006-08-26 Sandro Santilli <strk@keybit.net>
13990 * server/URLAccessManager.cpp (allow): always allow from local host.
13991 * server/morph2.{cpp,h}, server/parser/morph2_character_def.{cpp,h},
13992 server/Makefile.am, server/parser/Makefile.am, server/impl.cpp,
13993 server/swf/tag_loaders.cpp:
13994 moved morph2 definition class to parser dir.
13995 * server/render.cpp: add a DEBUG_RENDER_CALLS macro to
13996 enable function calls info log.
13998 2006-08-25 Vitaly Alexeev <tishka92@yahoo.com>
14000 * server\character.h, dlist.h, edit_text_character.h,
14001 generic_character.h, movie.h, sprite_instance.h, button.cpp
14002 fixed events handling bug. 3kines.swf is played now.
14004 2006-08-25 Markus Gothe <nietzsche@lysator.liu.se>
14006 * Misc header clean-ups...
14007 * Minor variable assignment optimizations.
14008 * libamf/rtmp.cpp: Replaced "stdlib.h" with <cstdlib>.
14009 * libbase/network.cpp: Always include <cerrno>.
14010 * plugin/plugin.cpp, plugin/player.cpp: #include <csignal>.
14012 2006-08-25 Markus Gothe <nietzsche@lysator.liu.se>
14014 * gui/sdl.cpp, gui/kde.cpp, libbase/network.cpp: Replaced <iostream>
14015 for speeding up compilation.
14016 * libbase/tu_file.cpp: Changed structs to classes.
14017 * server/gnash.h, backend/render_handler_xbox.cpp, libbase/tu_file.cpp
14018 libbase/image.cpp, libbase/ogl.cpp, server/xmlsocket.cpp,
14019 server/movie_interface.h, server/as_object.h, server/action.h:
14020 libbase/utility.h, libbase/tu_types.h, libbase/tu_math.h,
14021 libbase/tu_file.h, libbase/dlmalloc.h, server/asobj/GMath.h:
14022 Changed #include <X.h> to <cX>.
14024 2006-08-25 Markus Gothe <nietzsche@lysator.liu.se>
14026 * backend/sound_handler_mp3.cpp, backend/sound_handler_sdl.cpp,
14027 backend/sound_handler_gst.cpp, backend/render_handler_xbox.cpp
14028 backend/render_handler_xbox.cpp, backend/render_handler_d3d.cpp,
14029 backend/render_handler_cairo.cpp, libbase/jpeg.cpp,
14030 libgeometry/kd_tree_dynamic.cpp: Changed structs to classes.
14031 * libbase/jpeg.cpp, libbase/utf8.cpp, libgeometry/kd_tree_dynamic.cpp,
14032 libgeometry/bsp.cpp, plugin/player.cpp plugin/plugin.cpp:
14033 Changed #include <X.h> to <cX>.
14035 2006-08-24 Markus Gothe <nietzsche@lysator.liu.se>
14037 * backend/render_handler_ogl.cpp: Changing structs to classes
14038 with everything public, mostly for understanding and readability
14039 (it's the same thing in C++ afaik).
14040 * server/parser/movie_def_impl.cpp, backend/render_handler_ogl.cpp:
14041 inlining unlock()/lock() and opengl_accessible().
14042 * Fixed task #5837.
14044 2006-08-24 Sandro Santilli <strk@keybit.net>
14046 * server/sprite_instance.cpp, server/swf/tag_loader.cpp,
14047 server/parser/text_character_def.h,
14048 server/parser/text_character_def.cpp,
14049 server/text.h, server/text.cpp:
14050 moved 'text_character_def' class under server/parser/
14052 2006-08-24 Vitaly Alexeev <tishka92@yahoo.com>
14054 * server\URLAccessmanager.cpp, StreamProvider.cpp, dlist.cpp,
14058 2006-08-24 Sandro Santilli <strk@keybit.net>
14060 * configure.ac, gui/Makefile.am, gui/gtk.cpp, gui/gui.cpp,
14061 server/Makefile.am, server/MovieClip.cpp, server/MovieClip.h,
14062 server/Object.h, server/action_buffer.cpp, server/action_buffer.h,
14063 server/bitmap_character_def.h, server/character_def.cpp,
14064 server/character_def.h, server/edit_text_character_def.cpp,
14065 server/edit_text_character_def.h, server/movie_def_impl.cpp,
14066 server/movie_def_impl.h, server/movie_definition.h,
14067 server/shape_character_def.cpp, server/shape_character_def.h,
14068 server/sprite_definition.cpp, server/sprite_definition.h,
14069 server/sprite_instance.h, server/asobj/Makefile.am,
14070 server/asobj/MovieClip.cpp, server/asobj/MovieClip.h,
14071 server/parser/Makefile.am, server/parser/action_buffer.cpp,
14072 server/parser/action_buffer.h, server/parser/bitmap_character_def.h,
14073 server/parser/character_def.cpp, server/parser/character_def.h,
14074 server/parser/edit_text_character_def.cpp,
14075 server/parser/edit_text_character_def.h,
14076 server/parser/movie_def_impl.cpp, server/parser/movie_def_impl.h,
14077 server/parser/movie_definition.h,
14078 server/parser/shape_character_def.cpp,
14079 server/parser/shape_character_def.h,
14080 server/parser/sprite_definition.cpp,
14081 server/parser/sprite_definition.h,
14082 server/parser/text_character_def.h:
14083 Moved some of parser's files under their own dir/lib (not yet
14084 finished); also moved MovieClip under asobj/, where it belongs.
14086 2006-08-23 Sandro Santilli <strk@keybit.net>
14088 * server/swf_function.h, server/swf_function.cpp:
14089 added missing include, out-lined set_length to avoid
14090 action_buffer.h include.
14091 * server/impl.h, server/swf_event.h, sprite_instance.cpp:
14092 moved swf_event class into its own header.
14093 * server/swf/ASHandlers.cpp (CommonGetUrl): simplified and fixed
14094 URL parsing code by use of the URL class; added check for
14095 NULL urls and comments about future improvements; use the
14096 newly-exported URLAccessManager::allow function
14097 * server/URLAccessManager.h, server/URLAccessManager.cpp,
14098 server/Makefile.am, server/StreamProvider.cpp:
14099 moved URLAccessManager code into it's own file, export a
14100 single allow(URL&) function of it, updated StreamProvider
14103 2006-08-23 Markus Gothe <nietzsche@lysator.liu.se>
14105 * server/movie_def_impl.cpp: Use pthread_cancel(pthread_self())
14106 instead of pthread_exit(NULL).
14108 2006-08-23 Sandro Santilli <strk@keybit.net>
14110 * server/Makefile.am, server/movie_instance.cpp,
14111 server/movie_instance.h, server/sprite_instance.cpp,
14112 server/sprite_instance.h, server/movie_def_impl.cpp,
14113 server/movie_root.cpp:
14114 new 'movie_instance' class derived from 'sprite_instance'
14115 and representing the "main" movie read from a SWF file.
14116 * libamf/amf.cpp, server/dlist.cpp: fixed compiler warnings, or
14117 added some notes about problems arised from them.
14119 2006-08-23 Bastiaan Jacques <bastiaan@bjacques.org>
14121 * configure.ac, plugin/Makefile.am: For OpenBSD, omit some linker
14122 options to successfully build the plugin.
14123 * plugin/plugin{.cpp, h}: Cleanup: Remove threading code, because it's
14124 broken and generally useless.
14126 2006-08-23 Vitaly Alexeev <tishka92@yahoo.com>
14128 * server\sprite_instance.cpp: action_list.size() may be changed
14131 2006-08-23 Vitaly Alexeev <tishka92@yahoo.com>
14133 * server\dlist.cpp: That there was no crash gnash
14134 we iterate characters through the copy of displaylist
14136 2006-08-23 Vitaly Alexeev <tishka92@yahoo.com>
14138 * backend\render_handler_ogl.cpp: commented assert(bi->m_texture_id);
14140 2006-08-23 Markus Gothe <nietzsche@lysator.liu.se>
14142 * libbase/network.cpp, server/xmlsocket.cpp,
14143 server/shm.cpp: Fixed #include for fcntl.h so it conforms
14144 to the POSIX-standard.
14145 * gui/sdl.cpp: Fixed basename() under IRIX.
14146 * libbase/tu_types.h: Fixed #include <sys/endian> under IRIX.
14147 * server/action.cpp: added extern "C" for "gdk/gdk.h".
14148 * server/asobj/GMath.h:
14149 Fixed #define __MATH_H__ under IRIX and other platforms.
14151 2006-08-23 Vitaly Alexeev <tishka92@yahoo.com>
14153 * server\sprite_instance.cpp, sprite_instance.h:
14154 The second attempt to fix goto_frame() bug
14156 2006-08-22 Sandro Santilli <strk@keybit.net>
14158 * server/dlist.cpp: removed signed/unsigned comparison warning.
14159 * server/gnash.h: removed unused parameter warnings.
14160 * server/render.h: doxygen comments.
14161 * libbase/Thread.cpp: removed unused parameter warnings.
14162 * server/as_value.cpp: removed const cast warning.
14163 * server/font.cpp, server/textformat.cpp:
14164 removed unused parameter warning.
14165 * libbase/image.cpp: removed initialization order warning.
14166 * macros/kde.m4: never add -fno-rtti.
14168 2006-08-22 Vitaly Alexeev <tishka92@yahoo.com>
14170 * server\sprite_instance: fixed goto_frame() bug (I hope :-) )
14172 2006-08-21 Sandro Santilli <strk@keybit.net>
14174 * server/swf/tag_loaders.cpp (do_init_action_loader):
14175 fixed short read when not in verbose parse mode.
14176 * server/sprite_instance.cpp: fix compiler warnings.
14177 * server/movie_def_impl.{cpp,h}: use USE_SDL_THREADS macro
14178 to switch between SDL and straight POSIX threads calls (defaults
14179 to straight POSIX).
14181 2006-08-21 Sandro Santilli <strk@keybit.net>
14183 * gui/gnash.cpp: fix bug #17467
14184 * server/gnash.h: doxygen comments on render_handler struct
14185 * utilities/processor.cpp: don't show -vp and -va options if
14186 verbose parsing and action is not compiled in (bug #17367).
14187 * gui/gnash.cpp: fix -vp when VERBOSE_ACTION is undefined (bug #17367).
14188 * server/movie_def_impl.cpp: implement MovieLoader::lock
14189 and MovieLoader::unlock for SDL. Fix MovieLoader::wait_for_frame
14191 * gui/sdl.cpp: fix movie advance delay
14192 * server/gnash.h: fixed compiler warning about initialization order.
14193 * server/movie_def_impl.cpp:
14194 fixed SDL version of signal_frame_loaded.
14195 * server/movie_def_impl.cpp:
14196 added LOAD_MOVIES_IN_A_SEPARATE_THREAD define to switch between
14197 threaded or sequential movie load.
14199 2006-08-21 Vitaly Alexeev <tishka92@yahoo.com>
14201 * server\movie.h: fixed a bit bit but opposite bug
14203 2006-08-21 Vitaly Alexeev <tishka92@yahoo.com>
14205 * backend\render_handler_ogl.cpp: a bit cleanup
14207 2006-08-21 Vitaly Alexeev <tishka92@yahoo.com>
14209 * server\movie_def_impl.cpp, gnash.h:
14210 * backend\render_handler_ogl.cpp:
14211 * libbase\image.cpp, image.h:
14212 attempting to do multithread opengl
14214 2006-08-21 Bastiaan Jacques <bastiaan@bjacques.org>
14216 * server/{action_buffer.cpp, swf/ASHandlers{.cpp, .h}: Solve problems
14217 associated with initialisation of SWFHandler's static variables by
14218 making the variables in-function statics.
14220 2006-08-21 Vitaly Alexeev <tishka92@yahoo.com>
14222 * server\movie_def_impl.h, movie_impl.cpp: SDL MovieLoader stuff
14224 2006-08-20 Bastiaan Jacques <bastiaan@bjacques.org>
14226 * server/{action_buffer.cpp, swf/ASHandlers.cpp}: Initialise
14227 SWFHandlers::_handlers before class SWFHandlers is instantiated (bug
14230 2006-08-20 Sandro Santilli <strk@keybit.net>
14232 * utilities/processor.cpp: fixed bug #17367
14234 2006-08-19 Rob Savoye <rob@bertha.welcomehome.org>
14236 * server/swf/ASHandlers.cpp (CommonGetUrl): Check the domain, and
14237 don't go to the remote URL if it's in the blacklist. This ignores
14238 all attempts to allow the non-local domain if listed.
14240 2006-08-19 Bastiaan Jacques <bastiaan@bjacques.org>
14242 * plugin/klash/klash_part.cpp: Make extra sure we don't kill all
14245 2006-08-19 Sandro Santilli <strk@keybit.net>
14247 * server/sprite_instance.h, server/sprite_instance.cpp
14248 (execute_frame_tags, execute_frame_tags_reverse):
14249 modified to take size_t for frame number; small cleanups
14250 and optimizations by use of standard algorithms.
14251 * server/button.cpp, server/morph2.cpp: added missing
14252 IF_VERBOSE_PARSE wrapping.
14253 * server/swf/ASHandlers.cpp: fixed read of 'skip' count in
14254 ActionWaitForFrame handler. Commented out 'testing' logging
14255 from both WaitForFrame handlers (I'd consider them tested).
14256 * server/movie_def_impl.h, server/movie_def_impl.cpp,
14257 server/sprite_instance.cpp: added MovieLoader::lock()
14258 and unlock() functions, lock loader at every iteration
14259 of read_all_swf() and from within wait_for_frame,
14260 only ensure next frame is loaded (rather then loading
14261 next *chunk* at every advance_root call).
14263 2006-08-18 Vitaly Alexeev <tishka92@yahoo.com>
14265 * server\sprite_instance.cpp: a bit cleanup
14267 2006-08-17 Vitaly Alexeev <tishka92@yahoo.com>
14269 * server\dlist.h, dlist.cpp, sprite_instance.cpp:
14270 added deleting the display objects created during execution
14271 of frames 2,... and not displayed in the 1-st frame.
14272 Macromedia Flash does not call remove display object tag
14274 * server\movie_def_impl.cpp: _loader.start() is switched off
14275 temporarily on win32
14276 * win32\gnash\gnash.vcproj: updated gnash version
14278 2006-08-16 Vitaly Alexeev <tishka92@yahoo.com>
14280 * server\character.h, sprite_instance.cpp:
14281 If we already have object with same events on this plane,
14282 then move it instead of replacing
14284 2006-08-16 Vitaly Alexeev <tishka92@yahoo.com>
14286 * server\movie_def_impl.h, libamf\amf.cpp, libamf\rtmp.cpp:
14288 * win32\gnash\gnash.vcproj: added pthread.h
14290 2006-08-14 Sandro Santilli <strk@keybit.net>
14292 * server/movie_def_impl.cpp, server/movie_def_impl.h,
14293 server/movie_definition.h, server/sprite_definition.h,
14294 server/swf/tag_loaders.cpp: initial implementation of
14295 movie loading into a separate frame. Needs more cleanup
14296 work, but the intro1.swf and elvis.swf seems to be both
14299 2006-08-14 Sandro Santilli <strk@keybit.net>
14301 * server/swf/tag_loaders.h, server/swf/tag_loaders.cpp:
14302 allow define_font_info_loader to be called for DEFINEFONTINFO2
14304 * libbase/container.cpp: removed extra ';'
14305 * server/font.cpp, server/font.h, server/impl.cpp, server/swf.h:
14306 initial support for DefineFontInfo2 tag, stricter use of
14307 SWF::tag_type type.
14309 2006-08-14 Rob Savoye <rob@bertha.welcomehome.org>
14311 * doc/C/rtmp.xml: Add RTMP chapter with graphic of the RTMP
14313 * doc/C/gnash.xml: Add entity for rtmp.xml.
14314 * doc/C/Makefile.am: Add rtmp.xml.
14315 * doc/C/amf.xml: Rewrite AMF chapter now that I understand how it
14318 * macros/atk.m4: Look for atk.h, not atkgl.h.
14319 * macros/opengl.m4: Put the single tick mark before the rest of
14320 the statement so it gets expanded correctly.
14321 * macros/gtkglext.m4: Add -I when --with-opengl-incl is used. Also
14322 set the version when using this option so the other tests still
14325 2006-08-14 Tomas Groth Christensen <tomasgroth@yahoo.dk>
14327 * doc/C/internals.xml: Added info about how the soundhandlers works.
14329 2006-08-13 Sandro Santilli <strk@keybit.net>
14331 * server/edit_text_character_def.cpp, server/shape_character_def.cpp,
14332 server/sprite_definition.cpp, server/styles.cpp, server/text.cpp,
14333 server/tools.cpp, server/types.cpp, server/swf/tag_loaders.cpp:
14334 remove newline ending from log_parse calls.
14335 * server/stream.cpp (open_tag): add SWF offset in parse logging.
14337 2006-08-13 Sandro Santilli <strk@keybit.net>
14339 * libbase/log.cpp: fixed strip of CR ending in input operator.
14340 * gui/gnash.cpp (fs_callback): removed unused parameter warning,
14341 reduced log_msg calls.
14342 * libamf/rtmp.cpp, libbase/network.cpp, libbase/network.h,
14343 server/fontlib.cpp: removed compiler warnings.
14345 2006-08-13 Patrice Dumas <pertusus@free.fr>
14347 * macros/pango.m4: fixed pango version detection.
14349 2006-08-13 Sandro Santilli <strk@keybit.net>
14351 * server/character.cpp, server/character.h:
14352 safely handle ActionScript code referencing '..'
14353 from the root character.
14355 2006-08-12 Rob Savoye <rob@ripple.welcomehome.org>
14357 * Makefile.am: Build klash if it's enabled, but the plugin
14359 * backend/Makefile.am: Add lib dependancies for libgnashbase and
14361 * gui/Makefile.am: Spell DEPENDANCIES right.
14362 * libamf/Makefile.am: Make amftest only build for testing.
14363 * libbase/Makefile.am: Add mor dependent libraries, add ogl.h to
14365 * macros/kde.m4: Fix how KDE_LDFLAGS gets set.
14366 * server/Makefile.am: Add lib dependancies for libgnashbase and
14368 * server/asobj/Makefile.am: Add lib dependancies for libgnashbase and
14371 2006-08-12 Sandro Santilli <strk@keybit.net>
14373 * server/Makefile.am, server/thread.h: removed duplicated code
14374 (use libbase/Thread.h)
14376 2006-08-11 Sandro Santilli <strk@keybit.net>
14378 * gui/gtk.cpp: removed unused parameter warnings.
14379 * backend/sound_handler_gst.cpp: removed compiler warnings;
14380 minor optimizations and cleanups.
14382 2006-08-11 Vitaly Alexeev <tishka92@yahoo.com>
14384 * plugin\win32\npgnash.rc: updated include file name
14386 2006-08-11 Vitaly Alexeev <tishka92@yahoo.com>
14388 * libbase\curl_adapter.cpp: fixed VC++ compiler error
14390 2006-08-11 Vitaly Alexeev <tishka92@yahoo.com>
14392 * server\swf\ASHandlers.cpp: removed assert(0),
14393 no actionscript operation should lead to crash player, including
14394 "x=new MyClass();".
14396 2006-08-10 Rob Savoye <rob@bertha.welcomehome.org>
14398 * gui/Makefile.am: Add more libraries to AM_LDFLAGS.
14399 * libamf/Makefile.am: Remove the rest of the amftest.
14400 * libamf/amf.cpp, amf.h, rtmp.cpp, rtmp.h: Much rearranging of
14401 code, plus additional code till libamf actually works now.
14402 * libamf/rtmp.h: Use gnash namespace instead of rtmp one.
14403 * libbase/log.h, log.cpp: Add support to hexify to optionally
14404 print ascii characters in a hex dump.
14405 * libbase/network.cpp: Add WriteNet().
14406 * libbase/utility.h: Include math.h for Darwin.
14407 * macros/gtkglext.m4: Use pkg-config if it exists.
14408 * macros/kde.m4: Add -L to KDE_LDFLAGS.
14409 * plugin/klash/klash.cpp: External variables are now defined
14411 * macros/pango.m4: Work around PPC Linux bug (YDL) with gtkglext
14412 and pango library dependancies.
14414 2006-08-10 Vitaly Alexeev <tishka92@yahoo.com>
14416 * gui\sdl.cpp, sdlsup.h: added key events handler and removed
14419 2006-08-10 Bastiaan Jacques <bastiaan@bjacques.org>
14421 * plugin/plugin{.cpp,.h}: General plugin code cleanup.
14423 2006-08-10 Vitaly Alexeev <tishka92@yahoo.com>
14425 * gui\sdl.cpp, sdlsup.h: added progress bar & showlogo stuf
14427 2006-08-10 Sandro Santilli <strk@keybit.net>
14429 * gui/gui.cpp: always call advance_root, no matter play_state
14430 (the advance_root function should take care of that); reintroduce
14432 * libbase/curl_adapter.cpp: removed compiler warnings.
14434 2006-08-10 annonygmouse <annonygmouse@yahoo.co.uk>
14436 * gui/gtk.cpp, gui/gui.cpp:
14437 make "CTRL- q, w, p" and ESC work again.
14439 2006-08-10 Sandro Santilli <strk@keybit.net>
14441 * server/asobj/NetConnection.cpp: added 'using namespace rtmp'
14442 directory, erroneously removed by a previous commit.
14443 * server/action_buffer.cpp: fixed hexify() call after it's
14446 2006-08-09 Vitaly Alexeev <tishka92@yahoo.com>
14448 * server\dlist.cpp: It is corrected (already again)
14449 a bug leading the wrong order of execution actionscript code/events
14451 2006-08-09 Vitaly Alexeev <tishka92@yahoo.com>
14453 * win32\readme.txt: warning was reduced
14454 * npgnash.dll: updated
14456 2006-08-09 Vitaly Alexeev <tishka92@yahoo.com>
14458 * plugin\plugin.cpp, plugin.h: added win32 multithread plugin stuff
14459 * plugin\player.cpp, player.h : removed, becouse source it is moved
14460 to plugin.cpp & plugin.h
14461 * win32\npgnash.vcproj: updated options
14462 * gnash.vcproj: removed, becouse it is moved to \win32\gnash folder
14464 2006-08-09 Bastiaan Jacques <bastiaan@bjacques.org>
14466 * plugin/plugin.cpp: Revise URL parsing to work for a single
14469 2006-08-09 Bastiaan Jacques <bastiaan@bjacques.org>
14471 * plugin/plugin.cpp: Don't abort on URL arguments without a name;
14472 merely ignore them (bug #17161).
14474 2006-08-09 Bastiaan Jacques <bastiaan@bjacques.org>
14476 * gui/gtk_glue_gtkglext.cpp: Fix typo. Properly dereference the
14477 argument to getopt() (bug #17265).
14478 * gui/gui.cpp: Remove an unused variable.
14480 2006-08-08 Rob Savoye <rob@bertha.welcomehome.org>
14482 * macros/atk.m4, curl.m4, glib.m4, gtk2.m4, jpeg.m4, libXML.m4,
14483 mad.m4, pango.m4, sdl.m4: Add /opt/local,{include,lib}, which is
14484 the path used by Darwin Ports.
14485 * server/as_object.h: Add math.h for Darwin.
14486 * server/movie_def_impl.h: Use %zu to print a size_t.
14487 * server/sprite_instance.cpp: Add math.h for Darwin.
14488 * server/asobj/Global.cpp: Include GMath.h now.
14489 * server/asobj/Makefile.am: Renameed Math.h to Gmath.h.
14490 * server/asobj/Math.cpp: Include GMath.h now.
14491 * server/asobj/NetConnection.cpp: Removed lines 49-48.
14492 * server/asobj/Math.h: Renamed to Gmath.h to avoid a name
14493 collision on Darwin.
14495 2006-08-08 Vitaly Alexeev <tishka92@yahoo.com>
14497 * gui\gnash.cpp: ported to win32
14498 * gui\NullGui.cpp: ported to win32
14499 * gui\sdl.cpp: ported to win32
14501 2006-08-08 Vitaly Alexeev <tishka92@yahoo.com>
14503 * plugin\mozilla-sdk\npplat.h: ported to win32
14504 * libamf\amf.cpp: fixed compiler warning
14505 * libbase\container.cpp: stricmp --> _stricmp
14506 * libamf\rtmp.cpp: ported to win32
14507 * libbase\tu_timer.cpp: added win32 include file
14508 * ibbase\URL.cpp: cleanuped comment
14509 * win32\gnash\gnash.vcproj: updated VC++ options
14510 * win32\npgnash\npgnash.vcproj: updated VC++ options
14512 2006-08-08 Sandro Santilli <strk@keybit.net>
14514 * gui/gnash.cpp, utilities/processor.cpp: notify about -vp -va
14515 requests being ignored when VERBOSE_ACTION and VERBOSE_PARSE
14517 * server/dlist.cpp: commented out GNASH_REPORT_FUNCTION (we should
14518 also make these no-op with a macro).
14520 2006-08-08 Sandro Santilli <strk@keybit.net>
14522 * libbase/log.cpp (log_action): don't check getActionDump(),
14523 assume callers use IF_VERBOSE_ACTION instead.
14524 * libbase/log.h: added IF_VERBOSE_ACTION and VERBOSE_ACTION
14525 macros (latter is defined by default).
14526 * server/ActionExec.cpp, server/action_buffer.cpp, server/array.cpp,
14527 server/as_environment.cpp, server/button.cpp, server/morph.cpp,
14528 server/styles.cpp, server/swf/ASHandlers.cpp: wrap all log_action
14529 calls inside IF_VERBOSE_ACTION
14531 2006-08-08 Sandro Santilli <strk@keybit.net>
14533 * server/text.cpp: wrapper log_parse calls in IF_VERBOSE_PARSE.
14534 * libbase/log.h: fixed IF_VERBOSE_PARSE macro
14536 2006-08-08 Sandro Santilli <strk@keybit.net>
14538 * libbase/log.cpp (log_parse): removed check for
14539 dbglogfile.getParserDump() - it's checked by IF_VERBOSE_PARSE
14541 * libbase/log.h: added IF_VERBOSE_PARSE macro, either no-op
14542 or checks for dbglogfile.getParserDump(), depending on
14543 VERBOSE_PARSE macro (defaults to 1).
14544 * server/edit_text_character_def.cpp, server/font.cpp,
14545 server/movie_def_impl.cpp, server/shape_character_def.cpp,
14546 server/sprite_definition.cpp, server/stream.cpp, server/styles.cpp,
14547 server/swf/tag_loaders.cpp: wrapped all log_parse calls inside
14548 IF_VERBOSE_PARSE().
14550 2006-08-07 Sandro Santilli <strk@keybit.net>
14552 * server/swf/ASHandlers.cpp: allow WaitForFrame actions
14553 to always wait (and never skip actions) by mean of
14554 a compile-time define.
14555 * server/sprite_instance.cpp: simplified code in advance_root
14556 to use the new specialized movie_definition::load_next_frame_chunk()
14557 * server/movie_def_impl.cpp: implemented frame chunk loading,
14558 with chunks currently set to 64 frames (FRAMELOAD_CHUNK def);
14559 Added DEBUG_FRAMES_LOAD define.
14560 * server/movie_definition.h, server/sprite_definition.h,
14561 server/movie_def_impl.h:
14562 Added load_next_frame_chunk() virtual method.
14563 * server/ActionExec.cpp (skip_actions): simplified code.
14564 * server/swf/ASHandlers.cpp (ActionBranchIfTrue):
14565 assertion checking, minor cleanup.
14566 * gui/gui.cpp: removed unused parameters warnings
14567 * server/stream.h: added skip_bytes() method
14568 * server/swf/tag_loaders.cpp: fixed compiler warnings.
14570 2006-08-07 Bastiaan Jacques <bastiaan@bjacques.org>
14572 * server/movie_def_impl.h: Fix return types to match declarations.
14574 2006-08-07 Sandro Santilli <strk@keybit.net>
14576 * server/asobj/NetConnection.cpp: added rtmp namespace in
14577 search path (didn't build with g++ 3.3.5 otherwise)
14579 2006-08-06 Vitaly Alexeev <tishka92@yahoo.com>
14581 * libbase/URL.cpp: added win32 path parsing
14582 * win32: added new folder with VC++ projects of gnash & gnash plugin.
14583 This folder also contains executable files: "gnash.exe" and firefox
14584 plugin "gnash.dll".
14585 * plugin/win32/: added new folder with stuff of Win32 Firefox plugin.
14586 * gnash.vcproj: Remove as this now live in win32.
14588 2006-08-05 Rob Savoye <rob@bertha.welcomehome.org>
14590 * configure.ac: Rewrite strcasecmp to use AC_TRY_COMPILE instead
14591 of AC_CHECK_HEADER which keeps failing on FC5-x86.
14592 * libbase/container.cpp, container.h, jpeg.cpp, membuf.cpp,
14593 network.cpp, rc.cpp, triangulate_impl.h, tu_file.cpp, utility.cpp,
14594 zlib_adapter.cpp, axial_box.h, collision.cpp: Minor tweaks to
14595 remove compiler warnings with the latest GCC on FC5. Printing
14596 size_t should use %zd, and many unused parameters are commented
14597 out to reduce warnings.
14598 * libgeometry/kd_tree_dynamic.cpp, kd_tree_packed.cpp: Minor
14599 tweaks to remove compiler warnings with the latest GCC on
14600 FC5. Printing size_t should use %zd, and many unused parameters
14601 are commented out to reduce warnings.
14602 * macros/kde.m4: Use dnl to comment out serial, it's a reserved
14604 * server/ActionExec.cpp, MovieClip.cpp, action_buffer.cpp,
14605 as_environment.h, button.cpp, dlist.cpp, font.cpp, fontlib.cpp,
14606 movie.h, movie_root.cpp, shape_character_def.cpp, /shm.cpp,
14607 sound.cpp, sprite_definition.cpp, sprite_instance.cpp,
14608 sprite_instance.h, xml.cpp, xmlnode.cpp, xmlsocket.cpp: Minor
14609 tweaks to remove compiler warnings with the latest GCC on
14610 FC5. Printing size_t should use %zd, and many unused parameters
14611 are commented out to reduce warnings.
14612 * server/asobj/NetConnection.cpp, NetConnection.h: Minor tweaks to
14613 remove compiler warnings with the latest GCC on FC5. Printing
14614 size_t should use %zd, and many unused parameters are commented
14615 out to reduce warnings.
14616 * server/swf/ASHandlers.cpp: Minor tweaks to remove compiler
14617 warnings with the latest GCC on FC5. Printing size_t should use
14618 %zd, and many unused parameters are commented out to reduce
14620 * utilities/parser.cpp: Minor tweaks to remove compiler warnings
14621 with the latest GCC on FC5. Printing size_t should use %zd, and
14622 many unused parameters are commented out to reduce warnings.
14623 * plugin/klash/Makefile.am: Add libamf.
14625 2006-08-05 Sandro Santilli <strk@keybit.net>
14627 * server/ActionExec.cpp: handled case where pc gets far after stop_pc
14628 * server/movie_def_impl.cpp: added comments about assertion in
14629 ensure_frame_loaded() for target frame < loaded frame case.
14630 * server/sprite_definition.h: fixed ensure_frame_loaded() to not
14631 proxy to movie_definition but rather always return true (includes
14633 * server/sprite_instance.cpp: added FRAMELOAD_CHUNK define to load
14634 frames in chunks in advance_root(); reintroduced ensure_frame_loaded()
14635 call in goto_frame()
14636 * server/sprite_instance.h: added get_loaded_frame() public method.
14637 * server/swf/ASHandlers.cpp: simplified WaitForFrame action handlers
14638 to use the new sprite_instance::get_loaded_frame() method.
14640 2006-08-04 Sandro Santilli <strk@keybit.net>
14642 * server/swf/ASHandlers.cpp: implemented ActionWaitForFrame
14643 and ActionWaitForFrameExpression()
14644 * server/sprite_instance.cpp, server/sprite_instance.h:
14645 added get_frame_number(as_value& frame_spec) for common
14647 * server/movie_definition.h: added doxygen comment
14648 * server/ActionExec.cpp, server/ActionExec.h: added
14649 skip_actions() for use with WaitForFrame
14650 * server/execute_tag.h: removed unused parameter warning.
14651 * gui/NullGui.h: removed unused parameters warnings.
14652 * server/character.h, server/movie_def_impl.cpp,
14653 server/movie_def_impl.h, server/movie_definition.h,
14654 server/movie_interface.h, server/movie_root.cpp,
14655 server/movie_root.h, server/sprite_definition.h,
14656 server/sprite_instance.cpp, server/sprite_instance.h:
14657 Fixed more frame number types to be size_t rather then int;
14658 added some doxygen comments; fixed ensure_frame_loaded calls
14659 to not erroneusly using sprite frames rather then movie frames;
14660 removed ensure_frame_loaded calls from goto_frame (will need
14661 further thinking about it).
14663 2006-08-04 Sandro Santilli <strk@keybit.net>
14665 * testsuite/actionscript.all/Makefile.am: added rule to cleanup
14666 temporary files created by new ming versions.
14667 * server/sprite_instance.cpp (init_builtins): don't init builtins
14669 * testsuite/misc-ming.all/spritehier.c: fixed code to really
14670 include 3 DoAction blocks.
14672 2006-08-04 Sandro Santilli <strk@keybit.net>
14674 * libbase/smart_ptr.h, server/action_buffer.h, server/character.h,
14675 server/impl.h: removed unused parameter warning.
14676 * testsuite/misc-ming.all/spritehier.c: updated to test
14677 framesloaded/currentframe.
14678 * server/sprite_instance.cpp: fixed _framesloaded
14679 member to return loaded (not total) frames.
14680 * server/sprite_definition.cpp: added check for
14681 nested DefineSprite (malformed SWF).
14683 2006-08-03 Sandro Santilli <strk@keybit.net>
14685 * server/character.h, server/impl.cpp, server/movie.h,
14686 server/movie_def_impl.cpp, server/movie_def_impl.h,
14687 server/movie_definition.h, server/movie_interface.h,
14688 server/movie_root.cpp, server/movie_root.h,
14689 server/sprite_definition.cpp, server/sprite_definition.h,
14690 server/sprite_instance.cpp, server/sprite_instance.h,
14691 server/swf/ASHandlers.cpp:
14692 Implemented incremental loading of movie (streaming);
14693 fixed lots of references to frame numbers to be expressed
14694 with size_t type rather then int.
14697 2006-08-03 Sandro Santilli <strk@keybit.net>
14699 * server/swf/tag_loaders.cpp: warn only once and avoid parsing
14700 tags when no GST sound backend is selected and unsupported sound
14701 tags are encountered.
14702 * server/gnash.h, server/impl.cpp, server/movie_def_impl.cpp,
14703 server/movie_def_impl.h, server/sound.cpp, server/sound.h,
14704 server/swf/tag_loaders.cpp, server/swf/tag_loaders.h:
14705 Moved sound tag loaders to tag_loaders, moved s_sound_handler
14706 instance to globals namespace, made adpcm_expand a static
14707 method of sound_handler class.
14709 2006-08-03 Sandro Santilli <strk@keybit.net>
14711 * libbase/rc.cpp: initialize RcInitFile::_delay to 0 (undefined).
14712 * server/as_environment.cpp, server/swf/ASHandlers.cpp:
14713 removed superflous newlines at end of debug messages.
14715 2006-08-02 Sandro Santilli <strk@keybit.net>
14717 * server/font.cpp, server/font.h: tu_hash => std::map, minor
14718 optimizations, more verbose parsing.
14719 * gui/Makefile.am: use a GNASH_LIBS variable, to make future
14720 additions cleaner. Fixes missed link of libamf.la in 'gnash'
14723 2006-08-01 Rob Savoye <rob@wharfrat.welcomehome.org>
14725 * libamf/Makefile.am: Don't bother to build amftest, now that I
14726 can debug with live data.
14728 * libamf/amf.cpp, amf.h: Changes for cleaner 64 bit support.
14729 * libamf/rtmp.cpp, rtmp.h: Read multiple packets till the entire
14731 * macros/kde.m4: Remove 64 libraries as weel as 32 bit ones for
14734 2006-08-01 Rob Savoye <rob@darkstar.welcomehome.org>
14736 * configure.ac: Change testing to disabled by default.
14737 * Makefile.am: Always build libamf now, the networking code
14739 * gui/Makefile.am: Add libamf to the link line.
14740 * gui/gnash.cpp: Add support for reading the config file.
14741 * libamf/Makefile.am: Add RTMP support files.
14742 * libbase/network.cpp: Add = operator. Add support for passing a
14743 timeout to all functions using select().
14744 * libamf/rtmp.h, rtmp.cpp: New RTMP protocol support, both client
14745 side and server side.
14746 * libamf/protocol.h: Bases class for network protocols.
14747 * libbase/network.h: Always compile in the accesors, the =
14748 operator needs them.
14749 * libbase/rc.cpp, rc.h: Add documentroot variable.
14750 * plugin/Makefile.am: Add libamf to the link line.
14751 * server/asobj/Makefile.am: Add libamf to the link line.
14752 * server/asobj/NetConnection.cpp: Add establishing the RTMP
14753 connection for connect().
14754 * utilities/Makefile.am: Add libamf to the link line.
14756 2006-08-01 Sandro Santilli <strk@keybit.net>
14758 * server/font.h: fixed extra qualification in declaration (bug #17247)
14759 * configure.ac: output cleanups
14760 * server/shape_character_def.cpp: cleanups in read_fill_styles
14761 and read_line_styles.
14763 2006-08-01 annonygmouse <annonygmouse@yahoo.co.uk>
14765 * gui/gnash.cpp, gui/gtk.cpp, gui/gtksup.h, gui/gui.h, gui/sdl.cpp,
14766 gui/sdlsup.h: add Gui::createWindow() function taking window
14767 title, with default implementation discarding it. Changed
14768 gui/gnash.cpp to use the new signature.
14770 2006-08-01 Sandro Santilli <strk@keybit.net>
14772 * server/font.h, server/font.cpp: split read of DefineFont and
14774 * server/swf/tag_loaders.cpp: more use of symbolic names for SWF tags.
14775 * server/samples/sound1.README: added description of sound1.swf.
14776 * backend/Makefile.am, backend/sound_handler_mp3.cpp,
14777 backend/sound_handler_sdl.cpp, server/Makefile.am,
14778 server/sound_handler_mp3.cpp:
14779 Moved sound_handler_mp3 from server/ to backend/,
14780 enabled build (needs --enable-sound=sdl --enable-mp3)
14781 * configure.ac: disable sound by default, set nogo=true
14782 when sdl sound is requested but dependencies are not
14785 2006-07-31 Sandro Santilli <strk@keybit.net>
14787 * gui/Makefile.am, gui/NullGui.cpp, gui/NullGui.h,
14788 gui/gnash.cpp, gui/gui.h:
14789 Moved NullGui class into its own files, implemented
14790 frame delay in NullGui so that sound doesn't choke.
14792 2006-07-31 Sandro Santilli <strk@keybit.net>
14794 * gui/gui.h: added NullGui class definition.
14795 * gui/gnash.cpp: use Gui trough a pointer, to allow for
14796 dynamic polymorphism. Use NullGui when rendering is
14799 2006-07-30 Rob Savoye <rob@darkstar.welcomehome.org>
14801 * libbase/Thread.h, Thread.cpp: Base class for handling threads.
14802 * server/network.h, network.cpp: Remove as they now live in
14804 * server/Makefile.am: Remove network.
14805 * libbase/network.h, network.cpp: Move from server as this is
14806 really a base class.
14807 * server/Makefile.am: Add network to libbase library.
14809 2006-07-29 Sandro Santilli <strk@keybit.net>
14811 * server/swf/ASHandlers.cpp, server/swf/ASHandlers.h:
14812 merged GetUrl and GetUrl2 common code into a CommonGetUrl
14814 * server/movie_root.cpp, server/movie_root.h:
14815 assert that movie_root::get_url is never called.
14817 2006-07-29 Rob Savoye <rob@ripple.welcomehome.org>
14819 * macros/glib.m4: Use pkg-config if it exists.
14821 2006-07-29 Sandro Santilli <strk@keybit.net>
14823 * libbase/URL.cpp, libbase/URL.h, server/StreamProvider.cpp:
14824 moved host security checking from URL class to StreamProvider
14825 class. Do not check security for local files anymore, and
14826 prevents checking security on temporary URL instances
14827 (used for relative urls resolution)
14829 2006-07-29 Sandro Santilli <strk@keybit.net>
14831 * testsuite/libbase/Makefile.am, plugin/Makefile.am,
14832 testsuite/libbase/Makefile.am:
14833 commented out AM_LDFLAGS (rely on helper libs deps)
14834 * backend/Makefile.am: make sure GLIB_LIBS is listed
14835 before other libraries
14836 * gui/Makefile.am, utilities/Makefile.am:
14837 add GLIB_LIBS to AM_LDFLAGS to make sure
14838 user-provided paths are used rather then the
14839 ones found by libtool in dependent packages
14840 (seems not the cleanest solution, but it worked for me)
14842 2006-07-29 Sandro Santilli <strk@keybit.net>
14844 * macros/pthreads.m4: don't add -I/usr/include
14845 (should already be in the default search path)
14846 * gui/gnash.cpp: fixed typo in -r help
14847 * gui/Makefile.am: comment out AM_LDFLAGS (rely on dependencies
14848 extracted from .la files)
14849 * Makefile.am: add KDE_INCLUDES and KDE_LDFLAGS to
14850 'dumpconfig' output.
14852 2006-07-28 Rob Savoye <rob@wharfrat.welcomehome.org>
14854 * macros/opengl.m4: Make sure glu.h and libGLU also exist.
14855 * macros/kde.m4: Don't force KDE_LDFLAGS to have /usr/lib.
14856 * macros/libXML.m4: Remove /usr/lib from the output of
14858 * configure.ac: Only enable -pedantic -ansi when
14859 --enable-lotsa-warnings is used when configuring.
14861 2006-07-28 Sandro Santilli <strk@keybit.net>
14863 * macros/libXML.m4: don't use -L when lib dir is /usr/lib
14864 (this prevents polluting the libs search path).
14865 Note that this won't work if xml2-config spits out -L/usr/lib,
14866 but you can still override it with explicit --with-xml-libraries.
14868 2006-07-27 Sandro Santilli <strk@keybit.net>
14870 * utilities/Makefile.am: remove all LIBS references, deps
14871 are derived from Gnash libs (simplifies things a lot)
14872 * macros/glib.m4: Fix the fix of --with-glib-lib.
14874 2006-07-27 Rob Savoye <rob@wharfrat.welcomehome.org>
14876 * macros/glib.m4: Fix --with-glib-incl and --with-glib-lib options
14879 2006-07-27 Tomas Groth Christensen <tomasgroth@yahoo.dk>
14881 * backend/sound_handler_gst.cpp: Made the log messages more
14884 2006-07-27 Bastiaan Jacques <bastiaan@bjacques.org>
14886 * configure.ac: Allow us to specify --enable-sound=none. Default to
14887 -pedantic -Wno-long-long for GCC.
14888 * backend/render_handler_ogl.cpp: Remove unneeded #includes.
14889 * gui/gtk_glue_cairo{.cpp, h}: Move an include to the .cpp file,
14890 where it's actually used.
14891 * libbase/jpeg.cpp: Don't let jpeglib.h redefine HAVE_STDLIB_H.
14892 * libbase/Makefile.am: Remove ogl{.cpp,h} from the build.
14893 * macros/cairo.m4: Add -lcairo to the Cairo LDFLAGS, if needed.
14894 * plugin/plugin.cpp: trivially fix warnings.
14895 * server/shm.cpp: Remove an unused variable.
14896 * server/asobj/Date.cpp: Make sure the recipient buffer size
14897 matches the size parameter passed to snprintf(), to prevent
14900 2006-07-27 Sandro Santilli <strk@keybit.net>
14902 * macros/gstreamer.m4: fixed handling of --with-gst-lib,
14904 * utilities/Makefile.am: added GSTREAMER_LIBS
14905 * doc/C/gnash.xml: updated doc for -r switch
14906 * gui/gnash.cpp: changed semantic of -r switch:
14907 0: disable both rendering and sound
14908 1: enable rendering only (changed!)
14909 2: enable sound only (as before)
14910 3: enable both (new, previously done by 2)
14912 2006-07-27 Bastiaan Jacques <bastiaan@bjacques.org>
14914 * all over the place: Facilitate the use of -pedantic in combination
14915 with -ansi by avoiding non-ISO C++. Avoid extra semicolons. Use the
14916 `l' instead of the `z' length modifier in printf-style sequences.
14918 2006-07-27 Ivor Blockley <meteoryte@yahoo.com.au>
14920 * gui/{gtk.cpp, gui.cpp, gui.h, sdl.cpp}, server/{movie.h,
14921 movie_interface.h, movie_root.cpp, movie_root.h}: Make sure that no
14922 mouse events are ignored by handling them outside of the advance_movie
14925 2006-07-27 Sebastià Annonygmouse <annonygmouse@yahoo.co.uk>
14927 * plugin/plugin.cpp: Don't assume anything about the value of
14930 2006-07-26 Tomas Groth Christensen <tomasgroth@yahoo.dk>
14932 * gnash.vcproj: Added backend/sound_handler_gst.cpp.
14933 * backend/sound_handler_gst.cpp: Use of more gstreamer plugins.
14934 * backend/gnash.cpp, backend/sound_handler_sdl.cpp,
14935 plugin/player.cpp, plugin/klash/klash.cpp, server/gnash.h,
14936 server/sound.cpp: Use SOUND_GST and SOUND_SDL to select which
14937 soundbackend to use.
14938 * server/swf/ASHandlers.cpp: Stop soundplayback when gotoframe
14939 and stop is called.
14941 2006-07-26 Sandro Santilli <strk@keybit.net>
14943 * gui/gnash.cpp: use SOUND_GST and SOUND_SDL to switch
14944 between sound handlers.
14945 * utilities/Makefile.am: add CAIRO_LIBS.
14946 * macros/gtk2.m4: fixed typo
14947 * libbase/Makefile.am: don't build ogl.cpp when not using OPENGL
14948 rendered. Don't build tu_file_SDL.cpp if HAS_SDL is not set.
14949 * configure.ac: don't complain about missing SDL_Mixer
14950 if Gstreamer sound is requested
14952 2006-07-26 Vitaly Alexeev <tishka92@yahoo.com>
14954 * server/movie_def_impl.cpp: fixing bug #17110
14955 * server/sprite_instance.cpp: xscale & yscale may be > 100
14957 2006-07-26 Vitaly Alexeev <tishka92@yahoo.com>
14959 * server/AutoExec.cpp: small optimization is done
14961 2006-07-26 Sandro Santilli <strk@keybit.net>
14963 * configure.ac: print GSTREAMER flags if gst sound is enabled
14964 (also abort if the lib is not found)
14965 * macros/glib.m4: fixed to allow for custom glib installations
14966 * configure.ac, backend/Makefile.am: add --enable-sound option
14967 to select between SDL or GSTREAMER
14968 * backend/sound_handler_gst.cpp: don't use broken HAVE_GST_GST_H
14969 macro, rather trust builder and use what's specified in
14972 2006-07-26 Bastiaan Jacques <bastiaan@bjacques.org>
14974 * backend/sound_handler_gst.cpp: When reallocating, don't forget to
14975 copy the old buffer contents.
14977 2006-07-25 Sandro Santilli <strk@keybit.net>
14979 * configure.ac: move XML2 and GLIB macro calls before gstreamer
14980 one, so we can use LIBXML_CFLAGS and GLIB_CFLAGS when checking
14981 for gstreamer headers.
14982 * macros/gstreamer.m4: always run AC_CHECK_HEADERS for gstreamer
14983 so to get HAVE_GST_GST_H defined; fixed AC_CHECK_LIB call to
14984 use an actually available function in libgstreamer-0.10.so
14985 * macros/gstreamer.m4: --with-gstreamer => --with-gst,
14986 look for libgstreamer-0.10.so rather then for libgstplaybin.so,
14987 fixed handling of --with-gst-libs (was using value given to
14988 --with-gst-incl instead)
14989 * libbase/log.cpp: another small optimization.
14990 * server/ActionExec.cpp: don't call stack dumper
14991 unless -va is given (another optimization)
14993 2006-07-25 Bastiaan Jacques <bastiaan@bjacques.org>
14995 * configure.ac: The correct option is --enable-plugin, not
14997 * backend/sound_handler_gst.cpp: Don't use realloc() on operator
14998 new-allocated pointers. Do some trivial cleanup.
14999 * backend/sound_handler_sdl.cpp: Trivially fix warnings.
15000 * server/edit_text_character.cpp: Likewise.
15001 * server/sound.cpp: Ensure that the sample rate is in the acceptable
15002 range, to avoid invalid memory accesses.
15004 2006-07-25 Vitaly Alexeev <tishka92@yahoo.com>
15006 * libbase/log.cpp: small optimization is done
15008 2006-07-25 Rob Savoye <rob@wharfrat.welcomehome.org>
15010 * macros/gstreamer.m4: Fix the --with options. Change to
15011 --with--gst, instead of --with-gstreamer. Look for the correct
15012 header file and library.
15014 2006-07-25 Lukasz Stelmach <stlman@poczta.fm>
15016 * macros/sdl.m4: fix --with-sdl-mixer-lib handling.
15018 2006-07-25 Vitaly Alexeev <tishka92@yahoo.com>
15020 * server/edit_text_character.h, edit_text_character.cpp:
15021 fixed input_edit_text cursor bug (center, right alignment)
15023 2006-07-25 Sandro Santilli <strk@keybit.net>
15025 * plugin/klash/Makefile.am: fixed libgnashasobj.la path.
15026 * backend/Makefile.am: gtk stuff is source for
15027 the deprecated backend/gnash.cpp, not libbackend
15028 (which should rely on RENDERER_SORCES instead)
15030 2006-07-25 Rob Savoye <rob@wharfrat.welcomehome.org>
15032 * Makefile.am: Print the Gstreamer paths for dumpconfig.
15033 * macros/pkg.m4: Add macros to find pkg-config.
15034 * macros/gstreamer.m4: If pkg-config exists, use it, otherwise
15035 look for the correct header file and libraries.
15036 * configure.ac: Look for pkg-config.
15038 2006-07-24 Sandro Santilli <strk@keybit.net>
15040 * macros/gstreamer.m4: report result of headers checking
15041 (note: doesn't work with required gstreamer version)
15042 * plugin/Makefile.am: fixed reference to libgnashasobjs.la
15044 2006-07-24 Tomas Groth Christensen <tomasgroth@yahoo.dk>
15046 * backend/sound_handler_gst.cpp, backend/sound_handler_sdl.cpp,
15047 server/button.cpp, server/gnash.h, server/movie_def_impl.h,
15048 server/movie_definition.h, server/sound.cpp,
15049 server/sprite_definition.h, server/asobj/ASSound.cpp:
15050 Restructured the way sound streams are treated. Not much different
15051 in playing yet, but it will help later.
15053 2006-07-24 Vitaly Alexeev <tishka92@yahoo.com>
15054 * gnash.vcproj: added /server/asobj files
15055 * server/swf/ASHandlers.h: small optimization is done
15056 * server/swf/ASHandlers.cpp: small optimization is done
15058 2006-07-24 Tomas Groth Christensen <tomasgroth@yahoo.dk>
15060 * Makefile.am, backend/Makefile.am, backend/gnash.cpp,
15061 backend/sound_handler_gst.cpp gui/gnash.cpp, plugin/player.cpp,
15062 server/gnash.h: Added the new Gstreamer based soundbackend. It still
15065 2006-07-23 Sandro Santilli <strk@keybit.net>
15067 * gui/gnash.cpp: fixed delay to respect FPS.
15068 * configure.ac, backend/Makefile.am, gui/Makefile.am,
15069 server/ASSound.cpp, server/ASSound.h, server/Boolean.cpp,
15070 server/Boolean.h, server/Camera.cpp, server/Camera.h,
15071 server/Color.cpp, server/Color.h, server/ContextMenu.cpp,
15072 server/ContextMenu.h, server/CustomActions.cpp,
15073 server/CustomActions.h, server/Date.cpp, server/Date.h,
15074 server/Error.cpp, server/Error.h, server/Global.cpp, server/Key.cpp,
15075 server/Key.h, server/LoadVars.cpp, server/LoadVars.h,
15076 server/LocalConnection.cpp, server/LocalConnection.h,
15077 server/Makefile.am, server/Math.cpp, server/Math.h,
15078 server/Microphone.cpp, server/Microphone.h, server/Mouse.cpp,
15079 server/Mouse.h, server/MovieClipLoader.cpp, server/MovieClipLoader.h,
15080 server/NetConnection.cpp, server/NetConnection.h, server/NetStream.cpp,
15081 server/NetStream.h, server/Selection.cpp, server/Selection.h,
15082 server/SharedObject.cpp, server/SharedObject.h, server/Stage.cpp,
15083 server/Stage.h, server/System.cpp, server/System.h,
15084 server/TextSnapshot.cpp, server/TextSnapshot.h, server/Video.cpp,
15085 server/Video.h, server/asobj/ASSound.cpp, server/asobj/ASSound.h,
15086 server/asobj/Boolean.cpp, server/asobj/Boolean.h,
15087 server/asobj/Camera.cpp, server/asobj/Camera.h,
15088 server/asobj/Color.cpp, server/asobj/Color.h, server/asobj/.cvsignore,
15089 server/asobj/ContextMenu.cpp, server/asobj/ContextMenu.h,
15090 server/asobj/CustomActions.cpp, server/asobj/CustomActions.h,
15091 server/asobj/Date.cpp, server/asobj/Date.h, server/asobj/Error.cpp,
15092 server/asobj/Error.h, server/asobj/Global.cpp, server/asobj/Key.cpp,
15093 server/asobj/Key.h, server/asobj/LoadVars.cpp, server/asobj/LoadVars.h,
15094 server/asobj/LocalConnection.cpp, server/asobj/LocalConnection.h,
15095 server/asobj/Makefile.am, server/asobj/Math.cpp, server/asobj/Math.h,
15096 server/asobj/Microphone.cpp, server/asobj/Microphone.h,
15097 server/asobj/Mouse.cpp, server/asobj/Mouse.h,
15098 server/asobj/MovieClipLoader.cpp, server/asobj/MovieClipLoader.h,
15099 server/asobj/NetConnection.cpp, server/asobj/NetConnection.h,
15100 server/asobj/NetStream.cpp, server/asobj/NetStream.h,
15101 server/asobj/Selection.cpp, server/asobj/Selection.h,
15102 server/asobj/SharedObject.cpp, server/asobj/SharedObject.h,
15103 server/asobj/Stage.cpp, server/asobj/Stage.h,
15104 server/asobj/System.cpp, server/asobj/System.h,
15105 server/asobj/TextSnapshot.cpp, server/asobj/TextSnapshot.h,
15106 server/asobj/Video.cpp, server/asobj/Video.h, utilities/Makefile.am:
15107 Moved ActionScript built-in objects (client api) under own directory
15109 * configure.ac: fixed tip (suggest --enable-gui, not --with-gui)
15111 2006-07-17 Bastiaan Jacques <bastiaan@bjacques.org>
15113 * libbase/curl_adapter.cpp, server/{ActionExec.cpp, action_buffer.cpp,
15114 array.cpp, swf/ASHandlers.cpp, swf/tag_loaders.cpp}: Trivially fix
15117 2006-07-16 Bastiaan Jacques <bastiaan@bjacques.org>
15119 * gui/kde.cpp: Update setCallback() to match the arguments in the
15121 * plugin/plugin.{h,cpp}: Remove more unused OpenGL and GTK code.
15123 2006-07-15 Bastiaan Jacques <bastiaan@bjacques.org>
15125 * gui/gnash.cpp: Make sure the argument count is greater than two
15126 before treating an argument as a variable.
15127 * gui/gui.{cpp,h}: Remove unused member _xembed.
15128 * gui/{gnash.cpp,kdesup.h,sdl.cpp,sdlsup.h,gtk.cpp,gtksup.h}: Remove
15129 the unused first argument to setCallback().
15130 * plugin/plugin.cpp: Don't do any OpenGL initialization in the plugin,
15131 because the forked gnash does this on its own.
15133 2006-07-14 Bastiaan Jacques <bastiaan@bjacques.org>
15135 * gui/gui.cpp: Don't ignore the arguments passed to the Gui class
15138 2006-07-14 Bastiaan Jacques <bastiaan@bjacques.org>
15140 * Makefile.am: revert latest change to fix the build.
15142 2006-07-11 Sandro Santilli <strk@keybit.net>
15144 * Makefile.am: don't make in backend/ (but distribute it)
15145 * configure.ac: fixed plugin config message to avoid confusion
15146 (default is disabled, not enabled).
15148 2006-07-11 Bastiaan Jacques <bastiaan@bjacques.org>
15150 * gui/{gtk.cpp, gtk_glue.h, gtk_glue_cairo.cpp, gtk_glue_cairo.h,
15151 gtk_glue_gtkglext.cpp, gtk_glue_gtkglext.h, gtksup.h}: To facilitate
15152 moving some GtkGlExt code into the appropriate glue, add a Gtk
15153 configure event handler to the GtkGlue class and derivatives. Disable
15154 some unused Gtk event handlers.
15156 2006-07-10 Sandro Santilli <strk@keybit.net>
15158 * gui/gtk.cpp: added missing gtkgl.h include
15159 * backend/render_handler_cairo.cpp: removed comma at end of
15160 enumeration list (pedantic error).
15161 * backend/Makefile.am: commented out 'gnash' build
15162 (there will be a 'gnash' program built under gui/)
15163 * Makefile.am: added gui/ subdir
15164 * server/edit_text_character.cpp: fixed tu_string => std::string
15166 * testsuite/actionscript.all/swf_exists.exp:
15167 use gprocessor -v rather then backend/gnash (we/re moving to gui).
15168 clean up also <file>.swf.frame0.pp (new preprocessor output name
15169 from upcoming Ming 0.4)
15171 2006-07-10 Vitaly Alexeev <tishka92@yahoo.com>
15173 * server\action.h, action.cpp: added SETFOCUS & KILLFOCUS events codes
15174 * server\edit_text_character_def.h: added get_readonly() for
15175 edit_text_character entity
15176 * server\edit_text_character.h, edit_text_character.cpp:
15177 added SETFOCUS & KILLFOCUS event handler and input edit text stuff
15178 * server\Key.h, Key.cpp: keypress event handler moved to movie_root,
15179 because every root must have own event handler
15180 * server\movie_root.h, movie_root.cpp: added m_active_input_text which
15181 points to current entity having focus and related get_active_entity,
15183 * server\button.cpp: added SETFOCUS & KILLFOCUS events initiator
15184 * server\array.h, as_function.h, as_object.cpp: ported to WIN32
15185 * backend\gnash.cpp: fixed bug that led to processing of not arisen
15187 * server\button.cpp, sprite_instance.cpp:
15188 add_keypress_listener --> m_root.add_keypress_listener
15189 * gnash.vcproj: added new files
15191 2006-07-10 Sandro Santilli <strk@keybit.net>
15193 * gui/.cvsignore: new file
15195 2006-07-08 Sandro Santilli <strk@keybit.net>
15197 * server/Function.cpp, server/Function.h: removed obsoleted files.
15198 * TODO: removed ActionNewMethod from missing opcodes
15199 * server/swf/ASHandlers.cpp: implemented ActionNewMethod,
15200 added static construct_object() utility function.
15201 * server/System.cpp: handled 'new System' attempts.
15202 * testsuite/actionscript.all/System.as: don't try
15203 to instantiate the non-instantiatable 'System' class.
15204 * server/action.cpp, server/action.h: cleaned up and documented
15205 call_method function.
15206 * server/as_object.h, server/as_object.cpp:
15207 added public dump_members() and private set_prototype()
15210 2006-07-07 Stefan Schweizer <sschweizer@gmail.com>
15212 * libamf/Makefile.am, libgeometry/Makefile.am, plugin/Makefile.am,
15213 plugin/mozilla-sdk/Makefile.am:
15214 Use CXXFLAGS where appropriate; install plugin using libtool.
15216 2006-07-07 Sandro Santilli <strk@keybit.net>
15219 * server/swf/ASHandlers.cpp: implemented ActionEnum2
15220 (enumerate object), fixed ActionEnumerate to always set
15222 * server/ActionExec.cpp, server/Function.cpp, server/Function.h,
15223 server/Global.cpp, server/Makefile.am, server/MovieClipLoader.cpp,
15224 server/System.cpp, server/System.h, server/action.cpp,
15225 server/action_buffer.cpp, server/array.cpp, server/as_function.cpp,
15226 server/as_function.h, server/as_object.cpp, server/as_value.cpp,
15227 server/builtin_function.h, server/impl.cpp, server/impl.h,
15228 server/sprite_instance.cpp, server/string.cpp, server/swf_function.cpp,
15229 server/swf_function.h, server/timers.cpp, server/xml.cpp,
15230 server/xmlattrs.cpp, server/xmlnode.cpp, server/xmlsocket.cpp,
15231 server/swf/ASHandlers.cpp, server/swf/tag_loaders.cpp:
15232 Split Function.{h,cpp} into as_function.{h,cpp}, swf_function.{h,cpp}
15233 and builtin_function.{h,cpp}.
15235 2006-07-07 Sandro Santilli <strk@keybit.net>
15237 * server/action_buffer.cpp: don't log action at parse time
15238 (is redundant, as they are logged at execution time).
15239 * server/Function.cpp: fixed local registers handling in operator()
15240 for function2 (see the 1-based register WARNING below).
15241 * server/as_environment.cpp, server/as_environment.h:
15242 outlined local register functions, adding assertion checking.
15243 * server/ActionExec.cpp, server/MovieClipLoader.cpp,
15244 server/as_environment.cpp, server/as_environment.h,
15245 server/character.cpp, server/character.h, server/sprite_instance.cpp,
15246 server/sprite_instance.h, server/swf/ASHandlers.cpp:
15247 Changed as_environment's target to be a character rather
15248 then a sprite_instance (it seems buttons are valid targets);
15249 Handled invalid values for sprite_instance members
15250 _xscale and _yscale.
15251 * server/action_buffer.cpp, server/swf/ASHandlers.cpp:
15252 removed -pedantic compiler warnings, fixed a bug in
15253 fix_stack_underrun pushing more undefined values then
15256 2006-07-06 Sandro Santilli <strk@keybit.net>
15258 * server/array.cpp, server/array.h: implemented
15259 Array.sort(flags=0) method.
15260 * server/Global.cpp, server/array.cpp, server/array.h:
15261 had Array unimplemented methods print an ERROR with -v,
15262 renamed array_init to array_class_init and change signature
15264 * server/array.cpp: most functions made module-statics, indentation
15265 * testsuite/actionscript.all/array.as: "tostring" => "toString"
15266 (SWF 7 and up are case-sensitive in this); added tests for
15267 Array constants and instanceOf.
15268 * server/ActionExec.cpp, server/Function.cpp, server/Global.cpp
15269 server/as_environment.cpp, server/as_environment.h,
15270 server/swf/ASHandlers.cpp: environment's global and local registers
15271 made private; provided accessor methods checking for out of bound
15272 conditions; added dumpers for them. Updated all users.
15273 WARNING: 1-based register must be checked, but ming is unable
15274 to output Function2 code...
15277 2006-07-05 Sandro Santilli <strk@keybit.net>
15279 * testsuite/actionscript.all/Function.as:
15280 handled differences between player versions.
15281 * server/gstring.cpp:
15282 Provide all of "String" class interface as static methods
15283 (actionscript.all/String.swf testcases passes all now).
15284 * server/ActionExec.cpp, server/Function.cpp, server/Function.h,
15285 server/Global.cpp, server/MovieClip.cpp, server/MovieClipLoader.cpp,
15286 server/System.cpp, server/action.cpp, server/action.h,
15287 server/action_buffer.cpp, server/array.cpp, server/as_object.cpp,
15288 server/as_object.h, server/as_value.cpp, server/as_value.h,
15289 server/gstring.h, server/resource.h, server/sprite_instance.cpp,
15290 server/string.cpp, server/timers.cpp, server/xml.cpp,
15291 server/xmlsocket.cpp, server/swf/ASHandlers.cpp,
15292 server/swf/tag_loaders.cpp:
15293 Refactored ActionScript functions model.
15294 We now have a base as_function class and builting_function and
15295 swf_function being for builtin and user-defined functions/classes.
15296 (actionscript.all/Function.swf testcases passes all now).
15298 2006-07-05 Vitaly Alexeev <tishka92@yahoo.com>
15300 * backend\gnash.cpp: mouse_scaling.patch from Samuel Liden Borell <samuellb@bredband.net>
15301 * backend\gtksup.cpp: mouse_scaling.patch from Samuel Liden Borell <samuellb@bredband.net>
15302 * server\button.cpp: added button keypress event handler
15303 * server\Key.cpp: added button keypress event handler
15306 2006-07-04 Sandro Santilli <strk@keybit.net>
15308 * server/Function.h, server/swf/ASHandlers.cpp:
15309 most function_as_object members made private.
15311 2006-07-03 Sandro Santilli <strk@keybit.net>
15313 * testsuite/actionscript.all/Makefile.am,
15314 testsuite/actionscript.all/inheritance.as:
15315 New ActionScript inheritance test.
15317 2006-07-02 Sandro Santilli <strk@keybit.net>
15319 * server/ActionExecp.cpp: dump stack after each action execution
15320 when -va is provided (can switch off undefining DEBUG_STACK).
15321 * server/as_object.cpp: reduced noise on -va.
15322 * gui/gui.cpp: fixed Gui constructors to correctly set scale.
15323 Mouse events now work as expected.
15324 * server/MovieClipLoader.cpp, server/action.cpp,
15325 server/as_environment.cpp, server/as_environment.h,
15326 server/button.cpp, server/button.h, server/character.h,
15327 server/character_def.cpp, server/character_def.h,
15328 server/edit_text_character.cpp, server/edit_text_character.h,
15329 server/edit_text_character_def.cpp, server/edit_text_character_def.h,
15330 server/generic_character.h, server/sprite_definition.cpp,
15331 server/sprite_definition.h, server/sprite_instance.cpp,
15332 server/sprite_instance.h:
15333 Characters's parents are now characters (not sprite_instances).
15334 This is required to have child characters for buttons and
15335 edit_text and other characters (see Vitaly's patch for bug #16969
15338 2006-07-01 Vitaly Alexeev <tishka92@yahoo.com>
15340 * server\button.cpp: fixed bug #16969
15342 2006-07-01 Sandro Santilli <strk@keybit.net>
15344 * server/as_environment.cpp, server/as_environment.h:
15345 changed register-related functions to use unsigned
15346 ints rather the ints for offsets.
15347 * server/as_environment.cpp, server/as_environment.h:
15348 added a get_version() method to hide implementation.
15349 * server/ActionExec.cpp, server/sprite_instance.cpp,
15350 server/swf/ASHandlers.cpp: use env.get_version()
15351 rather then own-rolled version extracter.
15352 * server/Global.cpp: tolerate (don't abort) unimplemented
15353 ASSetPropFlags with non-object 'props' argument.
15355 2006-06-30 Sandro Santilli <strk@keybit.net>
15357 * server/swf/ASHandlers.cpp (ActionGetUrl): fixed read
15358 of 'target' parameter (action still not fully implemented,
15360 * server/dlist.cpp: (advance): keep characters alive
15361 during advancement of them, in case they get removed
15362 from the DisplayList (see bug #16815).
15363 * server/swf/ASHandlers.cpp: fixed bugus stack drop
15364 in ActionWaitForFrame, added pseudo-code implementation of
15365 it and ActionWaitForFrameExpresion.
15366 * server/swf/ASHandlers.cpp, server/swf/ASHandlers.h:
15367 added ensure_stack() function to use by action handlers
15368 to check stack size before attempting to fetch from it.
15369 This cleanly handles malformed SWF and prints an error about
15372 2006-06-30 Vitaly Alexeev <tishka92@yahoo.com>
15374 * server\sprite_instance.cpp: fixed elvis.swf bug
15376 2006-06-30 Sandro Santilli <strk@keybit.net>
15378 * server/swf/ASHandlers.cpp (SWFHandlers::ActionLogicalOr):
15379 "or" values, don't "and" them.
15381 2006-06-30 Vitaly Alexeev <tishka92@yahoo.com>
15383 * server\character.h: fixed small bug
15384 * server\swf\ASHandlers.cpp: fixed small bug
15387 2006-06-30 Sandro Santilli <strk@keybit.net>
15389 * server/Global.cpp: removed useless C-style casts.
15390 * server/ActionExec.cpp: print stack debugging
15391 informations during actions execution if DEBUG_STACK
15392 is defined (undef by default) and -v is given on command line.
15393 * server/swf/ASHandlers.cpp, server/swf/ASHandlers.h:
15394 static action handlers made private in SWFHandlers class;
15395 added an SWFHandlers::action_name(action_type) utility method.
15396 * server/as_environment.h (dump_stack): display stack contents
15397 on a single line, to enhance readibility of stack changes.
15398 * server/action.cpp: removed useless ASHandlers.h include.
15399 * gui/gui.cpp: added missing sprite_instance.h
15400 include after refactoring commit.
15402 2006-06-29 Vitaly Alexeev <tishka92@yahoo.com>
15404 * server\actionexec.h: ported to win32
15405 * server\ActionExec.cpp: commented unnecessary log_msg
15406 * server\character_def.h: ported to win32
15407 * server\as_environment.h: ported to win32
15408 * server\action_buffer.cpp: ported to win32
15409 * server\dlist.cpp: added "onClipEvent(construct, unload)" handlers
15410 * server\Function.cpp: fixed tiny bug
15411 * server\Global.cpp: removed unnecessary assert
15412 * server\sprite_instance.cpp: added lost m_display_list.reset()
15413 * server\swf\tag_loaders.cpp: added "onClipEvent(construct) handler
15414 * server\swf\ASHandlers.cpp: ported to win32
15415 * gnash.vcproj: added new files
15418 2006-06-29 Sandro Santilli <strk@keybit.net>
15420 * server/ASHandlers.cpp (ActionWaitForFrame): added stack size check.
15421 * server/ASSound.cpp, server/ActionExec.cpp, server/Function.cpp,
15422 server/Global.cpp, server/MovieClipLoader.cpp, server/action.cpp,
15423 server/as_environment.cpp, server/as_environment.h,
15424 server/as_value.cpp, server/as_value.h, server/button.cpp,
15425 server/button.h, server/character.cpp, server/character.h,
15426 server/character_def.cpp, server/character_def.h,
15427 server/edit_text_character.cpp, server/edit_text_character.h,
15428 server/edit_text_character_def.cpp, server/edit_text_character_def.h,
15429 server/generic_character.h, server/impl.cpp, server/morph2.cpp,
15430 server/movie.h, server/movie_def_impl.cpp, server/movie_interface.h,
15431 server/movie_root.cpp, server/movie_root.h,
15432 server/shape_character_def.cpp, server/sprite_definition.cpp,
15433 server/sprite_definition.h, server/sprite_instance.cpp,
15434 server/sprite_instance.h, server/timers.cpp, server/xmlsocket.cpp,
15435 server/swf/ASHandlers.cpp:
15436 Big cleanup aimed at reducing model complexity.
15437 Use of the 'movie' has been drastically reduced, the aim
15438 is completely drop it.
15439 Every sprite is a sprite_instance, including the
15440 _root movie. We still have a movie_root class
15441 (with a sprite_instance pointer being the _root movie)
15442 representing the actual movie being played.
15444 2006-06-28 Sandro Santilli <strk@keybit.net>
15446 * server/swf/ASHandlers.cpp, server/Function.cpp: updated to work
15447 with the private as_environment::m_target.
15448 * server/as_environment.h: m_target made private.
15449 * server/as_environment.cpp (find_target): assert that
15450 an as_value of type OBJECT can be cast to an object.
15451 * server/Makefile.am, server/character_def.cpp, server/impl.cpp:
15452 Put character_def implementation in its own file.
15453 * server/character_def.h: Added missing forward declarations.
15455 2006-06-27 Sandro Santilli <strk@keybit.net>
15457 * server/swf/ASHandlers.cpp, server/ActionExec.cpp: moved
15458 all known action handlers implementations from ActionExec
15459 to ASHandlers, general cleanups.
15460 * server/swf/ASHandlers.cpp: fixed bug in ActionDefineFunction2.
15462 2006-06-26 Sandro Santilli <strk@keybit.net>
15464 * server/Function.h, server/Function.cpp: added assertion checking
15465 in set_length() and constructor by action_buffer.
15466 * server/swf/ASHandlers.cpp: fixed ActionDefineFunction impl.
15467 * server/ActionExec.cpp: fixed handling of ACTION_RETURN.
15469 2006-06-25 Sandro Santilli <strk@keybit.net>
15471 * server/ActionExec.cpp, server/ActionExec.h,
15472 server/Makefile.am: new class for action_buffer
15474 * server/Function.cpp, server/Function.h:
15475 use action_buffer by const pointers .
15476 * server/action_buffer.cpp, server/action_buffer.h:
15477 added utility functions to read data from the buffer
15478 to eventually use a stream instead.
15479 * server/swf/ASHandlers.cpp, server/swf/ASHandlers.h:
15480 SWFHandlers made a singleton (hopefully fixes the static
15481 initialization problem), used a fixed-size vector
15482 for SWFHandlers::_handlers (faster). Ported some
15483 ActionHandlers from ActionExec (work unfinished).
15485 2006-06-24 Sandro Santilli <strk@keybit.net>
15487 * server/movie_def_impl.h, server/movie_definition.h,
15488 server/sprite_definition.h: changed add_init_action()
15489 signature to drop unused sprite_id parameter.
15490 * server/Boolean.cpp, server/Camera.cpp, server/Color.cpp,
15491 server/ContextMenu.cpp, server/CustomActions.cpp
15492 server/Date.cpp, server/Error.cpp, server/ASSound.cpp,
15493 server/Key.cpp, server/LoadVars.cpp, server/LocalConnection.cpp,
15494 server/Microphone.cpp, server/Mouse.cpp, server/NetStream.cpp,
15495 server/Selection.cpp, server/SharedObject.cpp, server/Stage.cpp,
15496 server/System.cpp, server/TextSnapshot.cpp, server/Video.cpp,
15497 server/action.cpp, server/button.cpp, server/character.h,
15498 server/character_def.h, server/execute_tag.h, server/movie.h,
15499 server/movie_root.h, server/swf/tag_loaders.cpp:
15500 removed unused parameter warnings.
15502 2006-06-22 Sandro Santilli <strk@keybit.net>
15504 * server/Function.cpp, server/MovieClipLoader.cpp, server/action.cpp,
15505 server/as_environment.cpp, server/as_environment.h,
15506 server/sprite_instance.cpp, server/sprite_instance.h,
15507 server/textformat.cpp, server/timers.cpp, server/xml.cpp,
15508 server/xmlsocket.cpp, server/swf/ASHandlers.cpp:
15509 Added as_environment::{get,set}_variable{,_raw} versions
15510 w/out with_stack argument, those with "with_stack" arg moved
15511 to private space. All files updated to avoid use of dummy
15512 (empty) with_stack objects.
15513 * server/Function.cpp, server/Function.h:
15514 updated doxygen comments, used size_t for action_buffer
15515 offsets and length.
15517 2006-06-21 Vitaly Alexeev <tishka92@yahoo.com>
15519 * server/action_buffer.h: removed unnecessary operator=
15520 * server/action.cpp: fixed "static SWFHandlers ash;" problem
15521 * server/swf/ASHandler.cpp: fixed "static SWFHandlers ash;" problem
15522 * server/action_buffer.cpp: fixed "static SWFHandlers ash;" problem
15523 * server/action_buffer.h: added operator=
15524 * server/gnash.h: ported to win32
15525 * server/impl.h: removed read() from swf_event
15526 * server/swf/tag_loader.cpp: added multi-event handler
15527 * gnash.vcproj: added new files
15529 2006-06-21 Sandro Santilli <strk@keybit.net>
15531 * doc/C/internals.xml: more info about writing ActionScript tests
15532 and layout under testsuite/
15533 * testsuite/actionscript.all/xtrace.as: commented out xtrace
15534 engagement message (not more needed since check.as prints testfile
15536 * testsuite/actionscript.all/String.as: added inheritance checks.
15537 * testsuite/actionscript.all/Makefile.am: fixed duplicated
15538 defines when building online tests.
15539 * testsuite/actionscript.all/: added rcsid variable
15540 to all testfiles, had check.as print testfile info at
15541 the beginning rather then at each check.
15542 * testsuite/actionscript.all/Makefile.am: made online-test rule
15543 work with external build dir.
15545 2006-06-20 Sandro Santilli <strk@keybit.net>
15547 * server/Makefile.am, server/action.cpp, server/action.h,
15548 server/action_buffer.cpp, server/action_buffer.h,
15549 server/as_environment.cpp, server/impl.h, server/textformat.cpp,
15550 server/with_stack_entry.h, server/swf/ASHandlers.cpp:
15551 moved action_buffer and with_stack_entry classes in their own
15554 2006-06-19 Michael Carlson <corfe83dev@gmail.com>
15556 * server/string.cpp: Eliminate wasteful if/else and
15557 string_method function, implement several string functions
15558 * testsuite/actionscript.all/string.as: Initial String tests
15559 * testsuite/actionscript.all/Makefile.am: Build string.swf
15561 2006-06-19 Vitaly Alexeev <tishka92@yahoo.com>
15563 * server/movie_def_impl.h: fixed bug #16882
15565 2006-06-19 Vitaly Alexeev <tishka92@yahoo.com>
15567 * server/character.h: added has_keypress_event() method
15568 * server/action.h: updated event name
15569 * server/action.cpp: updated event name
15570 * server/Key.h: added keypress event handler
15571 * server/Key.cpp: added keypress event handler
15572 * server/sprite_instance.h: added m_has_keypress_event
15573 * server/sprite_instance.cpp: added call to keypress listeners
15574 * server/swf/tag_loaders.cpp: updated s_code_bits
15576 2006-06-19 Sandro Santilli <strk@keybit.net>
15578 * server/sound_handler_mp3.cpp: fix build bug #16836.
15579 * server/swf.h: added symbolic names for fill_style types.
15580 * server/styles.h: some indentation and doxygen comments.
15581 * server/styles.cpp: use symbolic names for fill_style types,
15582 stricter checks on them, accept hard-edges versions of
15583 CLIPPED and TILED bitmap fills.
15585 2006-06-15 Sandro Santilli <strk@keybit.net>
15587 * server/action.cpp (call_method): include method name in
15588 not-a-function error message.
15589 * server/as_environment.h: changed drop(), top() and bottom()
15590 methods to take size_t rather then int and to check stack
15591 size; added (public) stack_size() method.
15592 * server/swf/ASHandlers.cpp (SWFHandlers::ActionPop):
15593 handle empty stack condition.
15594 * server/edit_text_character.cpp: don't abort when text doesn't
15595 fit into the defined boundaries (fixes bug #16637).
15596 * server/edit_text_character.h: more stuff made private.
15597 * server/edit_text_character_def.h: added do_word_wrap() method.
15599 2006-06-15 Vitaly Alexeev <tishka92@yahoo.com>
15601 * server/action.h: add clip_event_keypress & clip_event_construct hack
15602 * server/action.cpp: add clip_event_keypress & clip_event_construct hack
15603 * backend/gnash.cpp: add SDLK_0 -- SDLK_9
15604 * server/swf/tag_loaders.cpp: add clip_event_keypress & clip_event_construct hack
15605 * server/movie_root.cpp: small optimization
15606 * server/sprite_instance.cpp: small optimization
15608 2006-06-14 Vitaly Alexeev <tishka92@yahoo.com>
15610 * server/movie.h: comment on_event_load()
15611 * server/movie_root.h: comment m_on_event_load_called
15612 * server/sprite_instance.h: add advance_root(), advance_sprite()
15613 * server/dlist.cpp: replace on_event_load -->execute_frame_tags(0)
15614 * server/movie_def_impl.cpp: add execute_frame_tags(0)
15615 * server/movie_root.cpp: replace advance() --> advance_root()
15616 * server/sprite_instance.cpp: add advance_root(), advance_sprite(), update advance()
15619 2006-06-13 Sandro Santilli <strk@keybit.net>
15621 * server/movie.h: removed most warnings about unused
15622 parameters, indentation.
15623 * testsuite/media/Bitstream Vera Sans.COPYRIGHT,
15624 testsuite/media/Bitstream Vera Sans.fdb: added
15625 fdb font from Ming project, for embedding in test
15627 * testsuite/media/README: info about media files
15629 * testsuite/misc-ming.all/Makefile.am,
15630 testsuite/misc-ming.all/DefineEditTextTest.c:
15631 updated DefineEditTextTest file to use embedded
15632 fonts, we can now reproduce bug #16637.
15634 2006-06-12 Sandro Santilli <strk@keybit.net>
15636 * testsuite/misc-ming.all/DefineEditTextTest.c,
15637 testsuite/misc-ming.all/Makefile.am,
15638 testsuite/misc-ming.all/defineedittext.c:
15639 defineedittext.c renamed to DefineEditTextTest.c,
15640 added some more code to get closer to what's in the
15641 testfile from bug #16637 (missing embedded fonts)
15642 * server/swf/ASHandler.cpp: (ActionDeleteVar): fixed
15643 call to as_object::set_member (as_value passed by
15644 const ref, not pointer).
15646 2006-06-11 Vitaly Alexeev <tishka92@yahoo.com>
15648 * libbase/log.cpp: fix trace("") bug
15649 * libbase/rc.cpp: porting to WIN32
15650 * libbase/URL.cpp: porting to WIN32
15651 * backend/gnash.cpp: add mysql_db call
15652 * server/gnash.h: add register_component(...)
15653 * server/action.cpp: add register_component(...)
15654 * server/movie_root.cpp: add next_random() call to advance()
15655 * server/System.cpp: porting to WIN32
15656 * server/swf/ASHandler.cpp: add ActionDeleteVar
15657 * extensions/mysql/mysql_db.cpp: new file
15658 * extensions/mysql/mysql_db.h: new file
15659 * extensions/mysql/mysql_table.cpp: new file
15660 * extensions/mysql/mysql_table.h: new file
15661 * extensions/mysql/README: new file
15662 gnash.vcproj: new file
15665 2006-06-10 Sandro Santilli <strk@keybit.net>
15667 * libbase/log.cpp: avoid buffer overflows.
15669 2006-06-08 Sandro Santilli <strk@keybit.net>
15671 * server/impl.cpp: save URL::str() return into a local variable.
15672 * gui/gnash.cpp: updated to use new dbgfile facilities.
15673 * backend/gtksup.cpp: fixed compiler warnings.
15674 * utilities/parser.cpp, utilities/processor.cpp:
15677 2006-06-08 Rob Savoye <rob@wharfrat.welcomehome.org>
15679 * plugin/plugin.cpp: Adjust the size of the URL buffer based on
15680 size. Gracefully handle an error when we get "&&" in a URL so
15681 Firefox doesn't crash.
15682 * plugin/klash/klash.cpp: Use new logging functions for actions
15686 * libbase/URL.cpp: Add support for using the config file for
15687 security settings. Add host_check() to compare a hostname against
15688 security settings before accessing remote Flash movies. Look for
15689 _WIN32 as well as just WIN32.
15690 * libbase/URL.h: Add host_check().
15691 * libbase/rc.cpp: Default all security settings to false.
15692 * server/Date.cpp: Look for _WIN32 as well as just WIN32.
15693 * server/action.cpp: Look for _WIN32 as well as just WIN32.
15695 2006-06-07 Rob Savoye <rob@darkstar.welcomehome.org>
15697 * configure.ac: Add config dir for compat files like
15698 getopt.c. Look for getopt, and replace it if it doesn't exist.
15699 * backend/gnash.cpp: Remove getopt code for win32, it's in it's
15701 * libbase/container.h: Look for _WIN32 as well as just WIN32.
15702 * libbase/curl_adapter.cpp: Look for _WIN32 as well as just WIN32.
15703 * libbase/log.cpp: Look for _WIN32 as well as just WIN32.
15704 * libbase/log.h: Look for _WIN32 as well as just WIN32.
15705 * libbase/tu_types.h: Look for _WIN32 as well as just WIN32.
15706 * libbase/utility.h: Look for _WIN32 as well as just WIN32.
15707 * libbase/tu_timer.h: Look for _WIN32 as well as just WIN32.
15708 * libbase/tu_opengl_includes.h: Look for _WIN32 as well as just
15710 * libbase/getopt.c: Replacement function for win32.
15712 * backend/gnash.cpp: Load config file, and use those values if
15713 they exist. Command line options override config file settings.
15714 * backend/gtksup.cpp: Trap the shift and control modifier keys
15716 * backend/gtksup.h: Don't initialize externs.
15717 * backend/sound_handler_sdl.cpp: Use new logging macros.
15718 * libbase/Makefile.am: Add SDL libs.
15719 * libbase/log.cpp: Add log_action() and log_parse() to replace the
15721 * libbase/log.h: Add support for optionally logging actions and
15723 * libbase/rc.cpp: Add support for optionally logging actions and
15724 parsing. Add extractNumber() for numeric config file values. Add
15726 * libbase/rc.h: Add new config file options for optionally logging
15727 actions and parsing.
15728 * server/ASSound.cpp: Use new logging functions for actions and
15730 * server/Function.cpp: Use new logging functions for actions and
15732 * server/Global.cpp: Use new logging functions for actions and
15733 parsing. Put in gnash namespace.
15734 * server/Key.cpp, Key.h: Add copyright notice.
15735 * server/action.cpp: Use new logging functions for actions and
15737 * server/array.cpp: Use new logging functions for actions and
15739 * server/as_environment.cpp: Use new logging functions for actions
15741 * server/as_object.cpp: Use new logging functions for actions and
15743 * server/button.cpp: Use new logging functions for actions and
15745 * server/dlist.cpp: Use new logging functions for actions and
15747 * server/edit_text_character_def.cpp: Use new logging functions
15748 for actions and parsing.
15749 * server/font.cpp: Use new logging functions for actions and
15751 * server/fontlib.cpp: Use new logging functions for actions and
15753 * server/impl.cpp: Use new logging functions for actions and
15755 * server/morph.cpp: Use new logging functions for actions and
15757 * server/morph2.cpp: Use new logging functions for actions and
15759 * server/movie_def_impl.cpp: Use new logging functions for actions
15761 * server/movie_root.cpp: Use new logging functions for actions and
15763 * server/shape_character_def.cpp: Use new logging functions for
15764 actions and parsing.
15765 * server/sound.cpp: Use new logging functions for actions and
15767 * server/sound_handler_mp3.cpp: Use new logging functions for
15768 actions and parsing.
15769 * server/sprite_definition.cpp: Use new logging functions for
15770 actions and parsing.
15771 * server/sprite_instance.cpp:Use new logging functions for actions
15773 * server/stream.cpp:Use new logging functions for actions and
15775 * server/styles.cpp:Use new logging functions for actions and
15777 * server/text.cpp: Use new logging functions for actions and
15779 * server/types.cpp:Use new logging functions for actions and
15781 * server/types.h:Use new logging functions for actions and
15783 * server/swf/ASHandlers.cpp: Use new logging functions for actions
15785 * server/swf/tag_loaders.cpp: Use new logging functions for actions
15787 * testsuite/libbase/Makefile.am: Comment out Log test case for
15789 * testsuite/libbase/gnashrc.in: Add items for all config values.
15790 * utilities/parser.cpp: Use new logging functions for actions
15792 * utilities/processor.cpp: Use new logging functions for actions
15795 2006-06-01 Vitaly Alexeev <tishka92@yahoo.com>
15796 * server/Math.h: porting to WIN32
15797 * server/network.h: porting to WIN32
15798 * server/network.cpp: porting to WIN32
15799 * server/Global.cpp: LocalConnection & NetConnection in WIN32 now
15800 * server/impl.cpp: commented printf
15801 * libbase/curl_adapter.h: porting to WIN32
15803 2006-05-30 Rob Savoye <rob@ripple.welcomehome.org>
15805 * plugin/plugin.h: Comment out debug print statements.
15806 * plugin/plugin.cpp: General code cleanup, comment out debug print
15808 * plugin/Makefile.am: Copy, don't use libtool to install the
15811 2006-05-29 Rob Savoye <rob@wharfrat.welcomehome.org>
15813 * plugin/plugin.cpp: Change the description strings so the flash
15814 version is detected correctly.
15815 * macros/opengl.m4: Look in 64 bit directories after the 32 bit
15817 * macros/zlib.m4: Look in 64 bit directories after the 32 bit
15819 * libbase/rc.h: Add extractSetting() for support function to get
15820 values from the config file.
15821 * libbase/rc.cpp: Use extractSetting(), rather than duplicating
15823 * libbase/tu_types.h: Check for more variations of the ENDIAN
15824 constants. Bug #16682.
15826 2006-05-30 Rob Savoye <rob@wharfrat.welcomehome.org>
15828 * configure.ac: Link to the test config file in
15830 * libbase/Makefile.am: Add rc.{h,cpp}.
15831 * libbase/rc.h, rc.cpp: Config file support.
15832 * testsuite/libbase/Makefile.am: Add Rc file test case.
15834 2006-05-29 Stefan Schweizer <sschweizer@gmail.com>
15836 * macros/gtkglext.m4: Fix gnash building with confcache.
15838 2006-05-29 Sandro Santilli <strk@keybit.net>
15840 * server/dlist.h, server/dlist.cpp: renamed display_list
15841 to DisplayList and made a real class, many functions moved
15842 to private space, abstracted underlying container to allow
15843 for future modifications aimed at performance improvements;
15844 current implementation done with std::list.
15845 * server/sprite_instance.h, server/sprite_instance.cpp:
15846 updated to use the new DisplayList class interface.
15848 2006-05-27 Vitaly Alexeev <tishka92@yahoo.com>
15850 * server/action.h: updated forward declaration.
15851 * server/resource.h: updated forward declaration.
15852 * server/fn_call.h: updated forward declaration.
15853 * server/gnash.h: added some sound_handler methods.
15854 * server/ASHandler.cpp: added stopAllSounds;
15855 * server/ASSound.cpp: added some sound methods.
15856 * server/button.cpp: added 3-rd parameter in play_sound.
15857 * server/sound.cpp: added 3-rd parameter in play_sound.
15858 * libbase/log.cpp: fixed va_start bug.
15859 * backend/sound_handler_sdl.cpp: added some sound methods.
15861 2006-05-26 Sandro Santilli <strk@keybit.net>
15863 * testsuite/misc-ming.all/PlaceObject2Test.c,
15864 testsuite/misc-ming.all/RemoveObject2Test.c,
15865 testsuite/misc-ming.all/Makefile.am: added
15866 tests for PlaceObject2 and RemoveObject2 tags.
15868 2006-05-26 Patrice Dumas <pertusus@free.fr>
15870 * doc/C/.cvsignore: add more doc files.
15872 2006-05-25 Vitaly Alexeev <tishka92@yahoo.com>
15874 * Forward declarations should correspond to definition in Visual
15875 C. Updated all headers where it not so.
15876 * container.h: added hash from gameSWF. There are problems with
15877 stdext:hash in WIN32.
15878 * backend/gnash.cpp: fixing upside-down (flipped horizontally).
15880 2006-05-25 Vitaly Alexeev <tishka92@yahoo.com>
15882 * Forward declarations should correspond to definition in Visual C.
15883 Updated all headers where it not so.
15884 * container.h: added hash from gameSWF. There are problems with
15885 stdext:hash in WIN32.
15886 * tu_types.h: added types from inttypes.h for WIN32
15887 * action.cpp: ported to WIN32
15888 * global.cpp: The network for WIN32 is commented. It does not work.
15889 * log.cpp: ported to WIN32
15891 2006-05-24 Patrice Dumas <pertusus@free.fr>
15893 * server/Makefile.am: swap order of lib_LTLIBRARIES.
15894 * plugin/Makefile.am: remove redundant lib flags for plugin.
15895 * configure.ac, plugin/Makefile.am: removed references to
15896 the unused Xmu library.
15897 * macros/atk.m4, macros/glib.m4, macros/gstreamer.m4,
15898 macros/gtk2.m4, macros/gtkglext.m4, macros/pango.m4,
15899 macros/sdl.m4: added namespace-like prefixes to commonly
15900 used ${version} and ${topdir} variables.
15902 2006-05-24 Bernhard Rosenkraenzer <bero@arklinux.org>
15904 * plugin/klash/klash.cpp: made URL aware.
15906 2006-05-24 Sandro Santilli <strk@keybit.net>
15908 * plugin/klash/klash.cpp: removed obsoleted
15909 file_opener callback use.
15911 2006-05-23 Sandro Santilli <strk@keybit.net>
15913 * macros/gtkglext.m4: check for gtkglext no matter
15914 wheter plugin has been requested or not, fixed
15915 messages during autodetection attempts, cleanly
15916 handled --with-glext-incl switch (make sure to
15917 set the $version variable).
15919 2006-05-23 Patrice Dumas <pertusus@free.fr>
15921 * Makefile.am: gui and plugin unconditionnaly in DIST_SUBDIRS.
15922 * server/Makefile.am: distribute fn_call.h.
15923 * doc/omf.make: don't use -p $(scrollkeeper_localstate_dir) such
15924 that nothing is installed in the staged install directory.
15926 2006-05-22 Sandro Santilli <strk@keybit.net>
15928 * gui/sdl.cpp: fixed bug in SDL gui preventing movie advances.
15929 * configure.ac: abort with an error at configure time if gui==gtk
15930 and libgtkgl is not found.
15932 2006-05-21 Sandro Santilli <strk@keybit.net>
15934 * server: action.h, fn_call.h, *: moved
15935 fn_call struct definition in its own file
15936 * server/gen-files.sh: added fn_call.h include
15937 in implementation file and as_object.h include
15938 in header file. Updated all files for new header.
15940 2006-05-20 Vitaly Alexeev <tishka92@yahoo.com>
15942 * server/gnash.h: struct font; --> class font;
15943 * server/impl.h: struct font; --> class font;
15944 * server/resource.h: struct font; --> class font;
15945 * server/swf/tag_loaders.h: class movie_definition; --> struct
15947 * server/swf/TagLoaderTable.h: class movie_definition; --> struct
15949 * server/edit_text_character_def.cpp: class movie_definition; -->
15950 struct movie_definition;
15951 * server/as_value.cpp: porting to WIN32
15952 * server/backend/gnash.cpp: getopt for WIN32
15953 * server/SreamProvider.cpp: porting to WIN32
15954 * server/System.cpp: porting to WIN32
15955 * server/swf/tag_loaders.cpp: pow(2,... --> pow(2.0,...
15956 * libbase/URL.cpp: porting to WIN32
15959 2006-05-19 Sandro Santilli <strk@keybit.net>
15961 * server/Makefile.am, server/action.cpp, server/action.h,
15962 server/as_environment.cpp, server/as_environment.h,
15963 server/movie.h: put as_environment class in it's own
15965 * testsuite/libbase/.cvsignore: new file
15966 * testsuite/misc-ming.all/.cvsignore: new file
15967 * server/swf/tag_loaders.{cpp,h}: doxygen comments for
15968 define_font_info_loader().
15969 * server/font.{cpp,h}: doxygen comments.
15970 * testsuite/misc-ming.all/Makefile.am,
15971 testsuite/misc-ming.all/defineedittext.c:
15972 added test for DefineEditText tag (gnash crashes)
15974 2006-05-18 Sandro Santilli <strk@keybit.net>
15976 * testsuite/misc-ming.all/definebitsjpeg2.c: added copyright
15978 * testsuite/misc-ming.all/moviecliploader_test.c: added
15980 * Makefile.am, configure.ac, macros/firefox.m4:
15981 moved handling of --enable-plugin from firefox macro
15982 to top-level configure so you can disable build in
15983 the plugin/ dir (--disable-plugin didn't work).
15984 * server/edit_text_character_def.h, server/edit_text_character.cpp
15985 edit_text_character_def made a real class, ensuring data
15986 members are never changed. Type of variables holding twips
15987 values changed from float to uint16_t (a definition is immutable
15988 anyway, and we read uint16_t from the stream)
15989 * server/edit_text_character.h, server/edit_text_character_def.cpp:
15990 updated to use edit_text_character_def interface (no more
15991 direct members access). Added a private 'font' member to allow
15992 for replacement of it from ActionScript code (not sure this
15994 * server/text.cpp, server/text.h: changed text_style::m_font
15995 member to be a const pointer.
15996 * server/StreamProvider.cpp: fixed compiler warning
15997 in absence of libcurl.
15998 * server/Makefile.am, server/edit_text_character.cpp
15999 server/edit_text_character.h, server/edit_text_character_def.cpp,
16000 server/edit_text_character_def.h, server/text.h,
16001 server/swf/tag_loaders.cpp: extracted edit_text_character
16003 * server/generic_character.h: struct => class, headers
16004 inclusion streamlined.
16005 * server/Makefile.am, server/edit_text_character_def.cpp,
16006 server/edit_text_character_def.h, server/text.cpp,
16007 server/text.h: moved edit_text_character_def class and
16008 implementation in its own file.
16009 * server/textformat.cpp: fixed compiler warnings
16011 2006-05-18 Patrice Dumas <pertusus@free.fr>
16013 * doc/omf.make: don't use DESTDIR for scrollkeeper-update cache
16014 directory, such that scrollkeeper-update fails if not run at
16015 root, instead of creating directories that are left over when
16016 doing staged install.
16017 * doc/C/Makefile.am: add - in front of the install-info version
16018 test to ignore errors.
16020 2006-05-17 Bastiaan Jacques <bastiaan@bjacques.org>
16022 * backend/gnash.cpp: Create the OpenGL render handler only after
16023 OpenGL has been initialised.
16025 2006-05-17 Sandro Santilli <strk@keybit.net>
16027 * server/StreamProvider.cpp: added temporary support for
16028 prompting user about Grant/Bock of URL accesses. If input
16029 is not a terminal default to allow from all.
16030 * backend/gtksup.h: fixed preprocessor instructions comments
16031 * gui/gnash.cpp: fixed handling of -h flag (force exit
16032 after printing usage string); added comments to
16033 removal of file_opener stuff.
16034 * gui/Makefile.am: use new USE_GUI_* conditionals
16035 to avoid references to unrequested dependencies.
16036 Move KDE deps to klash_LDFLAGS (from AM_LDFLAGS)
16037 * configure.ac: fixed handling of --enable-gui switch,
16038 added AM_CONDITIONALs USE_GUI_<what>
16039 * server/xml.cpp: fixed compiler warnings.
16041 2006-05-16 Bastiaan Jacques <bastiaan@bjacques.org>
16043 * gui/gnash.cpp: Update to recent API changes.
16045 2006-05-16 Bastiaan Jacques <bastiaan@bjacques.org>
16047 * macros/gtkglext.m4: Prepend only one -I per added include dir.
16049 2006-05-16 Bastiaan Jacques <bastiaan@bjacques.org>
16051 * backend/gnash.cpp, gui/{gtk_glue_gtkglext,kde_glue_opengl}.cpp:
16052 Remove OpenGL initialisation code.
16053 * backend/render_handler_opengl.cpp: Add OpenGL initialisation code
16054 into create_render_handler_ogl().
16055 * server/gnash.h, backend/render_handler_cairo.cpp: Modify
16056 create_render_handler_cairo() to accept an argument which is the Cairo
16057 handle to which the renderer will draw.
16058 * backend/gnash.cpp: Remove the hacky cairo binding. If you
16059 want to try the Cairo backend, use the GUI library in gui/.
16061 2006-05-16 Sandro Santilli <strk@keybit.net>
16063 * server/action.cpp: use GUI_GTK rather then HAVE_GTK2
16064 * macros/gtk2.m4: fixed ac_cv_path_gtk2_incl setting to
16065 always include -I, compute ${version} even when
16066 --with-gtk2-incl is used (needed to find gdkconfig.h).
16068 2006-05-16 Rob Savoye <rob@wharfrat.welcomehome.org>
16070 * macros/glib.m4: Look for the config file the brute force
16072 * macros/gtk2.m4: Look for the config file the brute force
16074 * macros/gtkglext.m4: Look for the config file the brute force
16076 * macros/opengl.m4: Look in /usr/lib*/opengl/xorg-x11/lib for
16079 2006-05-16 Sandro Santilli <strk@keybit.net>
16081 * backend/gnash.cpp, server/gnash.h,
16082 server/Makefile.am, server/StreamProvider.cpp,
16083 server/StreamProvider.h, server/impl.cpp,
16084 utilities/processor.cpp: removed register_file_opener_callback()
16085 global call, added gnash::globals namespace with streamProvider
16086 default instance for the new StreamProvider class.
16087 * gui/sdlsup.h: don't attempt at including cairo.h
16088 if not using cairo rendered.
16089 * server/swf/ASHandlers.cpp: fixed compiler
16090 warnings, print value of failed target for
16092 * server/MovieClipLoader.cpp, server/gnash.h,
16093 server/impl.cpp: create_movie() split to
16094 create_swf_movie() and create_jpeg_movie().
16095 The former will call one of the latters based
16096 on input stream magic number.
16097 * server/MovieClipLoader.cpp: fixed relative url resolution
16098 to use target's parent url, not target url.
16099 * server/gnash.h, server/impl.cpp: changed definition
16100 of file_opener_callback, create_movie and
16101 create_library_movie to take an URL parameter.
16102 * server/swf/tag_loaders.cpp, server/MovieClipLoader.cpp,
16103 server/action.cpp: updated to use new signatures of
16105 * backend/gnash.cpp, utilities/processor.cpp:
16106 updated file_opener signature, use curl_adapter
16108 * server/movie_def_impl.{h,cpp}: changed
16109 read() method to return bool (false on error)
16111 2006-05-15 Sandro Santilli <strk@keybit.net>
16113 * server/as_object.cpp: fixed compiler warnings.
16114 * libbase/: GnashException.h, Error.h, curl_adapter.cpp,
16115 URL.cpp: renamed gnash::Error to gnash::GnashException
16116 ( we already had an Error class, modeling an ActionScript
16118 * libbase/URL.cpp: throw gnash::Error on error.
16119 * libbase/: Makefile.am, Error.h, curl_adapter.cpp:
16120 moved Error class to own file, and in gnash namespace.
16121 * server/: Makefile.am, as_value.cpp, action.cpp:
16122 moved as_value class implementation from action.cpp
16124 * libbase/URL.{cpp,h}: refactored path normalization procedure
16125 to split path in components, remove unneeded ones and
16126 resolve back-references, removed all uses of <cstring>
16127 * testsuite/libbase/URLTest.cpp: added check.as-like macros,
16128 new tests for path normalization, changed expected paths
16129 for 'file' urls to always start with three slashes (file:///)
16131 2006-05-14 Rob Savoye <rob@darkstar.welcomehome.org>
16133 * libbase/Makefile.am: Remove OPENGL_LIBS from _LIBADD, it causes
16134 OpenGL to hang on my Ubuntu system.
16135 * libbase/log.cpp: Add hexify() for printing numbers. Trap '\n'
16136 when coming in from log_msg() and convert to std::endl.
16137 * libbase/log.h: Add hexify().
16138 * server/Makefile.am: Add swf/ASHandlers to libgnashserver.
16139 * server/action.cpp: Remove old switch table for processing
16140 opcodes and use ASHandlers instead.
16141 * server/swf/tag_loaders.cpp: Add dbglogfile instead of
16143 * server/swf/ASHandlers.cpp, ASHandlers.cpp: New file for SWF
16144 opcode handlers. These used to be part of action.cpp.
16146 2006-05-14 Sandro Santilli <strk@keybit.net>
16148 * libbase/URL.{cpp,h}: handling of relative paths containing
16149 "../" components, handling of CWD-relative paths.
16150 * testsuite/libbase/URLTest.cpp: tests for "../"
16151 components in relative paths.
16153 2006-05-13 Stefan Schweizer <genstef@gentoo.org>
16155 * libbase/Makefile.am: add CURL_LIBS and OPENGL_LIBS
16156 to libbase/Makefile.am, where it belongs.
16158 2006-05-13 Sandro Santilli <strk@keybit.net>
16160 * configure.ac, testsuite/Makefile.am,
16161 testsuite/libbase/Makefile.am,
16162 testsuite/libbase/URLTest.cpp,
16163 testsuite/libbase/CurlStreamTest.cpp: unit
16164 testing for curl_adapter and URL class.
16165 * libbase/Makefile.am: add URL.{cpp,h} files
16166 * libbase/URL.{cpp,h}: initial implementation of
16169 2006-05-12 Sandro Santilli <strk@keybit.net>
16171 * utililites/Makefile.am, backend/Makefile.am: add CURL_LIBS.
16172 * libbase/Makefile.am: curl_adapter build.
16173 * Makefile.am: CURL config dump.
16174 * macros/curl.m4: libcurl detection macro.
16175 * libbase/curl_adapter.cpp, libbase/curl_adapter.h: initial
16176 implementation of a libcurl adapter for tu_file.
16178 2006-05-12 Rob Savoye <rob@ripple.welcomehome.org>
16180 * configure.ac: Enable conditional for KDE.
16181 * gui/gnash.cpp: Reduce delay to 300 ms.
16182 * gui/gtk.cpp: Add support for configure event, so we can resize
16184 * gui/gtk_glue_gtkglext.cpp: Unreference _glconfig and glcontext
16185 so Firefox doesn't crash.
16186 * gui/gtksup.h: Add unrealize event, remove resizeWindow.
16187 * gui/gui.cpp, gui/gui.h: Add method to resize the viewport.
16188 * gui/kde.cpp: Use setGeometry() instead of resize(). Handle the
16189 resize event, and mouse events.
16190 * gui/kde_glue_opengl.cpp: Set the view so it's oriented
16192 * gui/kdesup.h: Add mouse event handlers.
16193 * gui/sdl.cpp, gui/sdlsup.h: Remove resizeWindow().
16194 * server/impl.cpp: Don't assert, return NULL if not initilized so
16195 we can use this to check the state.
16197 * gui/kde.cpp: New file for KDE support.
16198 * gui/kde_glue.h: New file for KDE support.
16199 * gui/kde_glue_opengl.cpp: New file for KDE support.
16200 * gui/kde_glue_opengl.h: New file for KDE support.
16201 * gui/kdesup.h: New file for KDE support.
16202 * gui/Makefile.am: Add support for Klash and KDE.
16203 * gui/gnash.cpp: Add support for building with KDE support.
16204 * gui/gtk.cpp: Use Gui class methods for movie control instead of
16205 having the code here.
16206 * gui/gtksup.h: run() now takes an argument.
16207 * gui/gui.cpp: Include movie_definition. Add methods for movie
16208 control. Move advance_movie() from gnash.cpp to here.
16209 * gui/gui.h: Add non virtual init() and createWindow(). Add static
16210 methods for movie control.
16211 * gui/sdl.cpp: run() now takes an argument.
16212 * gui/sdlsup.h: run() now takes an argument.
16214 * macros/glib.m4: Look for the internal config file in the lib dir
16215 in addition to the regular headers.
16216 * macros/gtk2.m4: Look for the internal config file in the lib dir
16217 in addition to the regular headers.
16218 * macros/gtkglext.m4: Look for the internal config file in the lib
16219 dir in addition to the regular headers.
16221 * configure.ac: Print a warning, not an error if Cairo or
16222 SDL_Mixer aren't installed. For bug #16560.
16223 * gui/*: Update to latest version of the Mozilla exemption.
16225 * configure.ac: Use AC_CONFIG_SRCDIR, and add the version number
16226 to AC_INIT. Define conditional for KDE. Add partial support to use
16227 kde and fltk as configure options to --enable-gui. Comment out
16228 visibility-inlines-hidden as it's unstable on some platforms.
16229 * macros/kde.m4: Define variables for conditional if KDE is
16231 * plugin/klash/klash.cpp: Add code to replace SDL_GetTicks() so we
16232 don't have an SDL dependancy still.
16233 * server/Makefile.am: Don't have $OPENGL_LIBS in
16234 libgnashserver_la_LIBADD for now, for some reason it makes the
16235 executable not ever render an image if installed.
16237 2006-05-12 Bastiaan Jacques <bastiaan@bjacques.org>
16239 * configure.ac: Use GTK as the default GUI.
16240 * gui/gtk_glue.h, gui/gtk_glue_cairo.{cpp,h},
16241 gui/gtk_glue_gtkglext.{cpp,h}: Introduce an abstraction class
16242 for Gtkglext and "GtkCairo" which connect (glue) GTK to the OpenGL
16243 and Cairo renderers, respectively.
16244 * gui/Makefile.am: Build the appropriate glue.
16245 * gui/README: Deprecate the SDL-based Firefox plugin.
16246 * gui/{gnash.cpp,gui.h,sdl.cpp}: No longer handle the OpenGL LOD bias
16247 parameter. It is now handled in the glue class.
16248 * gui/{gtk.cpp,gtksup.h}: Migrate to the new glue.
16249 * gui/gui.h: No longer handle the OpenGL LOD bias parameter.
16250 * gui/sdl.cpp: Scale mouse event coordinates according to the movie
16253 2006-05-11 Stefan Schweizer <genstef@gentoo.org>
16255 * libbase/Makefile.am, server/Makefile.am, plugin/klash/Makefile.am:
16256 Link needed libraries which are needed to link with --as-needed.
16258 2006-05-11 Sandro Santilli <strk@keybit.net>
16260 * server/sprite_instance.cpp: removed compiler warnings.
16261 * server/movie_def_impl.h: improved doc of
16263 * configure.ac: added --enable-gui switch,
16264 defined GUI_SDL or GUI_GTK
16265 * backend/gnash.cpp: make ue of GUI_* defines rather
16266 then HAVE_GTK2 ones (you can have GTK2 and still want
16268 * gui/gnash.cpp: don't realy on HAVE_* defines to
16269 set GUI_* ones, but use GUI_* defines from config.h
16271 2006-05-10 Bastiaan Jacques <bastiaan@bjacques.org>
16273 * gui/gtk_cairo_create.h: Introduce an implementation for
16274 gdk_cairo_create() when it's not available.
16275 * gui/gtk.cpp: Include gtk_cairo_create.h for GTK < 2.8.
16277 2006-05-10 Sandro Santilli <strk@keybit.net>
16279 * gui/DESIGN: a few design notes about the new gui efforts
16280 * macros/gtkglext.m4: fix AC_DEFINE macros to include a value
16281 * configure.ac: don't complain about missing CAIRO when not required
16282 * gui/gtk.cpp: include cairo.h if RENDERER_CAIRO is defined
16283 * gui/gtksup.h: include cairo.h if RENDERER_CAIRO is defined
16284 * macros/cairo.m4: search cairo dev files even if plugin is disabled
16285 * macros/gtk2.m4: fixed handling of --with-gtk2-lib, fixed AC_DEFINE
16286 call to actually give a value to HAVE_GTK2 define (some code in
16287 backend/gnash.cpp would fail otherwise - #ifndef HAVE_GTK2 namely)
16289 2006-05-10 Bastiaan Jacques <bastiaan@bjacques.org>
16291 * gui/gnash.cpp: Remove unused includes and do small cleanups.
16292 * gui/{gtk.cpp,gtksup.h}: Only compile OpenGL code if we have OpenGL.
16293 * gui/gui.cpp: Remove unused includes.
16295 2006-05-10 Bastiaan Jacques <bastiaan@bjacques.org>
16297 * configure.ac: SDL is not a backend, so don't pretend it is one.
16298 * configure.ac, macros/{atk,glib.gtk2,pango}.m4: We still want to know
16299 if these packages are available if gtkglext isn't, so remove the
16300 gtkglext checks, and fix the indentation to match.
16302 2006-05-10 Bastiaan Jacques <bastiaan@bjacques.org>
16304 * server/swf/tag_loaders.cpp: Struct swf_event is declared in namespace
16305 gnash, not gnash::SWF::tag_loaders; move the implementation into
16308 2006-05-09 Sandro Santilli <strk@keybit.net>
16310 * testsuite/misc-ming.all/moviecliploader_test.c,
16311 testsuite/misc-ming.all/Makefile.am:
16312 moviecliploader_test fixed to build using the new media dir
16313 and to test both relative and absolute url, both jpeg
16315 * testsuite/media/green.swf, testsuite/media/lynch.swf,
16316 testsuite/media/offspring.swf: added definejpeg2 swf
16317 versions of the corresponding jpeg files.
16318 * testsuite/misc-ming.all/definebits_jpeg2.c,
16319 testsuite/misc-ming.all/Makefile.am:
16320 use argument to definebits_jpeg2 to find jpeg.
16321 * testsuite/media: new dir for storing media files, moved
16322 jpegs from actionscript.all to this new dir
16323 * server/movie_definition.h: added get_url() virtual method
16324 * server/movie_def_impl.cpp, server/movie_def_impl.h:
16325 implemented get_url() method, added url argument to the
16327 * server/sprite_definition.h, server/sprite_instance.cpp:
16328 implemented get_url() method.
16329 * server/impl.cpp: updated movie_def_impl constructions to
16330 pass the url method.
16331 * server/xmlattrs.h: fixed compiler warning about %p format used
16332 for non-void pointer.
16333 * libbase/zlib_adapter.h: doxygen comments
16334 * server/stream.h, server/stream.cpp: doxygen comments
16335 * server/sprite_definition.h, server/sprite_definition.cpp,
16336 server/impl.cpp: modified sprite_definition constructor to
16337 automatically read the SWF stream.
16338 * server/swf: new swf directory for SWF parsing related classes.
16339 * server/swf/TagLoadersTable.{h,cpp}: new class modeling a
16340 table of tag loaders.
16341 * server/swf/tag_loaders.{h,cpp}: tag loaders extracted
16342 from impl.cpp file and grouped into the swf namespace.
16343 * server/impl.cpp: (define_shape_loader) symbolic names for
16345 * server/movie_def_impl.cpp, server/movie_def_impl.h:
16346 new CharacterDictionary class.
16347 * server/movie_definition.h: updated doxygen comments.
16348 * server/sprite_definition.h: update doxygen comments.
16349 * configure.ac: added misc-ming.all directory's Makefile;
16350 fixed name of debian package for gtk2 (libgtk2-dev => libgtk2.0-dev)
16351 * testsuite/Makefile.am: added misc-ming.all subdir,
16352 * testsuite/actionscript.all/Makefile.am: Removed ming-generated
16353 binaries rules (moved to misc-ming.all)
16354 * testsuite/misc-ming.all: new test directory for ming-generated
16357 2006-05-09 Bastiaan Jacques <bastiaan@bjacques.org>
16359 * configure.ac: Compile with -fvisibility-inlines-hidden, if we're
16360 using gcc-4 or newer.
16362 2006-05-09 Bastiaan Jacques <bastiaan@bjacques.org>
16364 * gui/gnash.cpp: Use the GTK backend by default; if GTK isn't
16365 available, fall back to SDL.
16366 * gui/{gtk.cpp,sdl.cpp}: Fix includes to match recent filename
16369 2006-05-08 Bastiaan Jacques <bastiaan@bjacques.org>
16371 * configure.ac: Build with -ansi by default.
16372 * libbase/tu_types.h: No longer depend on SDL for the endianness
16374 * all over the place: Switch to the int types from inttypes.h rather
16375 than SDL.h. This will allow us to remove the dependency on SDL when
16376 sound is disabled and a frontend for Gnash other than SDL is used.
16378 2006-05-08 Sandro Santilli <strk@keybit.net>
16380 * server/as_value.h, server/button.h, server/impl.cpp,
16381 backend/render_handler_ogl.cpp:
16382 removed commas at end of enums (for -ansi)
16384 2006-05-08 Bastiaan Jacques <bastiaan@bjacques.org>
16386 * libbase/tu_types.h: Use [u]int64_t rather than SDL 64-bit types.
16387 * all over the place: Use s[u]int64 (typedef'ed to [u]int64_t)
16388 rather than SDL 64-bit types. We can now compile with -ansi.
16390 2006-05-08 Sandro Santilli <strk@keybit.net>
16392 * server/ASSound.h, server/Global.cpp, server/Global.h,
16393 server/Key.h, server/Makefile.am, server/Object.cpp,
16394 server/Object.h, server/action.cpp, server/action.h,
16395 server/as_member.h, server/as_object.cpp, server/as_object.h,
16396 server/as_prop_flags.h, server/as_value.h, server/gnash.h,
16397 server/movie_interface.h, server/ref_counted.h,
16398 server/textformat.cpp, server/textformat.h, server/types.cpp:
16400 * server/bitmap_character_def.h, server/character.cpp,
16401 server/character_def.h, server/character.h,
16402 server/generic_character.h, server/movie.h, server/ref_counted.h,
16403 server/resource.h, server/shape_character_def.cpp,
16404 server/shape_character_def.h, server/as_object.h, server/button.h,
16405 server/character_def.h, server/font.cpp, server/fontlib.cpp,
16406 server/gnash.h, server/impl.cpp, server/impl.h,
16407 server/Makefile.am, server/morph2.cpp, server/morph2.h,
16408 server/movie_def_impl.cpp, server/movie_def_impl.h,
16409 server/Object.h, server/shape.cpp, server/shape.h,
16410 server/styles.h, server/tesselate.h, server/text.cpp:
16411 new class files for as_member, as_object, as_prop_flags,
16412 as_value, character, shape_character_def, movie.
16414 2006-05-07 Bernhard Rosenkraenzer <bero@arklinux.org>
16416 * plugin/klash/klash.cpp: include movie_definition.h
16419 2006-05-07 Bastiaan Jacques <bastiaan@bjacques.org>
16421 * gui/sdl.cpp, gui/sdlsup.h: implement an SDL frontend. Implemented
16422 backends are Cairo and OpenGL.
16423 * gui/gtk.cpp, gui/gtksup.h: shuffle some code around, integrate
16424 better with Gui class. Make event handlers work.
16425 * gui/Makefile.am: Enable the SDL frontend.
16426 * gui/gnash.cpp: Implement the remaining features from the old
16427 gnash.cpp; make the commandline options work.
16428 * gui/gui.cpp, gui/gui.h: Add some needed variables and methods. Do
16431 2006-05-07 Sandro Santilli <strk@keybit.net>
16433 * server/Makefile.am, server/Object.h,
16434 server/bitmap_character_def.h, server/button.h,
16435 server/character_def.h, server/generic_character.h,
16436 server/gnash.h, server/impl.cpp, server/impl.h, server/morph2.cpp,
16437 server/movie_def_impl.cpp, server/movie_def_impl.h,
16438 server/ref_counted.h, server/resource.h, server/shape.cpp,
16439 server/shape.h, server/styles.h: new class files for
16440 bitmap_character_def, character_def, generic_character,
16441 ref_counted and resource
16442 * renamed Movie.{h,cpp} to MovieClip.{h,cpp}
16443 * server/Makefile.am, server/Movie.cpp, server/Movie.h,
16444 server/Sprite.cpp, server/Sprite.h,
16445 server/impl.cpp, server/impl.h,
16446 server/sprite_definition.cpp, server/sprite_definition.h,
16447 server/sprite_instance.cpp, server/sprite_instance.h,
16448 backend/gnash.cpp, server/ASSound.cpp, server/Global.cpp,
16449 server/MovieClipLoader.cpp, server/action.cpp, server/button.cpp,
16450 server/font.cpp, server/fontlib.cpp, server/gnash.h,
16451 server/morph2.cpp, server/movie_def_impl.cpp,
16452 server/movie_def_impl.h, server/movie_definition.h,
16453 server/movie_interface.h, server/movie_root.cpp,
16454 server/movie_root.h, server/sound.cpp, server/styles.cpp,
16455 server/text.cpp, utilities/processor.cpp:
16456 sprite_instance and sprite_definition are now real classes
16457 and are defined in their own files, named after the class
16458 themselves, same split for Movie.h file.
16460 2006-05-05 Rob Savoye <rob@ripple.welcomehome.org>
16462 * plugin/plugin.cpp: Don't compare supportsXEmbed to PR_TRUE.
16463 * packaging/redhat/gnash.spec: Make a gnash-klash package instead
16465 * README: Update version number and date.
16467 2006-05-04 Sandro Santilli <strk@keybit.net>
16469 * server/MovieClipLoader.cpp: cleanly handle
16470 attempts to load an external jpeg (complain
16471 rather then crash - see bug #15762
16473 2006-05-03 Sandro Santilli <strk@keybit.net>
16475 * configure.in: accept OpenGL and Cairo args to
16476 --enable-renderer, as advertised in the help string.
16477 Print selected renderer in summary. Fixed a couple
16480 2006-05-04 Bastiaan Jacques <bastiaan@bjacques.org>
16482 * gui: Add a very initial implementation of the frontend (gui)
16483 library, which has a replacement for backend/gnash.cpp. The gui
16484 subdirectory has not yet been enabled.
16486 2006-05-03 Tomas Groth Christensen <tomasgroth@yahoo.dk>
16488 * server/Makefile.am: Compile ASSound.{cpp,h} instead of Sound.{cpp,h}
16490 2006-05-03 Patrice Dumas <pertusus@free.fr>
16492 * doc/C/Makefile.am: use $< instead of gnash.info for for
16493 install such that gnash.info from srcdir may be used; replace
16494 /sbin/install-info by install-info everywhere
16495 * plugin/player.h: distribute player.h
16497 2006-05-03 Sandro Santilli <strk@keybit.net>
16499 * server/array.cpp: removed compiler warnings
16500 * server/: Sound.cpp => ASSound.cpp, Sound.h => ASSound.h
16502 2006-05-02 Bastiaan Jacques <bastiaan@bjacques.org>
16504 * configure.ac: Add --enable-renderer={opengl,cairo}.
16505 * backend/Makefile.am, backend/gnash.cpp, server/gnash.h:
16506 Compile and use Cairo if requested.
16508 2006-05-02 Timothy Lee <timothy.lee@siriushk.com>
16510 * render_handler_cairo.cpp: Initial Cairo renderer backend
16513 2006-04-30 Bastiaan Jacques <bastiaan@bjacques.org>
16515 * backend/gnash.cpp: Use the right signal name.
16517 2006-04-29 Bastiaan Jacques <bastiaan@bjacques.org>
16519 * backend/{gnash.cpp,gtksup.cpp,gtksup.h}: Add a gtkgl
16520 unrealize_event handler which facilitates destruction of
16521 some gdkgl objects. This fixes shutdown leaks.
16523 2006-04-28 Sandro Santilli <strk@keybit.net>
16525 * server/array.cpp: fixed bug in copy constructor.
16526 * server/Function.cpp, server/Function.h: added
16527 isBuiltin() public method and new constructor as
16528 a better support for built-in classes (I think we
16529 really need an abstract class and two derivates for
16530 user defined functions and built-in classes).
16531 * server/action.cpp: changed doActionNew to handle
16532 construction of built-in classes.
16533 * server/System.cpp, server/System.h, server/array.cpp,
16534 server/array.h: ported to new built-in class construction
16535 mechanism. Optimized and embellished as_array_object::join()
16536 method, inspired by Bastiaan :)
16538 2006-04-28 Rob Savoye <rob@darkstar.welcomehome.org>
16540 * README: Add comments about runing autogen.sh and configure for
16542 * doc/C/sources.xml: Add comments about runing autogen.sh and
16543 configure for bug #16451.
16545 2006-04-27 Rob Savoye <rob@wharfrat.welcomehome.org>
16547 * configure.ac: Comment out warnings about FLTK and Xft, these are
16548 only used by code under development for now.
16549 * macros/jpeg.m4: Make sure the head exists, not the lib before
16551 * utilities/Makefile.am: Add PTHREAD_LIBS.
16554 2006-04-27 Bastiaan Jacques <bastiaan@bjacques.org>
16556 * server/Key.cpp: Stop using cleanup_listeners(). Use
16557 iterators instead of array indexing for listeners. Use
16558 C++-style rather than C-style casts.
16559 * server/Key.h: Remove cleanup_listeners().
16561 2006-04-27 Stefan Schweizer <genstef@gentoo.org>
16563 * plugin/klash/Makefile.am: added KDE_LDFLAGS to AM_LDFLAGS.
16565 2006-04-27 Sandro Santilli <strk@keybit.net>
16567 * testsuite/actionscript.all/array.as: turned length()
16568 method calls to length data member accesses, completed
16569 switch to check_equals() macro usage, removed .pop() calls
16570 in macro args (would have unexpected results when macro fails).
16571 * server/: (Function.h, Function.cpp): added new constructor
16572 taking exported interface as argument.
16573 * server/: (System.cpp, System.h, Global.cpp): added System
16574 AS class registration, System.capabilities.version
16575 implementation and scheleton for AS instanciation of it
16576 (the latter being untested).
16577 * doc/C/internals.xml: added note about check_equals() macro
16578 under testing section.
16579 * server/: (Sound.cpp, Sound.h): added missing files
16580 * server/: (array.cpp, array.h): big cleanup, provided
16581 overrides for get_member() and set_member() to add support
16582 for the special 'length' element, turned array_as_object into
16583 a real class, enabled support for class-statics.
16584 * server/: (Object.cpp, Object.h): moved get_member
16585 and set_member to get_member_default and set_member_default
16586 with protected access level, provided public virtuals
16587 invoking the protected non-virtuals. This is to allow cleaner
16588 hooking for ActionScript classes.
16590 2006-04-26 Timo Lindfors <timo.lindfors@iki.fi>
16592 * testsuite/actionscript.all/Boolean.as: added some
16593 simple checks for toString() and valueOf() methods.
16595 2006-04-26 John Radio Gilmore <gnu@radio.toad.com>
16597 * doc/C/sources.xml: Fix typos, update misc build info.
16599 2006-04-26 Sandro Santilli <strk@keybit.net>
16601 * testsuite/actionscript.all/check.as: added check_equals()
16603 * testsuite/actionscript.all/Global.as: example usage of
16604 the check_equals() macro.
16605 * server/gen-files.sh: fixed escaping in sed code
16606 * testsuite/actionscript.all/array.as: more use
16607 of the check_equals() macro
16608 * testsuite/actionscript.all/Makefile.am: fixed a bug
16609 in the v8-online-tests rule
16610 * server: Global.cpp, Global.h, Key.cpp, Key.h,
16611 Makefile.am, Math.cpp, Math.h, action.cpp, action.h,
16612 array.cpp, array.h: more code splitting.
16614 2006-04-25 Rob Savoye <rob@darkstar.welcomehome.org>
16616 * packaging/debian/changelog: Reverse the order of entries so it
16617 it uses the right GPG key for packages.
16618 * packaging/debian/control: Fix cut & paste error in Depends
16620 * packaging/debian/gnash-klash.install: Add klash executable.
16621 * server/shape.cpp: Support alternate tag value
16623 * plugin/klash/klash.cpp: Add player control menu for the right
16625 * plugin/klash/Makefile.am: Build a MOC file for klash.cpp.
16627 * packaging/debian/gnash-klash.install: Add the klash executable.
16628 * packaging/redhat/gnash.spec: Add the klash executable.
16630 * libbase/jpeg.cpp: Add support for grayscale jpegs.
16631 * plugin/klash/Makefile.am: Add klash executable.
16632 * plugin/klash/klash.cpp: Build a KDE version of the standalone
16633 player for Konqueror.
16635 2006-04-25 Bastiaan Jacques <bastiaan@bjacques.org>
16637 * libbase/smart_ptr.h: Introduce noref_ptr, a smart pointer without
16638 reference counting.
16640 2006-04-24 Rob Savoye <rob@ripple.welcomehome.org>
16642 * All GPL'd files: Update Mozilla copyright exemption to the
16645 2006-04-24 Timothy Lee <timothy.lee@siriushk.com>
16647 * libbase/image.cpp: Remove read_swf_jpeg2(), it's unnecessary now
16648 that read_jpeg() reads multiple headers.
16649 * libbase/jpeg.cpp: Read a jpeg with with multiple headers
16651 * server/impl.cpp: Call read_jpeg() instead of read_swf_jpeg2().
16653 2006-04-23 Bastiaan Jacques <bastiaan@bjacques.org>
16655 * server/Movie.cpp, server/Movie.h, server/Object.h,
16656 server/font.h, server/morph2.h, server/shape.h,
16657 server/stream.h, server/styles.h: Switch structs to classes.
16659 2006-04-23 Bastiaan Jacques <bastiaan@bjacques.org>
16661 * server/Movie.h: make movie_def_impl a friend of import_info.
16662 * server/Movie.cpp: adjust the users of import_info to match
16663 changes to Movie.h.
16665 2006-04-22 Rob Savoye <rob@wharfrat.welcomehome.org>
16667 * doc/omf.make: Rename omf-hook to be more consistant.
16668 * doc/xmldocs.make: Set enable-ghelp and enable-docbook together.
16669 * doc/C/Makefile.am: Use /sbin/install-info. Don't try to run
16670 install-info if it doesn't exist.
16671 * packaging/redhat/gnash.spec: Remove the info/dir file.
16673 * macros/atk.m4: Look for libraries in /usr/X11R6/lib, and headers
16674 in /usr/X11R6/include.
16675 * macros/gtk2.m4: Look for libraries in /usr/X11R6/lib, and
16676 headers in /usr/X11R6/include.
16677 * macros/gtkglext.m4: Look for libraries in /usr/X11R6/lib.
16678 * macros/pango.m4: Look for libraries in /usr/X11R6/lib.
16680 * macros/fltk.m4: Look in X11R6 for headers.
16681 * macros/gtkglext.m4: Look in X11R6 for headers.
16682 * macros/pango.m4: Look in X11R6 for headers.
16683 * macros/sdl.m4: Find SDL on FreeBSD where vesion SDL11 is used
16684 instead of SDL-1.1.
16686 2006-04-22 Bastiaan Jacques <bastiaan@bjacques.org>
16688 * server/Movie.h: Make the import_info struct a proper class.
16689 * server/Movie.cpp: Adjust the users of import_info to match
16690 changes to Movie.h.
16692 2006-04-21 Rob Savoye <rob@wharfrat.welcomehome.org>
16694 * packaging/redhat/gnash.spec: Install the dir file so the rpm
16697 * doc/C/Makefile.am: Handle the different options the different
16698 versions of install-info support.
16700 * doc/C/Makefile.am: Create the info dir if it doesn't exist.
16701 * packaging/debian/changelog: Add new entry and up the version.
16702 * packaging/redhat/gnash.spec: Up the minor version. Install the
16705 * packaging/debian/rules: Don't attempt to apply a patch that
16706 doesn't exist. Install the info file.
16707 * packaging/redhat/gnash.spec: Install the info file too.
16708 * plugin/Makefile.am: Add npplat.h to the dist target.
16709 * plugin/plugin.cpp: Don't include player.h, it's unused these
16712 * doc/xmldocs.make: Add the hook for installing and uninstalling
16714 * doc/C/Makefile.am: Install the info file.
16716 2006-04-20 Rob Savoye <rob@wharfrat.welcomehome.org>
16718 * server/font.cpp: Delete the pointer the proper way.
16719 * doc/C/gnash-man.xml: Add the -j and -k options to the man page.
16721 * README: Clarify that no event handling means mouse clicks don't
16722 work with the SDL version of the plugin.
16723 * doc/C/internals.xml: Clarify that no event handling means mouse
16724 clicks don't work with the SDL version of the plugin.
16725 * doc/C/plugin.xml: Clarify that no event handling means mouse
16726 clicks don't work with the SDL version of the plugin.
16728 * libbase/triangulate_impl.h: Use the z modifier when printing a
16730 * plugin/plugin.cpp: Define start and end as a size_t, not an
16733 * configure.ac: Add FLTK. Don't create mozilla-sdk/Makefile.
16734 * Makefile.am: Add a dumpconfig target to see what configure
16736 * macros/fltk.m4: New configure tests for FLTK toolkit.
16737 * packaging/redhat/gnash.spec: Don't build libmozsdk, it's now
16738 part of the plguin.
16739 * plugin/Makefile.am: Build the sources in mozilla-sdk as part of
16740 the plugin, rather than as an additional shared library.
16741 * server/array.cpp: Use the z modifier when printing a size_t.
16742 * server/button.cpp: Use the z modifier when printing a size_t.
16743 * server/fontlib.cpp: Use the z modifier when printing a size_t.
16744 * server/shm.cpp: Use the z modifier when printing a size_t.
16745 * server/xmlnode.cpp: Use the z modifier when printing a size_t.
16746 * server/sound_handler_mp3.cpp: Remove unused variable.
16748 2006-04-19 Bastiaan Jacques <bastiaan@bjacques.org>
16750 * server/action.cpp: fixed compiler warnings.
16752 2006-04-18 Rob Savoye <rob@wharfrat.welcomehome.org>
16754 * backend/gnash.cpp: Turn off sound by default, since it doesn't
16755 work yet, and it grabs the sound device preventing other programs
16756 from working. Delete the gnash-dbg.log file if we don't want it
16757 writing to disk. Add -u option to set the root URL when navigating
16758 web pages with frames.
16760 2006-04-15 Sandro Santilli <strk@keybit.net>
16762 * backend/gnash.cpp: verbose SDL_SetVideoMode() failure message.
16764 2006-04-11 Rob Savoye <rob@wharfrat.welcomehome.org>
16766 * configure.ac: Check for a SDL, SDL_Mixer, and Gstreamer based on
16767 whether the library exists, not the headers. Comment out Gstreamer
16768 warning for now, it's not used anyway.
16769 * macros/gstreamer.m4: Remove extraneous setting of
16770 ac_cv_path_gstreamer_incl. Remove extraneous MSG_RESULT.
16771 * macros/gtk2.m4: Remove extraneous setting of
16772 ac_cv_path_gtk2_incl. Check for the versioned directory before the
16773 unversioned directory.
16774 * macros/gtkglext.m4: Remove extraneous setting of
16775 ac_cv_path_glext_incl. Remove extraneous MSG_RESULT.
16776 * macros/pango.m4: Always add the library name if we have a legit
16778 * macros/sdl.m4: Remove extraneous MSG_RESULTs.
16779 * server/action.cpp: Tweak the test for getURL() to include https
16782 2006-04-10 Sandro Santilli <strk@keybit.net>
16784 * server/action.cpp: fix compiler error in as_global_parseint()
16786 2006-04-10 Rob Savoye <rob@wharfrat.welcomehome.org>
16788 * server/action.cpp: It the url for getUrl() starts with a
16789 "http:", then remotely tell firefox to load the page.
16791 2006-04-09 Rob Savoye <rob@wharfrat.welcomehome.org>
16793 * plugin/klash/klash_part.cpp: Use the new options to set the
16794 window size of the browser window correctly.
16795 * server/NetConnection.cpp: Catch trying to access a URL that is
16796 set to "null", instead of zero.
16797 * packaging/debian/gnash-klash.install: Add klash_part.desktop to
16799 * packaging/debian/control: Add more dependancies.
16800 * doc/C/gnash-C.omf: Install in "Sound and Video" instead of
16803 2006-04-07 Rob Savoye <rob@wharfrat.welcomehome.org>
16805 * packaging/debian/: Add packaging files.
16807 * macros/kde.m4: Also look for QT with qt-3.3 as well as qt3.
16808 * README: minor typo corrections.
16809 * packaging/redhat/gnash.spec: Build klash, add additional
16810 dependancies, and tweak till it works.
16812 2006-04-07 Patrice Dumas <pertusus at free.fr>
16814 * macros/ghelp.m4: Don't warn if the user doing ./configure
16816 * doc/omf.make, doc/xmldocs.make, doc/C/Makefile.am: use '-hook'
16817 targets for omf files installation, and '-local' targets for xml
16818 files installation. Remove intermediate useless targets. If ghelp
16819 isn't enabled, disable only the omf files installation. Remove
16820 the @ in front of make rules.
16822 2006-04-06 Rob Savoye <rob@wharfrat.welcomehome.org>
16824 * backend/gnash.cpp: Make width and height global variables.
16825 * backend/gtksup.cpp: Reset the width and height global variables
16826 when we get a configure event, as the window has been resized.
16828 2006-04-05 Rob Savoye <rob@wharfrat.welcomehome.org>
16830 * configure.ac: Fix --disable-xml option.
16831 * macros/firefox.m4: Don't use the mozilla or firefox config
16832 script to get the path to install the plugin. Check the users
16833 home directory and install there in the plugins directory.
16834 * macros/libXML.m4: Don't do anything if XML support is disabled.
16835 * macros/opengl.m4: Adjust how the libray path gets set so we
16836 don't wind up with a path with no -L option.
16838 2006-04-04 Rob Savoye <rob@wharfrat.welcomehome.org>
16840 * backend/Makefile.am: Don't use ../backend in the path to
16841 libgnashbackend.la, as it causes problems with parallel
16844 * macros/libXML.m4: Don't configure XML if it's disabled.
16846 2006-04-04 John Gilmore <gnu@toad.com>
16848 * README: Add more basic information. Thank contributors.
16849 * server/{xmlsocket.cpp, MovieClipLoader.cpp, Sprite.cpp,
16850 network.cpp, shape.cpp}: Lint.
16851 * backend/gnash.cpp: Revise --version and --help for GNU Coding
16853 * plugin/player.cpp: Lint.
16854 * plugin/plugin.cpp: Describe the plugin more fully. It's the
16855 GNU Flash Player. Add copyright notice, version number, more
16858 2006-04-04 Rob Savoye <rob@wharfrat.welcomehome.org>
16860 * backend/gnash.cpp: Add -j and -k options to set the width and
16861 height of the window. This is used only by the plugin. Uncomment
16862 gtk_plug() code, it works now! If the window ID is set, don't set
16863 the window size again.
16864 * plugin/plugin.cpp: Always return the value when Mozilla
16865 asks. Add -j and -k options to set the window size for the player
16866 instead of letting it default to the movie size.
16867 * libbase/image_filters.cpp: Add struct name to eliminate
16869 * macros/gstreamer.m4: Change where the -I and -L gets added.
16870 * macros/opengl.m4: Change where the -I and -L gets added.
16871 * plugin/mozilla-sdk/pluginbase.h: Add a destructor to eliminate
16873 * testsuite/actionscript.all/Makefile.am: Add the test case source
16874 files to the distribution tarball. Include the generated swf
16875 movies so people don't need Ming installed to have "make check"
16878 2006-04-02 Rob Savoye <rob@wharfrat.welcomehome.org>
16880 * gnash/Makefile.am: Move libamf to DIST_SUBDIRS, since it's not
16881 really used yet anyway. Tweak the path for building deb and rpm
16883 * doc/C/Makefile.am: Don't error out if Makeinfo has problems.
16885 2006-04-02 Rob Savoye <rob@cree.moongulch.net>
16887 * doc/C/gnash-man.xml: Add the -x and -w options.
16888 * doc/C/gnash.xml: Rewrite overview and intro chapter.
16890 * doc/C/gnash.xml: Add a constant for the opcodes chapter. Add -w
16891 option to list of command line options.
16892 * doc/C/sources.xml: Add new dependancies, gtkglext, atk, pango,
16893 cairo, glib, gtk2, gstreamer 0.10, and kde. Update plugin
16894 section. Add all the new configure options of the last few
16896 * doc/C/internals.xml: Change the names of the libraries to match
16897 current versions. Add asobjs, plugin, and klash libraries. Update
16898 plugin section. Add info about GUI toolkit usage. Add section on
16900 * doc/C/opcodes.xml: New chapter on opcodes that lists what's
16901 still unimplemented.
16902 * doc/C/localconnection.xml: Update text. Add section about AMF.
16903 * doc/C/plugin.xml: Add section on plugin event handling.
16904 * libbase/Makefile.am: Optionally compile the demo.
16905 * libbase/demo.cpp: Add the demo namespace and open ogl.
16907 2006-03-31 Rob Savoye <rob@wharfrat.welcomehome.org>
16909 * macros/atk.m4: Fix finding the proper path with the version
16911 * macros/glib.m4: Fix finding the proper path with the version
16913 * macros/pango.m4: Fix finding the proper path with the version
16916 * Makefile.am: Add libamf and plugin to STD_DIRS.
16917 * configure.ac: Call KDE_SET_PREFIX to set KDECONFIG.
16918 * doc/C/Makefile.am: Change the invocation of db2_teximl for
16919 version 0.8.5. Also change the file name the gets renmoved, so
16920 make it part of the conditional test.
16921 * macros/kde.m4: Fix KDE_SET_PREFIX to not trash the value of
16923 * plugin/klash/Makefile.am: Fix how the moc file gets built and as
16925 * plugin/mozilla-sdk/Makefile.am: Add all the headers to
16926 noinst_HEADERS so makedistcheck works.
16928 2006-03-30 Rob Savoye <rob@wharfrat.welcomehome.org>
16930 * plugin/Makefile.am: Pass in the prefix as a constant so we can
16931 use it to find the Gnash executable from within the plugin.
16932 * gnash.cpp: For now, ignore command line arguments with a equal
16934 * plugin/plugin.cpp: Build the argv array correctly so we don't
16935 core dump Firefox. Use a GNASH_PLAYER environment variable, or the
16936 configured exec_prefix to find the gnash executable to fork.
16937 * plugin/plugin.h: Also store the childpid and the process name.
16938 * configure.ac: Add options to toggle between forking the
16939 standalone player and using a thread.
16941 2006-03-30 Petter Reinholdtsen <pere@hungry.com>
16943 * libamf/Makefile.am: Remove -Wall, it's set in configure.ac now.
16944 * libbase/triangulate_impl.h: Add const to some type casting.
16945 * libbase/tu_file.cpp: Remove const from *_tell_func API.
16946 * libbase/tu_file.h: Remove const from *_tell_func API.
16947 * libbase/tu_file_SDL.cpp: Remove const from *_tell_func API.
16948 * libbase/zlib_adapter.cpp: Remove const from *_tell_func API.
16949 * libgeometry/geometry.h: Swap static and const, they're in the
16951 * libgeometry/kd_tree_packed.cpp: Use unsigned interger to compare
16952 to the result from size() for an STL container.
16953 * server/Makefile.am: Remove -Wall, it's set in configure.ac now.
16954 * server/action.cpp: Add const to definition of character
16956 * server/dlist.cpp: Add const when casting display_object_info.
16957 * server/network.cpp: Return false for now if
16958 Network::createClient is called with only the port number.
16959 * server/shape.cpp: Use const when casting nmesh)_set.
16960 * server/sound_handler_mp3.cpp: Use unsigned interger to compare
16961 to the result from size() for an STL container.
16962 * server/xml.cpp: Define the niodename before using it.
16963 * server/xmlnode.cpp: Return NULL if we can't return an object
16965 * utilities/Makefile.am: Add MP3_LIB to the linker list.
16967 2006-03-29 Rob Savoye <rob@wharfrat.welcomehome.org>
16969 * plugin/Makefile.am: Include the backend directory in the include
16971 * plugin/player.cpp: Nuke the SDL support and start replacing it
16972 with GTK2. This file is currently unused as the standalone player
16974 * plugin/plugin.cpp: Support GTK2 and GTKGLExt if they exist for
16975 the plugin. Fork the plugin instead of using a thread. Enable
16977 * plugin/plugin.h: XSync after setting the context.
16978 * plugin/klash/Makefile.am: Move klash_part.moc to _SOURCES.
16979 * plugin/mozilla-sdk/Makefile.am: We don't need the FIREFOX_DEFS
16982 2006-03-29 Rob Savoye <rob@wharfrat.welcomehome.org>
16984 * configure.ac: Add --enable-lotsa-warnings, to turn on many more
16985 warning messages. By default only -Wall is used when using
16986 GCC. Based on a patch by Petter Reinholdtsen <pere@hungry.com>
16988 2006-03-28 Rob Savoye <rob@wharfrat.welcomehome.org>
16990 * README: Add text from web site about the mailing lists, and
16991 where to submit bug reports and patches.
16992 * configure.ac: Use $glext instead of $plugin for GTK.
16993 * backend/Makefile.am: Add new files gtksup.h and gtksup.cpp.
16994 * backend/gtksup.{h,cpp}: New files for GTK menu and event support.
16995 * backend/gnash.cpp: Use GTK2 and GtkGLExt if they exist. Use GTK
16996 event handlers and menus. Default to SDL.
16997 * libbase/Makefile.am: Don't both to build the demo.
16998 * libbase/image_filters.cpp: Add debugging trace messages.
16999 * libbase/log.{h,cpp}: Handle just a single char.
17000 * libgeometry/Makefile.am: Add the library paths.
17001 * macros/atk.m4: Define ac_cv_path_atk_lib correctly for when we
17002 do find it in the list of paths.
17003 * macros/cairo.m4: Don't do anything unless $glext is enabled.
17004 * macros/firefox.m4: Don't do anything unless $plugin is enabled.
17005 * macros/ghelp.m4: Move the conditional.
17006 * macros/glib.m4: Define ac_cv_path_glib_lib correctly for when we
17007 do find it in the list of paths.
17008 * macros/gstreamer.m4: Add error message if only the older
17009 gstreamer version is found. 0.10 is required.
17010 * macros/gtk2.m4: Don't do anything unless $glext and $plugin are
17011 enabled. Define the library names with the version or we get the
17013 * macros/gtkglext.m4: Enable by default, but support --disable.
17014 * macros/opengl.m4: Define ac_cv_path_opengl_lib correctly for when we
17015 do find it in the list of paths.
17016 * macros/pango.m4: Define ac_cv_path_pango_lib correctly for when we
17017 do find it in the list of paths.
17018 * server/shape.cpp: Reformat into GNU style.
17019 * server/styles.cpp: Reformat into GNU style.
17020 * utilities/Makefile.am: Add the graphics libraries.
17022 2006-03-20 Rob Savoye <rob@wharfrat.welcomehome.org>
17024 * doc/C/Makefile.am: Optionally use dblatex or pdfxmltex to build
17025 PDFs if FOP doesn't exist.
17026 * macros/docbook.m4: Also look for dblatex and pdfxmltex.
17028 2006-03-19 Rob Savoye <rob@wharfrat.welcomehome.org>
17030 * configure.ac, macros/gstreamer.m4: Look for Gstreamer.
17032 2006-03-18 Rob Savoye <rob@wharfrat.welcomehome.org>
17034 * server/Movie.cpp: Add GNASH_REPORT_FUNCTION to some functions.
17035 * server/Sprite.cpp: Add GNASH_REPORT_FUNCTION to some functions.
17036 * server/dlist.cpp: Add GNASH_REPORT_FUNCTION to some functions.
17037 * server/impl.h: Add GNASH_REPORT_FUNCTION to some functions.
17038 * server/morph2.cpp: Add GNASH_REPORT_FUNCTION to some functions.
17039 * server/shape.cpp: Add GNASH_REPORT_FUNCTION to some functions.
17040 * server/text.cpp: Add GNASH_REPORT_FUNCTION to some functions.
17041 * plugin/mozilla-sdk/include/{prcvar.h, prerr.h, prerror.h,
17042 prinit.h, prinrval.h, prlock.h, prthread.h, prwin16.h}: New files
17043 copied from Firefox so we can use NSPR without Firefox sources.
17044 * backend/gnash.cpp: Add -w option to enable producing the disk
17045 based log file, instead of enabling it by default as it can get
17046 huge. This log is only useful to developers. This disk log *is*
17047 produced by default when using the plugin.
17048 * libbase/log.h: Add a log_trace() function that works like
17049 GNASH_REPORT_FUNCTION, but also prints the pointer of the current
17050 instance. Useful for debugging multi-threaded programs. Tracing
17051 now always prints to the disk file, and only the terminal display
17052 is controlled by the verbosity level.
17053 * libbase/log.cpp: Add a log_trace() function that works like
17054 GNASH_REPORT_FUNCTION, but also prints the pointer of the current
17055 instance. Useful for debugging multi-threaded programs. Tracing
17056 now always prints to the disk file, and only the terminal display
17057 is controlled by the verbosity level. Strip the CR from messages
17058 passed to the log_* wrapper and replace it with a endl so the
17059 timestamps work for all the old messages too.
17060 * server/types.cpp: Small fix to color matrix loading, /256.0
17062 * plugin/player.cpp: Use Mozilla NSPR API for mutexes, threads and
17063 condition variables instead of SDL. For now, only play the movie
17065 * plugin/plugin.cpp: Use Mozilla NSPR API for mutexes, threads,
17066 and condition variables instead of SDL.
17067 * plugin/plugin.h: Use Mozilla NSPR API for mutexes, threads, and
17068 condition variables instead of SDL.
17070 2006-03-18 Tomas Groth Christensen <tomasgroth@yahoo.dk>
17072 * backend/sound_handler_sdl.cpp: Make mp3-support depend on
17073 HAVE_MAD_H instead of GAMESWF_MP3_SUPPORT.
17074 * macros/docbook.m4: Include the J2REDIR enviroment variable
17075 in the list of where java could be.
17077 2006-03-17 Rob Savoye <rob@wharfrat.welcomehome.org>
17079 * server/button.cpp: Clear() m_actions after resizing when
17080 destructing a button. Bug #16105
17082 2006-03-11 Rob Savoye <rob@wharfrat.welcomehome.org>
17084 * doc/C/Makefile.am: Add logging.xml.
17085 * libbase/log.h: Only print TRACE messages at verbose level 2. Add
17086 getVerbosity() accessor.
17087 * server/impl.cpp: Add fixme_loader(), and set the unimplemented
17088 tags to that so we know when we hit one.
17089 * server/impl.h: Add prototype for fixme_loader().
17090 * server/text.cpp: Clean up warning message.
17092 * doc/C/internals.xml: Add section on the new debug logging
17094 * doc/C/logging.xml: New section on the new debug logging
17097 * utilities/Makefile.am: Add libxml flags and libs.
17098 * utilities/parser.cpp: Use getopt for processing command line
17099 arguments. Reindent to project coding standards. Add GNU standard
17100 options. Use new logging system, delete the old one.
17101 * utilities/processor.cpp: Use getopt for processing command line
17102 arguments. Reindent to project coding standards. Add GNU standard
17103 options. Use new logging system, delete the old one.
17104 * backend/gnash.cpp: Use getopt for processing command line
17105 arguments. Add GNU standard options. Use new logging system,
17106 delete the old one.
17107 * libbase/tu_file.h: Reformat to be more readable.
17108 * libbase/tu_file.cpp: Reformat to be more readable.
17110 2006-03-10 Rob Savoye <rob@wharfrat.welcomehome.org>
17112 * server/log.h: Moved to libbase.
17113 * server/log.cpp: Moved to libbase.
17114 * libbase/log.h: Add support for an STL streams based interface to
17115 the C based API for debugging messsages.
17116 * libbase/log.cpp: Add support for an STL streams based interface to
17117 the C based API for debugging messsages.
17118 * backend/gnash.cpp: Add support for new logging system, delete
17119 old callback system.
17120 * backend/render_handler_ogl.cpp: Cleanup some formating.
17121 * libbase/Makefile.am: Add log.h and log.cpp.
17122 * server/Makefile.am: Remove log.cpp and log.h.
17123 * server/xml.cpp: Use the new debugging macros.
17124 * utilities/Makefile.am: Add XML flags and libs.
17125 * utilities/parser.cpp: Add support for new logging system, delete
17126 old callback system.
17127 * utilities/processor.cpp: Add support for new logging system,
17128 delete old callback system.
17130 2006-03-08 Rob Savoye <rob@wharfrat.welcomehome.org>
17132 * configure.ac: Make using XML the default.
17134 2006-03-10 Rob Savoye <rob@cree.moongulch.net>
17136 * plugin/Makefile.am: Use DESTDIR when making directory.
17137 * mkinstalldirs: Add so we have it when not using the install
17138 utility (using libtool) to make directories.
17139 * utilities/Makefile.am: Add ZLIB_LIBS to ldflags.
17141 2006-03-09 Michael Carlson <corfe83dev@gmail.com>
17143 * server/array.cpp: Add TODO to make sort constants static
17144 * server/Date.h: Add functions convertTM, setFromTM, Normalize
17145 (for internal use), improve comments on utility functions
17146 * server/Date.cpp: Implement getTime, setUTC functions, fix
17147 problem with regular Set functions, fix return values on
17148 several functions, add comments, TODOs, asserts, and fix a typo
17150 2006-03-09 Rob Savoye <rob@cree.moongulch.net>
17152 * backend/Makefile.am: Add ZLIB_LIBS to LDFLAGS.
17154 * All GPL'd files: Updated the copyright message in all GPL'd
17155 files with the new Mozilla exemption as crafted by the FSF. This
17156 enables Gnash to be used in Mozilla without requiring all the
17157 other plugins to be GPL'd.
17159 2006-03-09 Michael Carlson <corfe83dev@gmail.com>
17161 * server/Date.cpp: Implement all Date::getUTC functions, convert
17162 to tab indenting, create convertUTC() for internal use,
17163 implement a sane (but probably non-standard) Date::toString
17164 * server/Date.h: Add Date::convertUTC function for internal use,
17165 convert to tab indenting
17167 2006-03-08 Rob Savoye <rob@wharfrat.welcomehome.org>
17169 * configure.ac: Make using XML the default.
17171 2006-03-08 Michael Carlson <corfe83dev@gmail.com>
17173 * backend/gnash.cpp: Fix typo in and add newline to error message
17174 Avoid infinite loop and make gnash still poll for SDL events when
17175 libxml is not present
17176 * server/Date.cpp: Implement Date::gettimezoneoffset, all the
17177 basic "set" functions, cleanup messages to user a bit, rename
17178 set() to setDate(), in accordance with two unofficial references
17179 * server/Date.h: Add minutesEast variable to store timezone,
17180 rename set() to setDate()
17181 * server/array.cpp: Add some constants related to sorting
17183 2006-03-07 Rob Savoye <rob@wharfrat.welcomehome.org>
17185 * doc/C/plugin.xml: New file for internals on writing Mozilla
17187 * doc/C/internals.xml: Include new plugin section.
17188 * doc/C/Makefile.in: Add plugin.xml to the list of doc chapters.
17190 2006-03-07 Rob Savoye <rob@wharfrat.welcomehome.org>
17192 * doc/C/plugin.xml: New file for internals on writing Mozilla
17194 * doc/C/internals.xml: Include new plugin section.
17195 * doc/C/Makefile.in: Add plugin.xml to the list of doc chapters.
17197 2006-03-06 Rob Savoye <rob@cree.moongulch.net>
17199 * server/shm.cpp: Clear up ifdef mess... Both shm_open() and
17200 shmget() use file descriptors.
17202 2006-03-05 Rob Savoye <rob@wharfrat.welcomehome.org>
17204 * server/Date.cpp: If we don't have gettimeofday, use
17206 * server/shm.h: Add support for win32 shared memory.
17207 * server/shm.cpp: Add support for win32 shared memory.
17208 * server/network.h: Add support to use winsock.
17209 * server/network.cpp: Add support to use winsock.
17210 * configure.ac: Add tests for sysconf(), shmget(), shmat(),
17211 mmap(), gettimeofday(), socket(), CreateFileMapping(), and
17212 winsock.h. This covers all the differences between mingw builds
17213 and native unix builds.
17214 * libbase/container.h: Don't use pthread hack for BSD whcn cross
17215 compiling with mingw.
17216 * libbase/utility.h: Don't define windows specific assert()
17217 replacement when using mingw.
17218 * libgeometry/kd_tree_dynamic.cp: Include wctype.h and wchar.h to
17221 * server/action.cpp (gnash): Replace isblank() with testing for
17222 space and tab so it compiles with mingw32.
17224 * macros/kde.m4: Use our zlib tests, not the KDE one because the
17225 Gnash test works when cross compiling.
17227 2006-03-04 Rob Savoye <rob@wharfrat.welcomehome.org>
17229 * Makefile.am: Always build the plugin now.
17230 * configure.ac: Look for stdint, which is used by some old BSDs
17231 that for the Mozilla header files. Arg. Don't use AC_CHECK_FUNCS
17232 for finite and isfinite, try to compile code. On some systems
17233 these are functions, and on some they're constants, so this covers
17234 both cases to return a meaningful result. We always build the
17235 plugin now, so having firefox-config isn't a failure anymore.
17236 * libbase/dlmalloc.h: Move USE_DL_MALLOC ifdef up a few lines.
17237 * macros/firefox.m4: Add new macro to replace the old one, which
17238 is renamed. Turns out none of the flags from mozill-config are
17239 needed, so only find the path to install the plugin.
17240 * macros/kde.m4: Turn more errors into notices so the build
17241 doesn't stop if KDE parts aren't installed. We only want to use
17242 them if building klash. Optionally skip some tests if klash isn';t
17243 installed. Otherwise they get set if they're installed even if
17244 you aren't building klash.
17245 * plugin/Makefile.am: Don't use the DEFS from firefox-config,
17246 only MOZ_X11 is needed by the SDK. Add include path to our own
17248 * plugin/mozilla-sdk/Makefile.am: Add include path to our own
17250 * servers/Object.h: Reverse ifdef test for HAVE_FINITE so it works
17251 even with configure errors.
17252 * plugin/mozilla-sdk/include: Copy critical header files from
17253 Firefox sources so you don't need the development packages
17254 installed, nor do you need fierfox-config, which isn't included at
17255 all in some distributions.
17257 * macros/docbook.m4: Patch from Pavekl Roskin <proski@gnu.org>, to
17258 fix configure test error.
17259 * macros/libXML.m4: Patch from Pavekl Roskin <proski@gnu.org>, to
17260 correctly use xml2-config, instead of pkg-config.
17262 * plugin/player.cpp: Define NO_NSPR_10_SUPPORT so we don't have
17263 header file typedef conflicts. We don't care about the older NSPR
17266 2006-03-03 Rob Savoye <rob@wharfrat.welcomehome.org>
17268 * plugin/klash: Build klash, a Gnash customized Konquerer plugin
17269 that works similar to MozPlugger. Contributed by Koos Vriezen
17270 <koos.vriezen@gmail.com>.
17271 * configure.ac: Add Klash support, which optionally invokes a
17272 bunch of KDE tests. Add --enable-klash to build Konquerer plugin.
17273 * macros/kde.m4: KDE config macros that seem to be a default
17274 collection. These have been tweaked so the errors if QT or KDE
17275 isn't found are removed. This is done later in configure.in, and
17276 we want to build all the other code on systems without KDE.
17277 * plugin/mozplugger: Add patch to add Gnash support to
17279 * plugin/klash/README, klash.desktop, klash_part.cpp,
17280 klash_part.desktop, klash_part.h, klashpartui.rc,
17281 klashplayer.lsm, klashrc, pluginsinfo: New files from contributed
17282 Konquer plugin (works similar to MozPlugger)
17284 2006-03-02 Rob Savoye <rob@cree.moongulch.net>
17286 * plugin/plugin.cpp: Always lock the display before locking X. Add
17287 the locking to the function calls themselves, rather than wrapping
17288 all the function calls. Add debug background thread for now. We
17289 don't need SDL in the plugin now at all. Changes what gets setup
17290 and when. Use a POSIX condition to signal the threads when they
17291 have a movie to play.
17292 * plugin.h: Add unsetGL() to unset the context. important for
17293 threads. Add tons of silly debug messages.
17294 * player.cpp: Extern the mutexes, and condition variables. Always
17295 lock the display before locking X.
17296 * macros/hashmap.m4: New configure test for hash_map extension.
17297 * configure.as: Look for hash_map extension. Check for vsnprintf,
17298 strcasecmp, and stricmp.
17299 * libbase/container.h: Include config.h. Use configure support to
17301 * libbase/container.cpp: Include config.h. Use ifdefs based on
17302 configure tests for vsnprintf, strcasecmp, and stricmp.
17303 * libbase/utility.cpp: Don't build anything if dmalloc isn't
17305 * libbase/config.h: Remove as it doesn't appear to be used, and
17306 conflicts with the autoconf generated one.
17307 * libbase/Makefile.am: Include files from the src server directory
17308 too, and the top level where config.h is. Don't include the
17309 removed config.h in the header list.
17311 2006-02-28 Jim Garrison <garrison@users.sourceforge.net>
17313 * server/MovieClipLoader.cpp, server/Sprite.cpp,
17314 server/action.cpp, server/array.cpp, server/text.cpp,
17315 server/xml.cpp, server/xmlsocket.cpp: first step in migration to
17318 2006-02-28 Tomas Groth Christensen <tomasgroth@yahoo.dk>
17320 * testsuite/actionscript.all/gen-test.sh: made the test-generator
17321 use case-sensitivity, since MM flashplayer is case sensitive.
17323 2006-02-28 Rob Savoye <rob@wharfrat.welcomehome.org>
17325 * configure.ac: Look for finite and isfinite.
17326 * server/Object.h: Define finite to be isfinite if isfinite
17328 * macros/docbook.m4: Make not needing the docbook2X tools the
17331 2006-02-27 Jim Garrison <garrison@users.sourceforge.net>
17333 * libbase/Makefile.am: removed unused files
17334 * libbase/cschema.h: moved to Attic
17335 * libbase/file_util.cpp: moved to Attic
17336 * libbase/file_util.h: moved to Attic
17337 * libbase/png_helper.cpp: moved to Attic
17338 * libbase/png_helper.h: moved to Attic
17340 2006-02-27 Rob Savoye <rob@cree.moongulch.net>
17342 * plugin/player.cpp: Include Movie.h, which is where movie
17343 definitions get defined now. Include gnash.h before other local
17346 2006-02-26 Jim Garrison <garrison@users.sourceforge.net>
17348 * libbase/container.h: hash class is now implemented using
17350 * server/Movie.cpp: partial migration to hash_map API
17351 * server/Movie.h: partial migration to hash_map API
17352 * server/Object.cpp: partial migration to hash_map API
17353 * server/Sprite.h: partial migration to hash_map API
17354 * server/action.cpp: partial migration to hash_map API
17355 * server/impl.h: partial migration to hash_map API
17357 2006-02-26 Sandro Santilli <strk@keybit.net>
17359 * server/action.cpp: fixed bug in doActionCallFunction making
17360 samples/slider.swf play fine.
17361 * server/: merged movie_definition_sub into
17363 * testsuite/actionscript.all/Makefile.am: provided
17364 OUTPUT_VERSION define for *.swf and *.vswf rules
17366 2006-02-26 Rob Savoye <rob@wharfrat.welcomehome.org>
17368 * libbase/dlmalloc.h: Include stdlib.h instead of the depreciated
17370 * libbase/tu_swap.h: OpenBSD defines swap macros with the same
17371 name as these functions, so use our implementation intead.
17372 * macros/pthread.h: Reqwrite to handle weird NetBSD Pth versus
17374 * macros/sdl.m4: Throw out compile test for something simpler and
17376 * utilities/Makefile.am: Add pthread header and library.
17377 * server/Makefile.am: Add pthread header and library.
17378 * backend/Makefile.am: Add pthread header and library.
17379 * libbase/container.h: Add ugly NetBSD specific hack so it'll use
17380 pthread, not Pth if both are installed.
17381 * libgeometry/kd_tree_dynamic.cp: Include stdio so __sputc() is
17384 2006-02-25 Jim Garrison <garrison@users.sourceforge.net>
17386 * backend/render_handler_d3d.cpp: substituted array<> with
17388 * backend/render_handler_xbox.cpp: substituted array<> with
17390 * libbase/container.cpp: substituted array<> with std::vector<>
17391 * server/morph.cpp: substituted array<> with std::vector<>
17392 * server/morph.h: substituted array<> with std::vector<>
17394 2006-02-25 Michael Carlson <corfe83dev@gmail.com>
17396 * server/sound_handler_mp3.cpp: Use std::vector<> instead of
17399 2006-02-24 Jim Garrison <garrison@users.sourceforge.net>
17401 * backend/sound_handler_sdl.cpp: substituted array<> with
17403 * libbase/container.h: removed array<> definition
17404 * libbase/grid_index.h: substituted array<> with std::vector<>
17405 * libbase/image_filters.cpp: substituted array<> with std::vector<>
17406 * libbase/triangulate.h: substituted array<> with std::vector<>
17407 * libbase/triangulate_float.cpp: substituted array<> with
17409 * libbase/triangulate_impl.h: substituted array<> with
17411 * libbase/triangulate_sint32.cpp: substituted array<> with
17413 * libgeometry/kd_tree_dynamic.cpp: substituted array<> with
17415 * libgeometry/kd_tree_dynamic.h: substituted array<> with
17417 * libgeometry/tqt.h: substituted array<> with std::vector<>
17418 * server/Function.cpp: substituted array<> with std::vector<>
17419 * server/Function.h: substituted array<> with std::vector<>
17420 * server/Movie.cpp: substituted array<> with std::vector<>
17421 * server/Movie.h: substituted array<> with std::vector<>
17422 * server/MovieClipLoader.cpp: substituted array<> with std::vector<>
17423 * server/Sprite.cpp: substituted array<> with std::vector<>
17424 * server/Sprite.h: substituted array<> with std::vector<>
17425 * server/action.cpp: substituted array<> with std::vector<>
17426 * server/action.h: substituted array<> with std::vector<>
17427 * server/button.cpp: substituted array<> with std::vector<>
17428 * server/button.h: substituted array<> with std::vector<>
17429 * server/dlist.h: substituted array<> with std::vector<>
17430 * server/font.cpp: substituted array<> with std::vector<>
17431 * server/font.h: substituted array<> with std::vector<>
17432 * server/fontlib.cpp: substituted array<> with std::vector<>
17433 * server/fontlib.h: substituted array<> with std::vector<>
17434 * server/impl.cpp: substituted array<> with std::vector<>
17435 * server/impl.h: substituted array<> with std::vector<>
17436 * server/shape.cpp: substituted array<> with std::vector<>
17437 * server/shape.h: substituted array<> with std::vector<>
17438 * server/stream.cpp: substituted array<> with std::vector<>
17439 * server/stream.h: substituted array<> with std::vector<>
17440 * server/styles.h: substituted array<> with std::vector<>
17441 * server/tesselate.cpp: substituted array<> with std::vector<>
17442 * server/text.cpp: substituted array<> with std::vector<>
17443 * server/text.h: substituted array<> with std::vector<>
17444 * server/textformat.cpp: substituted array<> with std::vector<>
17445 * server/timers.cpp: substituted array<> with std::vector<>
17446 * server/timers.h: substituted array<> with std::vector<>
17447 * server/xml.cpp: substituted array<> with std::vector<>
17448 * server/xmlsocket.cpp: substituted array<> with std::vector<>
17449 * server/xmlsocket.h: substituted array<> with std::vector<>
17450 * utilities/processor.cpp: substituted array<> with std::vector<>
17452 2006-02-24 Jim Garrison <garrison@users.sourceforge.net>
17454 * backend/sound_handler_sdl.cpp: fixed int, unsigned int comparisions
17455 * libbase/grid_index.h: fixed int, unsigned int comparisions
17456 * libbase/image_filters.cpp: fixed int, unsigned int comparisions
17457 * libbase/triangulate_impl.h: fixed int, unsigned int comparisions
17458 * libgeometry/kd_tree_dynamic.cpp: fixed int, unsigned int comparisions
17459 * libgeometry/tqt.cpp: fixed int, unsigned int comparisions
17460 * plugin/plugin.cpp: fixed int, unsigned int comparisions
17461 * server/Movie.cpp: fixed int, unsigned int comparisions
17462 * server/Sprite.cpp: fixed int, unsigned int comparisions
17463 * server/action.cpp: fixed int, unsigned int comparisions
17464 * server/button.cpp: fixed int, unsigned int comparisions
17465 * server/dlist.cpp: fixed int, unsigned int comparisions
17466 * server/font.cpp: fixed int, unsigned int comparisions
17467 * server/fontlib.cpp: fixed int, unsigned int comparisions
17468 * server/impl.cpp: fixed int, unsigned int comparisions
17469 * server/morph2.cpp: fixed int, unsigned int comparisions
17470 * server/shape.cpp: fixed int, unsigned int comparisions
17471 * server/styles.cpp: fixed int, unsigned int comparisions
17472 * server/tesselate.cpp: fixed int, unsigned int comparisions
17473 * server/text.cpp: fixed int, unsigned int comparisions
17474 * server/xmlnode.cpp: fixed int, unsigned int comparisions
17475 * server/xmlsocket.cpp: fixed int, unsigned int comparisions
17477 2006-02-23 Rob Savoye <rob@wharfrat.welcomehome.org>
17479 * plugin/Makefile.am: Add flags for GTKGLExt
17480 dependancies. Remove ogl_sdl.cpp and ogl_sdl.h. Use -d instead of
17481 -z to see if the directory exists.
17482 * plugin/plugin.cpp: Don't use ogl_sdl, move the functionality
17483 into the nsPluginInstance class. Add locking around all GL and X11
17484 calls. Add Doxygen style comments blocks.
17485 * plugin/plugin.h: Don't use ogl_sdl, move the definitions
17486 into the nsPluginInstance class.
17487 * plugin/ogl_sdl.{h,cpp}: Move functionality into nsPluginInstance
17488 class. Remove files.
17490 * doc/C/sources.html: Add section on cross compiling Gnash.
17491 * libgeometry/kd_tree_packed.cpp: Comment out the two somewhat
17492 bogus assertions so this file can be cross compiled.
17493 * configure.ac: If the plugin is disabled, or glext is disabled,
17494 don't spew errors messages, since we didn't bother to look for
17495 those components anyway. Rename the macros where the prefix
17497 * macros/firefox.m4: Don't try to configure if the plugin is
17499 * macros/jpeg.m4: Look in $prefix for headers and libraries,
17500 useful for cross-compiling. Rename to use GNASH_ instead of AM_
17502 * macros/libXML.m4: Look in $prefix for headers and libraries,
17503 useful for cross-compiling.
17504 * macros/mad.m4: Look in $prefix for headers and libraries,
17505 useful for cross-compiling. Rename to use GNASH_ instead of AM_
17507 * macros/ming.m4: Rename to use GNASH_ instead of AM_ for the
17509 * macros/ogg.m4: Look in $prefix for headers and libraries,
17510 useful for cross-compiling. Rename to use GNASH_ instead of AM_
17512 * macros/opengl.m4: Look in $prefix for headers and libraries,
17513 useful for cross-compiling. Rename to use GNASH_ instead of AM_
17515 * macros/png.m4: Look in $prefix for headers and libraries,
17516 useful for cross-compiling. Rename to use GNASH_ instead of AM_
17518 * macros/sdl.m4: Look in $prefix for headers and libraries,
17519 useful for cross-compiling. Rename to use GNASH_ instead of AM_
17521 * macros/zlib.m4: Look in $prefix for headers and libraries,
17522 useful for cross-compiling. Rename to use GNASH_ instead of AM_
17524 * macros/gtkglext.m4: If --enable-glext is passed to configure,
17525 enable configuring pango, cairo, atk, glib, and gtk2 macros.
17526 * macros/atk.m4: New file to look for Gnome ATK, which is
17527 unfortunately a dependancy of GtkGlext.
17528 * macros/cairo.m4: New file to look for Cairo, which we wanted to
17529 do eventually anyway, by GtkGlext needs it too.
17530 * macros/glib.m4: New file to look for Glib, which is
17531 unfortunately a dependancy of GtkGlext.
17532 * macros/gtk2.m4: New file to look for GTK+ version 2.x, which is
17533 a dependancy of GtkGlext, but Firefox uses it too.
17534 * macros/pango.m4: New file to look for Gnome ATK, which is
17535 unfortunately a dependancy of GtkGlext.
17537 * doc/C/gnash.xml: Add the -x command line option.
17538 * doc/C/internals.xml: Add section under Plugin about using
17539 Mozplugger to use the standalone player.
17541 2006-02-22 Rob Savoye <rob@wharfrat.welcomehome.org>
17543 * backend/gnash.cpp: Add -x option to pass in the X window ID from
17544 mozplugger. If a window ID is passed in, use that to display
17545 in. This lets the standalone player be embedded in the browser
17548 2006-02-20 Rob Savoye <rob@wharfrat.welcomehome.org>
17550 * configure.ac: Add GNASH_PATH_GLEXT.
17551 * macros/gtkglext.m4: New config file to find GtkGLext package.
17553 * packaging: New directory to hold config files to build packages
17555 * packaging/debian: New directory for DEB building config files.
17556 * packaging/redhat: New directory for RPM building config files.
17557 * packaging/redhat/gnash.spec: Contributed spec file for building
17560 * macros/zlib.m4,sdl.m4,pthreads.m4,png.m4,opengl.m4,
17561 ogg.m4,mad.m4,libtool.m4,libXML.m4,jpeg.m4,dmalloc.m4:
17562 Look for /lib64 and /usr/lib64, and use those for search paths if
17564 * configure.ac: Blindly add -L/usr/lib64, so the autoconf library
17565 checking functions get the right path.
17567 2006-02-17 Rob Savoye <rob@wharfrat.welcomehome.org>
17569 * server/shm.cpp (closeMem): Use shmctl(), not shm_unlink to
17570 remove a shared memory segment on BSD machines.
17572 2006-02-15 Rob Savoye <rob@cree.moongulch.net>
17574 * config.guess: Updated to latest autoconf release.
17575 * config.sub: Updated to latest autoconf release.
17576 * ltmain.sh: Updated to latest libtool release.
17577 * backend/render_handler_ogl.cpp: Migrate patch from GameSWF.
17578 * server/action.h: Make set_local_frame_top multiline so it's
17580 * server/gnash.h: Add prototype for cxform::clamp().
17581 * server/types.cpp: Add cxform::clamp().
17582 * server/shape.cpp: Fix a few warnings about comparison and sign.
17583 * server/shm.cpp (attach): Use SVR4 styles shared memory segments
17584 if there is no POSIX shared memory support, like NetBSD or
17586 * server/shm.h: Add private data to store the SV4 shared memory
17587 key, and the SVR4 shared memory ID.
17588 * server/xml.cpp: Move a few methods outside
17589 ENABLE_TESTING. Return NULL from a few unimplemented methods.
17590 * server/xml.h: Move a few methods outside ENABLE_TESTING.
17591 * server/xmlnode.h: Move a few methods outside ENABLE_TESTING.
17592 * server/xmlnode.cpp: Move a few methods outside ENABLE_TESTING.
17593 * testsuite/actionscript.all/XML.as: Make some tests unresolved
17594 because I'm not clear what the proper behaviour is.
17596 2006-02-15 Sandro Santilli <strk@keybit.net>
17598 * testsuite/actionscript.all/Makefile.am: added online-tests rule.
17599 * testsuite/actionscript.all/Function.as: avoided === test, not
17600 available in versions < 6.
17601 * testsuite/actionscript.all/gen-index.sh: utility script for
17602 the online-tests rule: generates index.html and index.wiki.
17603 * testsuite/actionscript.all/check.as: support for ONLINE define,
17604 using XTRACE and only printing failures when that's defined.
17605 * testsuite/actionscript.all/gen-test.as: changed to use the check
17607 * testsuite/actionscript.all: Boolean.as, Camera.as, Color.as,
17608 ContextMenu.as, CustomActions.as, Error.as, LoadVars.as,
17609 Microphone.as, Mouse.as, NetStream.as, Selection.as,
17610 SharedObject.as, Stage.as, System.as, TextSnapshot.as, Video.as:
17612 * server/swf.h: added note about which action_buffer private
17613 method implmements which ACTION_DELETE* block.
17614 * testsuite/actionscript.all/Global.as: added test for
17617 2006-02-14 Rob Savoye <rob@wharfrat.welcomehome.org>
17619 * configure.ac: Look for shm_open().
17620 * server/shm.cpp: If we don't have POSIX shared memory (like *BSD
17621 systems), don't try to compile anything for now.
17622 * server/shm.h: If we don't have POSIX shared memory (like *BSD
17623 systems), don't try to compile anything for now.
17625 2006-02-14 Sandro Santilli <strk@keybit.net>
17627 * server/Object.{h,cpp}: new instanceOf(function_as_object*) method.
17628 * server/action.{h,cpp}: ACTION_INSTANCEOF and ACTION_CASTOP
17629 implemented. Fixed ACTION_DELETE.
17630 * testsuite/actionscript.all/Inheritance.as: instanceOf tests.
17631 * testsuite/actionscript.all/delete.as: delete tests.
17632 * testsuite/actionscript.all/Date.as: changed to use the check() macro.
17634 2006-02-14 Michael Carlson <corfe83dev@gmail.com>
17636 * server/array.cpp: Make tostring() and join() not output any
17637 enclosing parentheses, and handle empty array case better
17638 * testsuite/actionscript.all/array.as: Change all tests to use
17639 new check macro. Add tests for all implemented array functions,
17640 as well as several tests for the unimplemented sort function.
17641 * libbase/jpeg.cpp: don't ever crash by trying to read
17642 headers of the same jpeg twice
17644 2006-02-13 Rob Savoye <rob@wharfrat.welcomehome.org>
17646 * macros/firefox.m4: Set FIREFOX_PLUGINS correctly at the proper
17647 time. Add another pattern to the sed rule to munge the path.
17648 * configure.ac: Print out where the plugin will get installed.
17650 * libamf/Makefile.am: DOn't link in the other libraries so libamf
17652 * libamf/amf.cpp: Default to not using log_msg().
17653 * libamf/amftest.cpp: Don't build unless you have dejagnu.h.
17654 * configure.ac: Check for the dejagnu.h header for unit testing.
17656 2006-02-13 Sandro Santilli <strk@keybit.net>
17658 * testsuite/actionscript.all/xtrace.as: trace window enlarged.
17659 * testsuite/actionscript.all/Inheritance.as: inheritance test
17660 * server/Object.h: new header file for definitions from as_object
17661 up to as_value (will split again at sometime).
17662 gnash::as_object_interface class definition merged with
17663 gnash::as_object, now directly derived from gnash::resource.
17664 * server/action.cpp: doActionEquals and doActionStrictEquals private
17665 action_buffer methods. Made as_value::to_object valid for AS_FUNCTION
17667 * server/Function.{cpp,h}: Made 'Function' an AS_FUNCTION to allow for
17668 'prototype' based inheritance. Implemented Function.call
17671 2006-02-12 Michael Carlson <corfe83dev@gmail.com>
17673 * server/action.cpp: Fix silly '!' that breaks _global.isfinite
17675 2006-02-12 Rob Savoye <rob@wharfrat.welcomehome.org>
17677 * libamf/amf.h: New file for AMF encoder/decoder library.
17678 * libamf/amfutf8.h: New file for AMF encoder/decoder library to
17679 handle UTF8 strings.
17680 * libamf/amf.cpp: New file for AMF encoder/decoder library.
17681 * libamf/Makefile.am: New makefile for amf library.
17682 * libamf/amftest.cpp: New test case for AMF library.
17683 * Makefile.am: Add libamf directory.
17684 * configure.ac: Add libamf directory.
17686 2006-02-11 Jim Garrison <garrison@users.sourceforge.net>
17688 * libbase/container.h: changed array to derive from std::vector
17689 instead of being custom implemented, renamed hash::is_empty()
17691 * libbase/grid_index.h: changed to std::vector API
17692 * libbase/triangulate_impl.h: changed to std::vector API
17693 * server/Movie.cpp: changed to std::vector API
17694 * server/MovieClipLoader.cpp: create explicit empty array instead
17695 of passing the value 0
17696 * server/Sprite.h: set each element of std::vector<bool> to
17697 false instead of using memset
17698 * server/action.cpp: changed to std::vector API
17699 * server/dlist.cpp: changed to std::vector API
17700 * server/font.cpp: changed hash::is_empty() to hash::empty()
17701 * server/fontlib.cpp: changed to std::vector API
17702 * server/impl.cpp: changed to std::vector API
17703 * server/shape.cpp: changed to std::vector API, typecast
17704 std:vector::size() to an integer to fix an assertion
17705 * server/tesselate.cpp: changed to std::vector API
17706 * server/textformat.cpp: create explicit empty array instead
17707 of passing the value 0
17708 * server/timers.cpp: create explicit empty array instead
17709 of passing the value 0
17710 * server/xml.cpp: create explicit empty array instead
17711 of passing the value 0
17712 * server/xmlsocket.h: changed to std::vector API
17714 2006-02-11 Rob Savoye <rob@wharfrat.welcomehome.org>
17716 * server/xmlnode.{h,cpp): Implement nodeType property.
17717 * testsuite/actionscript.all/XMLNode.as: Add test for
17718 XMLNode::nodeType property.
17719 * doc/C/xmlnode.xml: New file for accidentally skipped class.
17720 * doc/C/internals.xml: Update section on using as_value
17721 objects. Include XMLNode section.
17722 * macros/docbook.m4: Extract and save the version of the Docbook2X
17723 tools, because there are two big differences in command line
17724 options depending which version you have.
17725 * configure.ac: Print the version of the Docbook2X tools, if
17726 --enable-docbook is specified.
17727 * doc/C/Makefile.am: Check the version of the Docbook2X tools when
17728 running db2x_texixml.
17729 * macros/sdl.m4: Define HAVE_SDL_MIXER_H if we have SDL Mixer
17732 2006-02-10 Rob Savoye <rob@wharfrat.welcomehome.org>
17734 * backend/render_handler_ogl.cpp (render_handler): Migrated patch
17735 from GameSWF that fixed a problem that meant that bitmap fill
17736 styles would not respect colour modulation (e.g. the use of Tint
17738 * server/types.h: Define cxform::clamp.
17739 * server/types.cpp: Implementation of cxform::clamp.
17741 * doc/C/internals.xml: Add section on adding properties to an
17742 ActionScript class. Add section on using as_value objects.
17744 * testsuite/actionscript.all/dejagnu.as: Implement the DejaGnu
17745 unit testing API for ActionScript.
17746 * testsuite/actionscript.all/XML.as: Use new DejaGnu API for test
17748 * testsuite/actionscript.all/XMLNode.as: New test case for
17749 XMLNode to test the methods and properties.
17750 * server/xmlnode.h: Add prototypes for new methods.
17751 * server/xmlnode.cpp: Implement appendChild() cloneNode()
17752 methods, and nodeName, nodeValue, firstChild, lastChild,
17753 previousSibling, nextSibling, parentNode properties.
17754 * server/xml.h: Define properties correctly.
17755 * server/xml.cpp: Add properties to a node as other operations
17756 on the node are done.
17757 * configure.ac: Disable the XMLReader by default.
17758 * libbase/membuf.cpp: Free, don't delete the pointer in the
17760 * server/action.cpp: Define virtual destructor for
17761 as_property_interface.
17762 * server/gnash.h: Define virtual destructor for import_visitor.
17763 * server/shape.{h,cpp}: Define destructor for tesselating_shape.
17764 * server/styles.h: Define destructors for base_fill_style and
17766 * server/tesselate.{h,cpp}: Define destructor for
17767 trapezoid_accepter.
17769 2006-02-10 Sandro Santilli <strk@keybit.net>
17771 * server/action.{cpp,h}: added doActionCallMethod,
17772 doActionCallFunction, doActionDefineFunction,
17773 doActionGetMember and doActionDefineFunction2 private
17774 methods to action_buffer. Changed text representation
17775 of generic objects from [object Object] to a more
17776 interesing value, fixed <c_function 0x0x###>
17777 * testsuite/actionscript.all/Function.as: more tests.
17778 * server/Object.cpp: reworked get_member/set_member to map
17779 "__proto__" to m_prototype.
17780 * server/Function.{h,cpp}: mapped m_properties to
17781 "prototype". Set prototype.constructor at properties
17782 initialization time.
17784 2006-02-09 Rob Savoye <rob@wharfrat.welcomehome.org>
17786 * macros/ghelp.m4: Disable ghelp support by default. Use
17787 --enable-ghelp to turn it back on.
17788 * doc/omf.make: Don't try to install anything if GHELP isn't
17791 2006-02-09 Sandro Santilli <strk@keybit.net>
17793 * doc/C/Makefile.am: spaces => tab
17794 * doc/C/internals.xml: about writing tests
17795 * testsuite/actionscript.all/Global.as: added two more tests,
17796 fixed existing test to bypass preprocessor mangling.
17797 * testsuite/actionscript.all/Function.as: added some tests
17798 for prototype, prototype.constructor and __proto__ (inheritance)
17799 * server/action.{cpp,h}: moved ACTION_NEW and ACTION_INSTANCEOF
17800 handling code in action_buffer private doActionNew and
17801 doActionInstanceOf (the latter being under development).
17803 2006-02-09 Michael Carlson <corfe83dev@gmail.com>
17805 * server/action.cpp: Implement _global.parseInt for all cases.
17806 Also implement _global.parseFloat, and _global.isNan,
17807 _global.isFinite, _global.unescape
17808 * server/action.h: add as_value::is_finite(), set_nan for
17810 * testsuite/actionscript.all: add and fix up parseInt test cases
17811 also add some parseFloat test cases
17813 2006-02-08 Rob Savoye <rob@wharfrat.welcomehome.org>
17815 * server/shm.cpp (exists): Move to be within the ENABLE_TESTING
17818 2006-02-08 Rob Savoye <rob@cree.moongulch.net>
17820 * Makefile.am: Rearrange directories for SUBDIRS and
17822 * autogen.sh: Remove hardcoded path to /usr/bin.
17823 * doc/C/appendix.xml: Add section to "Coding Style" about Doxygen
17825 * doc/C/internals.xml: Metion code generation scripts in
17826 CVS. Expand "Adding ActionScript" section Add sectioj on
17827 parameter passing for callbacks. Add section on testing Gnash.
17828 * server/Makefile.am: Add xmlattrs and xmlnodes to the list of
17829 headers and source files.
17830 * server/xml.h: Move XMLAttrs and XMLNode to their own source
17831 files to reduce clutter. Use std::vector instead of "tu
17832 array". Add new accessors to use for testing. Move a few method
17833 definitions to the source file.
17834 * server/xml.cpp: Move XMLAttrs and XMLNode to their own source
17835 files to reduce clutter. Use std::vector instead of "tu array".
17836 Add new accessors to use for testing. Move a few method
17837 definitions from the header file. Implement XML::appendChild(),
17838 XMLNode::appendChild(), XML::createElement(), XML::cloneNode(),
17839 and XML::createTextNode().
17840 * testsuite/actionscript/XML.as: Add tests for the new methods.
17842 * server/xmlattrs.{h,cpp}: New file for XMLAttr class moved out of
17844 * server/xmlnode.{h,cpp}: New file for XMLAttr class moved out of
17847 2006-02-06 Patrice Dumas <pertusus at free.fr>
17849 * macros/docbook.m4: enable by default. Add an AM_CONDITIONNAL for
17850 each of the formats.
17851 * macros/ghelp.m4: enable by default. Correct AC_PATH_PROG 3rd arg.
17852 Don't check for the user is root (the user needs to be root only
17853 for make install, in case he wants to run scrollkeeper-update).
17854 * doc/omf.make: don't use $(GHELP) it is never set. Test for the
17855 user being root only when running scrollkeeper-update, any user
17856 may install the files. Use $(omffile) instead of $(srcdir)/*.omf.
17858 * doc/xmldocs.make: move general stuff to doc/C/Makefile.am
17859 (EXTRA_DIST, CLEANFILES, xml_files). Similarly, define all-local
17860 and not all. Add amissing $(DESTDIR). Take dist-hook and
17861 install-data-hook from doc/C/Makefile.am.
17862 * doc/C/Makefile.am: use the GHELP automake conditionnal to
17863 conditionnally include scrollkeeper stuff. Remove XML_FILES, as
17864 xml_files from the scrollkeeper code is the same. Distribute
17865 info and texi files. Simplify rules to build docs and
17866 conditionnalize on automake conditionnals. If the tools aren't
17867 there, touch the files. As the doc files requires specific
17868 tools to build, flag them as MAINTAINERCLEANFILES.
17869 * doc/C/gnash.omf: rename to gnash-C.omf and minor changes.
17871 2006-02-08 Sandro Santilli <strk@keybit.net>
17873 * testsuite/actionscript.all/Global.as: _global functions tests
17874 * testsuite/actionscript.all/Function.as: modified to use check.as
17875 * testsuite/actionscript.all/Object.as: modified to use check.as
17876 * testsuite/actionscript.all/check.as: framework for dejagnu testing
17878 2006-02-08 Michael Carlson <corfe83dev@gmail.com>
17880 * server/action.cpp: implement _global.parseInt's simplest case
17882 2006-02-06 Sandro Santilli <strk@keybit.net>
17884 * server/action.h: Added as_environment::dump_stack(), more dox
17885 * server/action.cpp: Fixed <as_function 0x0x####>, cleanups
17886 * server/swf.h: Added dox for ACTION_CALLMETHOD
17887 * libbase/container.h: Doxygen comments for smart_ptr class
17888 * testsuite/actionscript.all/Function.as: more tests for
17890 * testsuite/actionscript.all/Makefile.am: rule to build
17891 'visual tracing' version of tests (.vswf)
17892 * server/Function.cpp: implemented Function.apply()
17894 2006-02-05 Sandro Santilli <strk@keybit.net>
17896 * server/action.cpp used symbolic names in s_instruction_table.
17898 2006-02-05 Rob Savoye <rob@wharfrat.welcomehome.org>
17900 * testsuite/actionscript.all/testin.xml: XML test file to test the
17903 * plugin/plugin.cpp (NewStream): Add support to parse the options
17904 passed in when the plugin is invoked to play a stream. Add special
17905 debug flags so we can attach GDB at leisure and not have to screw
17906 with loading shared libraries.
17907 * server/xml.{h,cpp}: Fix capitalization errors in
17908 names. Implement getBytesTotal(), getBytesLoaded(),
17909 and hasChildNodes().
17910 * testsuite/actionscript.all/XML.as: Add tests for
17911 getBytesTotal(), getBytesLoaded(), and hasChildNodes().
17913 * server/xml.h: Add stubs for the missing methods and
17914 properties. Fix bit rot with get_member() so it actually works
17916 * server/xml.cpp: Add stubs for the missing methods and
17918 * testsuite/actionscript.all/XML.as: New file to test XML class.
17920 2006-02-05 Sandro Santilli <strk@keybit.net>
17922 * server/swf.h: added SWF::ACTION_DEFINEFUNCTION2 (0x8e)
17923 * server/action.cpp: added support for Object copy construction
17924 obj = new Object(otherobj).
17925 * server/: renamed as_as_function to as_function_object, moved
17926 it's definition in Function.{h,cpp}. Moved as_object methods
17927 from action.cpp to Object.cpp (new file). Fixed definition
17928 of prototipal ::apply and ::call members for Function object.
17930 2006-02-05 Michael Carlson <corfe83dev@gmail.com>
17932 * server/Sprite.cpp: goto_frame now uses mutator to stop instead
17933 of directly changing state (so now it resets dt counter too)
17935 2006-02-04 Rob Savoye <rob@wharfrat.welcomehome.org>
17937 * server/shm.{h,cpp}: New support code for using POSIX named
17938 shared memory segments.
17939 * server/LocalConnection.h: Alternatively use shared memory
17940 instead of a socket connection.
17941 * server/LocalConnection.cpp: Alternatively use shared memory
17942 instead of a socket connection.
17943 * testsuite/actionscript.all/LocalConnection.as: Add addiotnal
17944 tests for when using a shared memory subsystem.
17945 * server/Makefile.am: Add shm.h, shm.cpp, network.cpp, network.h.
17946 * configure.ac: Add --enable flag to switch using shared memory to
17947 networking for local connections.
17949 * server/LocalConnection.h: Change API for connect(), and
17951 * server/LocalConnection.cpp: Change API for connect(), and
17952 domain(). Initial implementations of domain(), connect(), and
17955 * server/network.cpp: Replace code with networking code from one
17956 of my other GPL'd projects, PowerGuru. That code is much more
17957 fully functional in a generic sense, and pretty solid too. Add
17958 more accessors to use for testing LocalConnection.
17959 * server/network.h: Add more accessors to use for testing
17961 * testsuite/actionscript.all/LocalConnection.as: Test the newly
17962 implemented methods.
17964 * server/network.{h,cpp}: New files to hold base networking class
17965 for use by other ActionScript objects. This base class contains
17966 the code for custom methods that implement accessors to the data
17967 to enable unit testing derived classes like NetConnection and
17969 * server/NetConnection.h: Move all testing code to network.h.
17970 * server/NetConnection.cpp: Move all testing code to
17971 network.cpp. Setup callbacks for our custom methods using the
17972 Network, instead of NetConnection class.
17974 * Makefile.am: Rearrange variable definitions so the dist and
17975 distcheck Makefile targets actually work. Add DIST directories so
17976 everything makes it into the tarball.
17977 * doc/C/Makefile.am: Define XML_FILES for all the other xml doc
17978 files. Add DESTDIR to the install path. Rearrange variable
17979 definitions so the distcheck Makefile target actually works.
17981 2006-02-04 John Gilmore <gnu@toad.com>
17983 * backend/gnash.cpp: Set window title to "gnash: " and movie name.
17984 Correct help/usage string.
17986 2006-02-04 Sandro Santilli <strk@keybit.net>
17988 * libbase/container.h: Doxygen-compatible comments for hash
17989 struct. Const-correct size() method.
17990 * server/action.cpp: opcode 0x43 (Declare Object / INITOBJECT)
17993 2006-02-04 Rob Savoye <rob@wharfrat.welcomehome.org>
17995 * doc/C/netconnection.xml: Update with more detailed data on this
17998 * server/NetConnection.cpp: Implement part of the connect()
17999 method. Add C++ accessor methods as AS methods, and we can call
18000 our custom methods from testing code to examine the internal state
18002 * server/NetConnection.h: Add C++ accessor methods as AS methods,
18003 * testsuite/actionscript.all/NetConnection.as: Test the connect()
18004 method to make sure the URL gets parsed correctly, if specified.
18005 * configure.ac: Add --disble-testing option to not build
18006 additional code used for testing.
18008 2006-02-04 Michael Carlson <corfe83dev@gmail.com>
18010 * server/Date.cpp: Clean up Date, and implement getDate()
18011 * server/action.cpp: Fix SetTargetDynamic opcode and further fix
18014 2006-02-03 Rob Savoye <rob@wharfrat.welcomehome.org>
18016 * macros/docbook.m4: Fix improper use of 3rd parameter to
18019 * configure.ac: Add --enable-sdk-install to install headers for
18020 those who want to use Gnash as a development library.
18021 * plugin/ogl_sdl.cpp: Drop old demo code.
18022 * libbase/Makefile.am: Rename libbase to libgnashbase to
18023 reduce the chance of name collision.
18024 * libgeometry/Makefile.am: Rename libgeometry to libgnashgeo to
18025 reduce the chance of name collision.
18026 * server/Makefile.am: Rename libserver to libgnashserver, and
18027 libasobjs to libgnashasobjs to reduce the chance of name
18029 * backend/Makefile.am: Rename libgbackend to libgnashbackend to
18030 reduce the chance of name collision. Use the new library names to
18032 * utilities/Makefile.am: Use the new library names to link.
18033 * plugin/Makefile.am: Rename libgnash to be libgnashplugin to
18034 reduce the chance of name collision. Use the new library names to
18037 * server/action.cpp: Add missing opcodes to disassembler table,a
18038 and rename the unsupported ones to have a "_fixme" attached when
18039 printing debug information.
18040 * backend/Makefile.am (AM_LDFLAGS): Add $(X_LIBS) so we can link
18041 with libraries in /usr/X11R6/lib.
18043 * Makefile.am (ACLOCAL_AMFLAGS): Add so autoreconf works.
18045 2006-02-03 Michael Carlson <corfe83dev@gmail.com>
18047 * server/action.cpp: SetTarget is now implemented for targets
18049 * backend/render_handler_ogl.cpp: use TWIPS_TO_PIXELS macro
18050 instead of hardcoded 20 value
18052 2006-02-03 Sandro Santilli <strk@keybit.net>
18054 * testsuite/actionscript.all/Function.as: tests for user-defined
18056 * server/swf.h: moved SWF namespace definition in it's own header,
18057 added action_type enum, added ACTION_EXTENDS, ACTION_CASTOBJECT,
18058 ACTION_IMPLEMENTS tag_types, added dox on some action_types.
18059 * server/action.cpp: used symbolic names for SWF action tag ids
18060 * testsuite/actionscript.all/Object.as: test for Object class
18061 * testsuite/actionscript.all/Makefile.am: added support for
18062 user-defined flags to ``makeswf'' invocation
18063 (for -DUSE_XTRACE, mainly)
18064 * libbase/: image.h, jpeg.h: Doxygen-compatible comments
18066 2006-02-03 Michael Carlson <corfe83dev@gmail.com>
18068 * server/textformat.cpp: fix typo in textformat_new log message
18069 * server/action.cpp: modulus operand in actionscript now returns
18070 NaN on division by zero
18071 * server/Date.h: Setup basic time storage variables
18072 * server/Date.cpp: Implement default constructor, basic time
18075 2006-02-02 Rob Savoye <rob@wharfrat.welcomehome.org>
18077 * testsuite/actionscript.all/Makefile.am: Use the standard
18078 automake way to build the test cases.
18080 * Makefile.am (STD_DIRS): Remove testsuite. Nothing actually needs
18081 to be done at "make all" time anyway. So now the testuites can
18082 only be run from the testsuite subdirctory.
18083 * macros/png.m4: Fix various typos and other stupid errors that
18084 kept the --with-png-incl and --with-png-lib options from working
18086 * configure.ac: Tweak test for PNG support.
18088 2006-02-01 Rob Savoye <rob@cree.moongulch.net>
18090 * testsuite/actionscript.all/gen-test.sh: Developer utility script
18091 that uses the NOTES file to generate a Ming style "as" source file,
18092 which can be used to test an ActionScript class.
18093 * server/gen-files.sh: Developer utility script that uses the
18094 NOTES file to generate header and source file templates for an
18095 ActionScript class.
18096 * doc/C/gen-doc.sh: Developer utility script that uses the NOTES
18097 file to generate a documentation template for an ActionScript
18099 * doc/C/NOTES: Data file for file generation scripts. This is only
18100 of interest to other developers. If you change this file, you may
18101 break the other developer gen-* scripts.
18102 * testsuite/Makefile.am: Add dejagnu to AUTOMAKE_OPTIONS. Reset
18103 RUNTESTDEFAULTFLAGS to not use the --tool option.
18104 * testsuite/actionscript.all/Makefile.am: Add dejagnu to
18105 AUTOMAKE_OPTIONS. Reset RUNTESTDEFAULTFLAGS to not use the --tool
18107 * testsuite/actionscript.all/swf_exists.exp: Test driver for
18108 DejaGnu to run the new test cases.
18109 * testsuite/actionscript.all/Boolean.as, Date.as, Microphone.as,
18110 SharedObject.as, Camera.as, Error.as, Mouse.as, Stage.as,
18111 Color.as, server/Makefile.am, backend/Makefile.am,
18112 Function.as, NetConnection.as, System.as, ContextMenu.as,
18113 LoadVars.as, NetStream.as, TextSnapshot.as, CustomActions.as,
18114 LocalConnection.as, Selection.as, Video.as: New Ming based test
18115 cases for ActionScript classes. Currently all these do is test for
18116 the existance of a class, and all of it's methods.
18117 * server/Boolean.cpp, Date.cpp, Microphone.cpp, SharedObject.cpp,
18118 Camera.cpp, Error.cpp, Mouse.cpp, Stage.cpp, Color.cpp,
18119 Function.cpp, NetConnection.cpp, System.cpp, ContextMenu.cpp,
18120 LoadVars.cpp, NetStream.cpp, TextSnapshot.cpp, CustomActions.cpp,
18121 LocalConnection.cpp, Selection.cpp, Video.cpp: New stubs for
18122 missing ActionScript classes. All they do for now is print
18123 "unimplemented", but as all the hard code to tie a class and it's
18124 methods into Gnash is done, it'll be much easier to fill in
18127 2006-01-30 Michael Carlson <corfe83dev@gmail.com>
18129 * backend/render_handler_ogl.cpp: tentative implementation
18130 of line_style_width with appropriate TODO message
18132 2006-01-30 Rob Savoye <rob@ripple.welcomehome.org>
18134 * doc/C/accessibility.xml, button.xml, camera.xml,
18135 contextmenu.xml, customactions.xml, date.xml,
18136 error.xml, internals.xml, key.xml,
18137 loadvars.xml, localconnection.xml,
18138 microphone.xml, mouse.xml, netstream.xml,
18139 selection.xml, sharedobject.xml, sound.xml,
18140 stage.xml, textsnapshot.xml, video.xml,
18141 xml.xml, xmlsocket.xml: Add content.
18142 * doc/C/accessibility.xml camera.xml, color.xml, contextmenu.xml,
18143 customactions.xml, date.xml, error.xml, function.xml, key.xml,
18144 loadvars.xml, localconnection.xml, microphone.xml, mouse.xml,
18145 movieclip.xml, moviecliploader.xml, netstream.xml, object.xml,
18146 selection.xml, sharedobject.xml, sound.xml, stage.xml, system.xml,
18147 textfield.xml, textformat.xml,textsnapshot.xml. video.xml,
18148 xml.xml, xmlsocket.xml: New machine generated templates for
18149 ActionScript class documentaion.
18151 * doc/C/array.xml, boolean.xml, button.xml, math.xml,
18152 netconnection.xml, number.xml, string.xml: New docs, one for each
18153 ActionScript class.
18155 2006-01-29 Rob Savoye <rob@wharfrat.welcomehome.org>
18157 * doc/C/internals.xml: Add a table of what ActionScript classes
18158 are implemented, and to what degree.
18159 * doc/C/sources.xml: Add section on PNG and JPEG dependancies. Add
18160 section on using Doxygen.
18162 * doc/Doxyfile.in (INPUT): Change to using @top_srcdir@, so the
18163 doxygen usage supports building the docs when configuring with a
18164 separate build tree from the sources.
18166 2006-01-28 Rob Savoye <rob@wharfrat.welcomehome.org>
18168 * doc/C/internals.xml: Add section on adding new ActionScript
18169 classes with reasonable detail.
18171 * doc/C/sources.xml: New file extracted from gnash.xml, and made a
18172 standalone file since it's grown in size.
18173 * doc/C/appendix.xml: New file for Appendix content.
18174 * doc/C/gnash.xml: Move some sections to separete files. Include
18177 * doc/C/Makefile.am: Add pdf and info to SUFFIXES so the rules
18180 * doc/omf.make (install-data-hook-omf): Only install if you are
18181 root, as this requires writing to system directories.
18182 * configure.ac: Link the doc/C/images directory to the build
18183 directory so we can find images when producing output files. Check
18184 state of DocBook when it's enabled.
18185 * macros/docbook.m4: Add path to stylesheets for Ubuntu. Look for
18186 fop.sh, and the DocBook2X conversion tools. Make DocBook optional,
18187 use --enable-docbook to enable. When disableed, you can't build
18189 * macros/ghelp.m4: Check for Scrollkeeper tools. Using GNOME Help
18190 is disabled by default. Use --enable-ghelp to enable.
18191 * doc/C/Makefile.am: Use variables defined by configure for all
18192 the conversion tools.
18194 2006-01-27 Rob Savoye <rob@wharfrat.welcomehome.org>
18196 * plugin/player.cpp: Use GLinitialized instead of
18197 surface_activated, which turns out to be a system definition on
18198 some Unixes. Make main_loop take a nsPluginInstance as an argument
18199 so we have all the data we need. Setup a thread to run the
18201 * server/Makefile.am, backend/Makefile.am,
18202 plugin/Makefile.am, utility/Makefile.am,
18203 plugin/mozilla-sdk/Makefile.am: Don't use VORBIS variables
18205 * macros/libXML.m4: Use xml2-config instead of pkg-config.
18206 * maxros/mad.m4: Add BSD path prefix, /usr/pkg.
18207 * libbase/triangulate_impl.h: Drop the long modifier when printing
18209 * libbase/Makefile.am: Make dmalloc build conditionally when
18210 --enable-dmalloc is passed to configure.
18211 * backend/sound_handler_sdl.cpp: Only compile if SDL_Mixer is
18213 * backend/gnash.cpp: xml_fd should always be defined. Make using
18214 SDL_Mixer for sound be conditional, since a machine may have SDL
18215 installed, but not SDL_Mixer, but we still want the player to
18217 * server/xmlsocket.h, xmlsocket.cpp: Include config.h as generated
18218 by configue if it exists.
18219 * server/xml.h, xml.cpp: Include config.h as generated
18220 by configue if it exists.
18221 * configure.ac: Enable test for pthread.h and libpthread. Don't
18222 look for Vorbis, the Ogg tests are enough.
18223 * server/Movie.cpp, Sprite.cpp, impl.cpp, array.cpp: Include
18224 pthread.h to get around a data type definition problem on
18225 NetBSD. This seems to be required when using STL containers on
18227 * macros/opengl.m4: Use mad.m4 as a template and rewrite to be
18229 * macros/png.m4: Use mad.m4 as a template and rewrite to be
18231 * macros/jpeg.m4: Use mad.m4 as a template and rewrite to be
18233 * macros/sdl.m4: Look for SDL specific directory before and after
18234 the include or lib since some platforms install these differently.
18235 * macros/pthreads.m4: Look for POSIX Thread support. This turns
18236 out to be very messy with NetBSD, as the old version is also
18237 installed, and we have to link with the right one for any
18238 executable to work.
18240 2006-01-26 Rob Savoye <rob@wharfrat.welcomehome.org>
18242 * plugin/Makefile.am: Link in shared libraries. Install the plugin
18243 in the users home directory for mozilla or firefox plugins.
18244 * server/Makefile.am, backend/Makefile.am,
18245 plugin/Makefile.am, plugin/mozilla-sdk/Makefile.am: Sigh, back to
18246 building and installing shared libraries because AMD64-linux
18247 doesn't support linking the plugin with static libraries.
18249 * configure.ac: Don't complain about missing libxml2 libraries if
18250 --disable-xml was specified.
18251 * backend/gnash.cpp: Always define gofast and goslow, even if XML
18252 support is disabled.
18253 * libbase/tu_types.h: If the Mozilla obsolete Prototypes file has
18254 been included, don't redefine the 64 bit data types.
18256 * testsuite/movies.all/elvis.swf: Remove URL ping to spyware
18259 * libbase/triangulate_impl.h: Change %ld to %d in print statement.
18260 * libbase/tu_types.h: Use SDL typedefs always.
18262 2006-01-24 Rob Savoye <rob@wharfrat.welcomehome.org>
18264 * macros/opengl.m4: Update based on mad.m4 template.
18265 * macros/mad.m4: Fix typo, -I should be a -L.
18267 2006-01-24 Michael Carlson <corfe83dev@gmail.com>
18269 * server/array.h: as_array_object now uses deque instead of vector
18270 * server/array.cpp: Implement array::unshift, shift, reverse,
18271 concat, slice, toString, join - also make push return the new
18272 length as it should have done before
18274 2006-01-23 Rob Savoye <rob@wharfrat.welcomehome.org>
18276 * plugin/player.cpp, player.h: Neew file for Flash player within
18278 * plugin/ogl_sdl.cpp, ogl_sdl.h: New files for OpenGL and SDL
18280 * plugin/Makefile.am: Build a static archive library instead of a
18281 shared one. Link to the static libraries.
18282 * server/Makefile.am: Build a static archive library instead of a
18283 shared one. Link to the static libraries.
18284 * backend/Makefile.am: Build a static archive library instead of a
18285 shared one. Link to the static libraries.
18286 * plugin/Makefile.am: Build a static archive library instead of a
18288 * plugin/mozilla-sdk/Makefile.am: Build a static archive library
18289 instead of a shared one.
18291 * server/Makefile.am: Don't install the libraries.
18292 * backend/Makefile.am: Don't install the libraries.
18293 * plugin/Makefile.am: Don't install the
18294 libraries. Pass-no-undefined to libtool so all symbols are
18295 resolved in the final shared library.
18296 * plugin/mozilla-sdk/Makefile.am: Don't install the libraries.
18298 * configure.ac: Use new DMALLOC test.
18299 * macros/dmalloc.m4: New macro for dmalloc support.
18300 * utilities/Makefile.am: Add support for dmalloc.
18301 * server/Makefile.am: Add support for dmalloc.
18302 * backend/Makefile.am: Add support for dmalloc.
18303 * plugin/Makefile.am: Add support for dmalloc.
18304 * libbase/utility.cpp: Only build if we have mallinfo.
18306 2006-01-23 Michael Carlson <corfe83dev@gmail.com>
18308 * server/action.h: Create utility funcs as_value::is_inf, is_nan
18309 * server/action.cpp: Let as_value String<->Number conversions
18310 use NaN, +Infinity, -Infinity where appropriate
18311 * server/string.cpp: Make charCodeAt() return a NaN value when
18313 * server/array.cpp: Array now checks for NaN after converting
18314 index string to_number(), instead of the old hacked-up way
18316 2006-01-23 Rob Savoye <rob@wharfrat.welcomehome.org>
18318 * server/styles.cpp: Fix condition for gradient test.
18320 * configure.ac: Remove AM_MKINSTALLDIRS macro, it's now unneeded.
18322 2006-01-23 Michael Carlson <corfe83dev@gmail.com>
18324 * server/array.h: Move new array code into array.cpp, array.h
18325 * server/array.cpp: Move new array code into array.cpp, array.h
18326 * server/action.cpp: Move new array code into array.cpp, array.h
18327 * server/Makefile.am: Move new array code into array.cpp, array.h
18328 * server/font.cpp: Report an error and continue when we get two
18329 of the same kerning pairs for a font, instead of crashing
18331 2006-01-22 Rob Savoye <rob@wharfrat.welcomehome.org>
18333 * configure.ac: Make text at end of configure more detailed about
18335 * macros/mad.m4: New macro to find libmad for mp3 support.
18336 * utilities/Makefile.am: Make MP3 support truly optional.
18337 * server/Makefile.am: Make MP3 support truly optional.
18338 * backend/Makefile.am: Make MP3 support truly optional.
18339 * plugin/Makefile.am: Make MP3 support truly optional.
18341 2006-01-21 Rob Savoye <rob@wharfrat.welcomehome.org>
18343 * configure.ac: Add tests for Ogg and Vorbis.
18344 * backend/Makefile.am: Add flags and libs for Ogg and Vorbis as
18346 * utilities/Makefile.am: Add flags and libs for Ogg and Vorbis as
18348 * plugin/Makefile.am: Add flags and libs for Ogg and Vorbis as
18351 * server/styles.cpp: Don't abort if we read a bad gradient.
18353 * macros/sdl.m4: Store the compilation flags so the compilation
18354 tests works on ppc-linux.
18356 2006-01-21 Michael Carlson <corfe83dev@gmail.com>
18358 * server/action.cpp: Initial implementation of as_array_object
18359 ( get_member, set_member, push, pop, and length )
18361 2006-01-20 Rob Savoye <rob@wharfrat.welcomehome.org>
18363 * backend/Makefile.am: Make the OGL and SDL support a library so
18364 it can also be used by the plugin.
18365 * libbase/Makefile.am: Add SDL_MIXER_CFLAGS to the include paths.
18366 * macros/sdl.m4: Correct typo so --with-sdl_mixer-lib actually
18367 works. Add /usr/bin/X11 to the default search path for
18369 * server/styles.cpp: Print a better error message wh.en a bad
18370 gradient value is read before aborting.
18372 2006-01-19 Rob Savoye <rob@wharfrat.welcomehome.org>
18374 * utilities/Makefile.am: Link with AM_LDFLAGS.
18375 * utilities/parser.cpp: Include config.h. Define gofast, goslow,
18377 * utilities/processor.cpp: Include config.h. Define gofast,
18378 goslow, and nodelay.
18379 * configure.ac: Look for mkinstalldirs. Remove test for GLUT, it's
18381 * doc/C/gnash.xml: Update copyright year.
18382 * backend/gnash.cpp: Include config.h. Give default values to
18384 * backend/Makefile.am: Don't install compatibility_include.h.
18385 * libbase/Makefile.am: Remove unused install hook.
18386 * libgeometry/Makefile.am: Remove unused install hook.
18387 * server/Makefile.am: Remove unused install hook.
18388 * config.mk.in: Remove GLUT variable.
18389 * All GPL'd Files: Update copyright year.
18390 * macros/firefox.m4: Get the java and plugin flags from
18391 $mconfig. Don't look for GLUT, it'sm not needed.
18392 * plugin/Makefile.am: Add include paths for all the Gnash
18393 directories and libxml2.
18395 2006-01-08 Rob Savoye <rob@wharfrat.welcomehome.org>
18397 * configure.ac: Print out an error message if any of the critical
18398 development packages aren't installed.
18400 * testsuite/movies.all: New sub directory for whole movies used
18401 for demos and testing.
18402 * testsuite/movies.all/ORIGIN: List where all these movies came
18404 * testsuite/movies.all/elvis.swf: Dancing figures movie. Makes a
18405 decent performance test.
18407 * testsuite/actionscript.all/movieclip_test.swf,
18408 moviecliploader_test.swf, text_formatting.swf, text_sizes.swf,
18409 visible_and_transparency.swf: New test cases.
18410 * testsuite/actionscript.all/green.jpg,lynch.jpg,offspring.jpg:
18411 New image files for the MovieClip and MovieClipLoader test cases.
18413 * testsuite: New directory for DejaGnu test suite.
18414 * testsuite/config: New directory for DejaGnu config files.
18415 * testsuite/lib: New directory for DejaGnu library files.
18416 * testsuite/actionscript.all: New directory for ActionScript test
18419 2006-01-07 Rob Savoye <rob@bertha.welcomehome.org>
18421 * server/impl.cpp (gnash): Use unsigned int for for loops so we
18422 don't have problems with comparing integers.
18424 2006-01-07 Rob Savoye <rob@darkstar.welcomehome.org>
18426 * plugin/plugin.cpp (eventThread): Add background thread for
18427 processing flash movies. Merge in OpenGL/SDL support from the
18428 standalone player. Start a thread for each new stream.
18430 2006-01-06 Rob Savoye <rob@bertha.welcomehome.org>
18432 * server/sound_handler_mp3.cpp: Build if libmad exists.
18433 * configure.ac: Rearrange the final display lines, and the order
18434 some of the tests are done in. Look for libmad.
18435 * backend/Makefile.am: Add OpenGL flags so Darwin is happy.
18436 * libgeometry/Makefile.am: Add OpenGL flags so Darwin is happy.
18437 * server/Makefile.am: Add sound_handler_mp3.cpp.
18439 * macros/opengl.m4: Rewrite completely. Add --with-opengl optins
18440 for the paths, and also make --disable-opengl work correctly.
18442 * libgeometry/geometry.h(math): Rename _X, _Y, or _Z because on
18443 Darwin they conflict with system header definitions.
18445 * configure.in, config.h.in, all Makefiles.in: Remove generated
18446 files from CVS. Running autogen.sh will regenerate them.
18448 2006-01-05 Rob Savoye <rob@bertha.welcomehome.org>
18450 * server/action.cpp: Cast to void * to print the pointer address.
18452 * libbase/triangulate.h: Migrate patch from GameSWF.
18453 * libbase/triangulate_impl.h: Migrate patch from GameSWF.
18454 * libbase/triangulate_float.cpp: Migrate patch from GameSWF.
18455 * libbase/triangulate_sint32.cpp: Migrate patch from GameSWF.
18457 2005-12-27 Rob Savoye <rob@bertha.welcomehome.org>
18459 * doc/C/gnash.xml: Add sections on software dependancies,
18460 configuring, installing, and running Gnash.
18462 * server/Makefile.am: Don't install the libraries in a package
18463 subdirectory of $libdir.
18464 * libbase/Makefile.am: Don't install the libraries in a package
18465 subdirectory of $libdir.
18466 * libgeometry/Makefile.am: Don't install the libraries in a
18467 package subdirectory of $libdir.
18469 * autogen.sh: If any command arguments are supplied, don't run
18470 automake, as nothing has changed but the configure script. This is
18471 to reduce clutter in the checkin messages when only a configure
18472 change has been made.
18474 * macros/libXML.m4: Don't look for XML libraries in the prefix
18476 * macros/firefox.m4: Don't look for Firefox libraries in the
18479 2005-12-26 Rob Savoye <rob@bertha.welcomehome.org>
18481 * Makefile.am: Add doc subdirectory to DIST_SUBDIRS so it gets
18482 included in the tarball, but isn't part of the SUBDIRS, since we
18483 don't always want to build the docs.
18485 * macros/libXML.m4: Make the --with-libxml-include and
18486 --with-libxml-libraries add the library to the path. Test if
18487 pk-config exists. Use it if it does, but if it doesn't, do a brute
18488 force check of standard install locations for the XML2 headers and
18491 * backend/gnash.cpp: Define gofast and goslow here instead of
18493 * server/xmlsocket.cpp: Reference gofast and goslow as externs so
18494 gnash actually builds with --disable-xml.
18496 2005-12-25 Rob Savoye <rob@bertha.welcomehome.org>
18498 * plugin/plugin.cpp: Fix plugin name so it's recognized correctly
18499 to play flash movies looking for the proprietary Flash
18500 player. Instead of rendering the flash movie, copy the byte stream
18501 to /tmp instead so we can collect more test cases.
18503 * configure.ac: Fix the --disable-xml option so it actually
18506 2005-12-21 Rob Savoye <rob@bertha.welcomehome.org>
18508 * macros/firefox.m4: Move enable test to here. If firefox-config
18509 doesn't exist, look for mozilla-config. If neither exists, the
18510 plugin won't be built as the mozilla development headers and
18511 libraries aren't installed.
18512 * Makefile.am: Don't try to build the plugin if the mozilla
18513 development SDK isn't installed.
18515 * config.h.in: Checkin header file produced by autoheader so Gnash
18516 builds on machines without the Autotools installed.
18517 * doc/C/images/car_crash.txt: Add file for alt text so conversion
18518 to info works correctly.
18520 * doc/C/gnash.xml: Update legal notices.
18521 * doc/C/fdl-appendix.xml: Add FDL in DocBook format.
18523 2005-12-20 Rob Savoye <rob@bertha.welcomehome.org>
18525 * libbase/Makefile.am, libgeometry/Makefile.am,
18526 server/Makefile.am: Don't install the headers.
18527 * plugin/mozilla-sdk/Makefile.am: Install the SDK library.
18529 * doc/C/gnash.xml: Add more content beyond just the command line
18530 arguments. Add a screenshot of the car crash test case.
18531 * configure.ac: Drop the plugin/test directory, it's unused for
18534 2005-12-11 Rob Savoye <rob@bertha.welcomehome.org>
18536 * server/xml.cpp, xml.h: Update copyright notice.
18537 * server/xmlsocket.cpp, xmlsocket.h: Update copyright notice.
18539 2005-12-10 Rob Savoye <rob@bertha.welcomehome.org>
18541 * AUTHORS, README, NEWS: Add content.