/
ChangeLog-0.8.1
2983 lines (2168 loc) · 111 KB
/
ChangeLog-0.8.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2007-08-28 Deanna Phillips <deanna>
* libbase/utility.h: define exp2 and log2 if not available
based on HAVE_LOG2 and HAVE_EXP2
* configure.ac: detect availability of log2 and exp2
2007-08-27 Sandro Santilli <strk@keybit.net>
* libbase/utility.h: don't define exp2(), it's going to clash
with existing symbol on most systems (except some BSDen)...
Please provide a better patch for BSD.
2007-08-27 Deanna Phillips <deanna>
* testsuite/misc-ming.all/NetStream-SquareTestRunner.cpp: include
<unistd.h>
2007-08-27 Deanna Philips <deanna>
* libbase/utility.h: defined exp2() as it's missing on some BSDen.
2007-08-24 Miriam Ruiz <little_miry@yahoo.es>
* plugin/klash/klash_part.cpp: Patch for GNASHEXE.
2007-08-23 Sandro Santilli <strk@keybit.net>
* libamf/amf.{cpp,h}: fixed a bunch of memory errors, added
some dox, first pass to interface clean ups.
* testsuite/libamf.all/Makefile.am: add testsuite/ to the
include dir, to allow for using our check_equals functions.
* testsuite/libamf.all/: test_object.cpp, test_string.cpp,
test_variable.cpp: fixed new[]/delete mismatches.
2007-08-23 Sandro Santilli <strk@keybit.net>
* configure.ac: move BOOST macro detector invocation after
PTHREAD one, as the former requires the latter.
2007-08-23 Deanna Phillips <deanna>
* macros/pthreads.m4: set pthread flags to -pthread for openbsd.
* libbase/rc.cpp: include unistd.h for getuid()
2007-08-23 Markus Gothe <nietzsche@lysator.liu.se>
* libamf/amf.cpp: memcpy -> strncpy, since it does a memory
access violation on Darwin (and porbably other OSes).
2007-08-22 Sandro Santilli <strk@keybit.net>
* NEWS: add note about the 'debugLog' gnashrc fix and set
release date to Aug 23 (tomorrow).
* Makefile.am: distribute autogen.sh.
2007-08-22 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/DrawingApiTestRunner.cpp:
Try another work-around to gcc-4.1.2 bug, commented
this time.
* testsuite/actionscript.all/MovieClip.as:
Modify syntax used to test for functions availability
to cope with a bug in Ming < 00040005.
Should fix bug #20867.
2007-08-22 Sandro Santilli <strk@keybit.net>
* configure.ac: bail out if kde gui or kparts plugin are
requested but kde/qt deps are not met. Should fix bug
#20848; bail out if boost_thread is not set to yes.
* macros/boost.m4: check for boost/thread.hpp. Should fix
bug #20847.
2007-08-21 Sandro Santilli <strk@keybit.net>
* libbase/embedVideoDecoderGst.cpp (createDecoder): don't
abort if outputFormat is NONE (renderer missing).
Fixes bug bug #20852.
2007-08-21 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
* configure.ac: look for getpwnam
* libbase/rc.cpp (expandPath): don't try to use getpwnam
if not provided by OS.
2007-08-21 Udo Giacomozzi <udo.gnu@nova-sys.net>
* backend/render_handler_tri.cpp: fix world_to_pixel() so that OpenGL
works again
2007-08-20 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
* configure.ac: look for the pwd.h header
* doc/C/usermanual/usage/gnashrc.xml: add info about tilde expansion.
* libbase/rc.{cpp,h}: add support for tilde expansion in debugLog
value.
2007-08-20 Sandro Santilli <strk@keybit.net>
* libbase/log.{cpp,h}: print an error on stderr of the debug log file
can not be opened for writing. Minor cleanups (including dox).
2007-08-20 Sandro Santilli <strk@keybit.net>
* server/vm/ExecutableCode.h (FunctionCode::markReachableResources):
Don't mark the function twice, and most importantly don't forget
to mark the target character !!
2007-08-20 Asger Ottar Alstrup <asger@area9.dk>
* testsuite/misc-mtasc.all/: Makefile.am, exception.as:
Test for try/catch (gnash fails).
2007-08-20 Sandro Santilli <strk@keybit.net>
* testsuite/libbase/: TCXXRc.cpp, gnashrc.in:
Test 'set debuglog' directive.
2007-08-20 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
* libbase/log.cpp: fix 'set debuglog' directive.
2007-08-19 Sandro Santilli <strk@keybit.net>
* server/vm/ASHandlers.cpp (ActionGetVariables): simplify debugging
output.
2007-08-19 Sandro Santilli <strk@keybit.net>
* server/vm/ASHandlers.cpp (CommonGetUrl): backport a copy from
head.
2007-08-19 Markus Gothe <nietzsche@lysator.liu.se>
* testsuite/libbase/Makefile.am,
testsuite/libamf.all/Makefile.am: Added DEJAGNU_CFLAGS.
2007-08-19 Sandro Santilli <strk@keybit.net>
* server/FreetypeGlyphsProvider.cpp: remove compiler warnings.
* doc/C/usermanual/usage/gnashrc.xml: document
flashVersionString variable.
2007-08-19 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
* libbase/rc.{cpp,h}: Avoid string copies in inspectors;
add getFlashVersionString (support for
"set flashVersionString Bla bla bla" in gnashrc).
* server/vm/VM.cpp (getPlayerVersion): Query RcInit for version
string
* testsuite/libbase/: TCXXRc.cpp, gnashrc.in:
Add test for
2007-08-18 Sandro Santilli <strk@keybit.net>
* server/swf/tag_loaders.cpp (define_bits_lossless_2_loader):
ensure bytes, not bits!
* server/vm/ASHandlers.cpp (CommonGetUrl): always check
for URL (security). Give precedence to loadVariable
calls even if target is _level#. Fixes load of
uptoten.com.
* plugin/plugin.cpp: Use the environmental variable
GNASH_PLUGIN_DESCRIPTION for the plugin description
(when set).
2007-08-18 Sandro Santilli <strk@keybit.net>
* server/video_stream_instance.cpp: mark characters created
using new Video as dynamic.
* server/character.h (isDynamic): remove bogus assertion
failing for dynamically-loaded movies.
2007-08-18 Sandro Santilli <strk@keybit.net>
* server/text.cpp (resolve_font): fix missing return.
* server/parser/text_character_def.cpp: fix compiler warnings.
2007-08-18 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
* configure.ac: define flash player version macros
for compatibility detectors.
* plugin/plugin.cpp: build the flash player version
using provided macros.
* server/vm/VM.cpp: buil flash player version using
provided macros.
2007-08-18 Sandro Santilli <strk@keybit.net>
* server/as_object.h (ensureType): fix printing of *source* type
name.
* macros/firefox.m4: don't substitute GNASHEXE at all, it's not
used anymore.
2007-08-18 Sandro Santilli <strk@keybit.net>
* server/text.{cpp,h}: make text_style class store only the font
pointer, w/out the font_id, provide setFont and getFont
methods, the former always performing a lookup.
* server/parser/text_character_def.cpp (read): use
text_style::setFont() to set the font this properly updates
the actual font pointer in the text_format, fixing bug #20812.
* server/edit_text_character.cpp: use text_style::setFont() to
set font by pointer.
* server/parser/: movie_definition.h, movie_def_impl.{h,cpp},
sprite_definition.h: const-correct get_font() method.
* server/parser/movie_def_impl.{h,cpp}: const-corrected
in_import_table(), made private and re-activated assertion
checking temporarly removed during to GC layout changes.
2007-08-18 Sandro Santilli <strk@keybit.net>
* server/parser/text_character_def.cpp: use symbolic names for
tag types, more verbose parsing.
2007-08-18 Sandro Santilli <strk@keybit.net>
* libbase/jpeg.cpp (jpeg_error_exit): only print SWF errors if
configured to do so; (input_impl): throw an exception if
jpeg_read_header detected errors.
* server/swf/tag_loaders.cpp (jpeg_tables_loader,
define_bits_jpeg_loader): early exception checking to avoid
parser interruption on malformed embedded jpeg.
2007-08-18 Felix Eckhofer <felix@tribut.de>
* plugin/klash/klash_part.cpp: use the -u switch when invoking
the standalone gnash. Fixes youtube playback for konqueror.
Still missing -U and -P switches.
2007-08-18 Sandro Santilli <strk@keybit.net>
* macros/firefox.m4: drop --with-gnashexe and GNASHEXE macro
* plugin/Makefile.am: define GNASHBINDIR based on ${bindir}
* plugin/klash/Makefile.am: define GNASHBINDIR based on ${bindir}
2007-08-17 Sandro Santilli <strk@keybit.net>
* server/sprite_instance.cpp (setVariables):
Convert variable names to lowercase when needed.
* testsuite/misc-ming.all/: Makefile.am, FlashVarsTest.{as,html}:
Test that parameter names are converted to lowercase when target
SWF is < 7.
2007-08-17 Sandro Santilli <strk@keybit.net>
* NEWS: Better support for flash player detection
2007-08-17 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
* server/vm/VM.cpp (getPlayerVersion): define FLASH_VERSION as
a compatibility version for use by $version or
System.capabilities.version based version detection kits.
(TODO items added for a cleaner handling of this).
* plugin/plugin.cpp: define FLASH_VERSION as a compatibility version
for use by javascript-based flash version detection kits.
2007-08-13 Alfred M. Szmidt <ams@gnu.org>
* configure.ac: State that a <= 2.4 version of AGG is an error.
2007-08-16 Takashi Iwai <tiwai@suse.de>
* libbase/network.cpp (Network::createServer): fix a bug making
the test for DEFAULTPROTO == "udp" always fail.
2007-08-15 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* backend/sound_handler_{sdl,gst}.cpp: Removed primitive
sync'ing code since it resulted in bad audio.
2007-08-10 Sandro Santilli <strk@keybit.net>
* gui/Makefile.am: fix build of sdl/cairo
* configure.ac: abort if a requested renderer/gui combination
isn't supported (checked for gtk/kde/sdl/fb/fltk)
2007-08-10 Sandro Santilli <strk@keybit.net>
* gui/Makefile.am: typo preventing gtk/cairo combination from building
* server/FreetypeGlyphsProvider.{cpp,h}: add a destructor getting
rid of the resources associated with a face.
* configure.ac: FLTK/OGL isn't supported, while SDL/OGL is !
2007-08-09 David Rorex <drorex@gmail.com>
* server/FreetypeGlyphsProvider.cpp: minor change to print the
freetype glyph format in human readable form. patch #6148.
2007-08-10 Sandro Santilli <strk@keybit.net>
* server/vm/ActionExec.{cpp,h}: refactor the check for call stack
depth at end of execution to take depth at *start* of execution
into account.
2007-08-10 Sandro Santilli <strk@keybit.net>
* server/vm/ActionExec.cpp (cleanupAfterRun): don't assume the call
stack should be empty at the end of global code execution. Still
print an error as we need further investigation about it. Fixes
bug #20740.
2007-08-10 Zou Lunkai <zoulunkai@gmail.com>
* server/dlist.cpp: revert mask related code, fix bug#20655, which is
a blocker.
2007-08-10 Alexander Sack <asac@jwsdot.com>
* backend/Makefile.am, libamf/Makefile.am, libbase/Makefile.am,
libgeometry/Makefile.am, plugin/mozilla-sdk/Makefile.am,
server/Makefile.am: use $pkglibdir for unversioned libs.
2007-08-09 Sandro Santilli <strk@keybit.net>
* server/swf/tag_loaders.cpp (sound_stream_block_loader): don't
discard the first 4 bytes if not reading an MP3. Makes ADPCM
sound better for the feed.swf case (but ADPCM decoder needs
lot more work to be correct)
2007-08-09 Sandro Santilli <strk@keybit.net>
* server/FreetypeGlyphsProvider.cpp (getGlyph): don't abort if
FT_Load_Char doesn't return an outline glyph, rather print
an UNIMPLEMENTED message and the type of glyph you got.
* server/swf/tag_loaders.cpp (ADPCMDecoder::adpcm_expand):
Rather then throwing a ParseException, just print an error
as it's much likely the error is in Gnash parser, rather
then in a malformed SWF, and tests show we do a better
job like that then by stopping the parser.
Also, print an error if the bytesNeeded computation doesn't
match the actual number of bytes read.
2007-08-09 Sandro Santilli <strk@keybit.net>
* server/swf/tag_loaders.cpp: move all ADPCM-related code in an
ADPCMDecoder class.
* server/button_character_instance.cpp (construct): properly construct
all button child characters. Fixes bug #20729.
* server/swf/tag_loaders.cpp (adpcm_expand): another try at fixing the
needed bytes count for compressed adpcm samples. Also, remove call
to ceil.
2007-08-09 Sandro Santilli <strk@keybit.net>
* configure.ac: set version to 0.8.1
2007-08-09 Sandro Santilli <strk@keybit.net>
* server/stream.h (ensureBytes): be more verbose about the lack of
data. Fix signed/unsigned comparison.
* server/swf/tag_loaders.cpp (adpcm_expand): fix count of needed
bytes. Fixes bug #20725.
2007-08-08 Benjamin Wolsey <benjamin_pelican@yahoo.co.uk>
* plugin/plugin.cpp: replicate compatibility version to the end, to
make UFO flash version detector happy. Fixes bug #20696.
2007-08-08 Sandro Santilli <strk@keybit.net>
* server/sprite_instance.cpp: drop set_variable() methods.
Have setVariables() call set_member directly (might change in the
future to call as_environment's set_variable, if we find out
variables in query string, FlashParams and loadVariable loaded text
files can contain path elements).
2007-08-08 Sandro Santilli <strk@keybit.net>
* testsuite/actionscript.all/LoadVars.as: enabled tests erroneously
committed disabled.
* server/sprite_instance.cpp (processCompletedLoadVariableRequests):
use set_member, not set_variable - the latter is only meant to be
called on the root movie.
* server/impl.cpp, server/swf/tag_loaders.{cpp,h}: stub parsing
of REFLEX tag.
* server/asobj/Mouse.cpp: make the global Mouse symbol point
to an object, not a constructor.
* testsuite/actionscript.all/Mouse.as: xcheck -> check.
2007-08-08 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* backend/sound_handler_{sdl,gst}.cpp: Detect and fix if a soundstream
is out of sync (after position-jump or general out of sync issue),
fixes bug #20681.
2007-08-08 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* backend/sound_handler_sdl.cpp: Fix counting of samples played,
and use the output samplerate to calculate the playhead position
in time, fixes/improves bug #20684.
2007-08-07 Sandro Santilli <strk@keybit.net>
* gui/Makefile.am: clean the 'gnash' script on make clean.
* server/sprite_instance.cpp (processCompletedLoadVariableRequest):
fix attempt to increment past-the-end iterator.
* libbase/zlib_adaptar.cpp: don't hang on corrupted input.
* libbase/jpeg.{cpp,h}: don't segfault on corrupted input.
* server/matrix.cpp (read): add TODO item (check input)
* server/rect.cpp (read): add TODO item (check input)
* server/movie_instance.cpp (advance): warn only once about movie
containing no frames.
* server/parser/morph2_character_def.{cpp,h} (read): document,
don't read past end of tag.
* server/stream.h (read_variable_count): document and add
integrity checks. Add a GNASH_TRUST_SWF macro to turn ensureBytes
to a no-op.
* server/parser/shape_character_def.cpp (read_fill_styles,
read_line_styles, read): don't read past end of tag. Don't try to
recover if an exception is thrown by fill style parser.
* server/styles.{cpp,h} (line_style::read): don't read past end of tag.
* server/fill_style.{cpp,h} (read): don't read past end of tag.
* server/types.{cpp,h} (rgba::read_rgba, rgbe::read): don't read past end
of tag.
* server/parser/action_buffer.cpp (read): don't read past end of tag.
* Makefile.am: don't list 'doc' twice in subdirs. Fixes 'distclean'
rule.
2007-08-07 Sergio Costas <raster (at) rastersoft.com>
* backend/sound_handler_gst.cpp: Fix returns from getPosition
(patch #6140), and fix a segfault when asking for position
before sound has been started (patch #6138).
* backend/sound_handler_sdl.cpp: Fix returns from getPosition
(patch #6140).
2007-08-06 Sandro Santilli <strk@keybit.net>
* doc/xmldocs.make: fix uninstall rule to properly remove images
of the manual.
* doc/C/Makefile.am, doc/C/asspec/Makefile.am: don't list entities
twice for distribution (fixed make uninstall for the most part,
needs some other tweak for png files)
* testsuite/actionscript.all/toString_valueOf.as: fix some
of the tests, disable a test depending on timezone. Please
further tests on Date go to the Date.as file.
* server/as_value.{cpp,h}: add a to_int() method taking
care of compatible integer conversion. Add note about
deprecation of templated to_number<>.
* server/vm/ASHandlers.cpp: explicitly use to_int() in bitwise
ops. Fixes ops.as testcases built with newer Ming. Add TODO
lines about possible other uses.
* testsuite/swfdec/PASSING: bitwise-{5,6,7}.swf now pass.
2007-08-06 Sandro Santilli <strk@keybit.net>
* testsuite/actionscript.all/ops.as: add test for 0xffffffff
conversion to integer needing to be -1 (gnash fails, need Ming head
to reproduce)
* server/video_stream_instance.cpp (markReachableResources): don't
forget to call the character's version of resource marking !!
Fixes bug #20657.
2007-08-06 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/actionscript.all/ops.as: xcheck to check, it passed here.
2007-08-05 Sandro Santilli <strk@keybit.net>
* server/parser/character_def.h: provide a protected copy constructor
resetting the render_cache_manager to NULL in the copy, to avoid
multiple destruction of the same object. Add private and aborting
assignment operator. Fixes bug #20694.
* server/parser/shape_character_def.{cpp,h}: implement copy
constructor. Add private and aborting assignment operator.
Deprecate input/output cache methods and data.
* server/DynamicShape.cpp: update after deprecation of cache
data for input/output stuff.
2007-08-05 Sandro Santilli <strk@keybit.net>
* server/vm/VM.h: make gnash buildable with GC unused.
2007-08-05 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/actionscript.all/toString_valueOf.as, Makefile.am: focused tests,
hopefully helps the model("String" object is not bogus, and "trace" is also sane).
2007-08-04 Sandro Santilli <strk@keybit.net>
* testsuite/actionscript.all/array.as: fixed testcase.
2007-08-04 Sandro Santilli <strk@keybit.net>
* testsuite/generic-testrunner.sh: it seems 'read' w/out arg
starts being a problem with some shells.
2007-08-04 Sandro Santilli <strk@keybit.net>
* gui/gnash.in: add missing she bang.
2007-08-04 Ivor Blockley <meteoryte@yahoo.com.au>
* server/array.cpp:
Pointers to the as_environment object in the as_value comparison
functors are now references.
Fix a bug caused by a missing return statement in the get_basic_eq
function.
* testsuite/actionscript.all/array.as:
UNIQUE -> UNIQUESORT flag.
add some tests to see how AS objects implementing the valueOf method
interact with array class methods.
2007-08-04 Sandro Santilli <strk@keybit.net>
* server/asobj/xmlnode.{cpp,h}: mark reachable resources
(childs and parent).
2007-08-03 Sandro Santilli <strk@keybit.net>
* server/asobj/Stage.cpp (notifyResize): use PROPNAME()
for proper case of notification event. Finish the dangling
referneces drop thing.
2007-08-03 Sandro Santilli <strk@keybit.net>
* server/asobj/Stage.{cpp,h}: Mark all listeners as reachable,
drop the unused dropDanglingListeners (since it's verified
the Stage doesn't store *weak* pointers).
2007-08-03 Sandro Santilli <strk@keybit.net>
* server/movie_root.cpp (getStage): properly convert case when
fetching the "Stage" object from SWF6 or lower.
* server/asobj/Stage.cpp (onResize): properly convert case
when fetching the "scaleMode" property from SWF6 or lower.
2007-08-03 Sandro Santilli <strk@keybit.net>
* testsuite/actionscript.all/Stage.as: test deleting an object
which is also a listener (Gnash segfaults).
2007-08-03 Ivor Blockley <meteoryte@yahoo.com.au>
* server/array.{cpp,h}: fixes previously identified issues with
array.cpp involving functions that needed to be environment and
SWF-version aware (mainly functions involved in sorting).
* testsuite/actionscript.all/array.as: xcheck->check, few more
tests.
2007-08-03 Sandro Santilli <strk@keybit.net>
* server/asobj/NetStream.{cpp,h}: mark associated as_environment
as reachable (but I think there are ownership problem there,
the as_environment might be deleted before the NetStream object
is, in which case we'd access random memory).
2007-08-03 Sandro Santilli <strk@keybit.net>
* configure.ac: make sure PKG_CONFIG is defined before calling
GNAH_PATH_XXX. Made the notice clearer about GNASH_PATH_XX
need to be put after it.
2007-08-03 Sandro Santilli <strk@keybit.net>
* configure.ac: move GTK detection code *after* the cross-compiling
section, so that $incllist is properly set. Add notice about
the fact that any GNASH_PATH_XX must be invoked after that one.
2007-08-03 Sandro Santilli <strk@keybit.net>
* Makefile.am: only descend in doc/ subdir if DOCBOOK is enabled.
2007-08-03 Sandro Santilli <strk@keybit.net>
* configure.ac: check GTK dependencies only if $build_gtk=yes.
print a WARNING and set $build_gtk=no if deps are not met.
All of this is done *before* NSAPI is checked, so it would
correctly be built or not depending on $build_gtk only.
2007-08-03 Sandro Santilli <strk@keybit.net>
* configure.ac: fix automatic kparts/nsapi plugin build
based on gui availability.
2007-08-03 Sandro Santilli <strk@keybit.net>
* configure.ac: fix misleading warning about KDE/GTK gui
not being built while KPARTS/NSAPI plugin is when instead
the guis are actually being built.
2007-08-03 Ivor Blockley <meteoryte@yahoo.com.au>
* server/array.cpp: fix iterators invalidation (bug #20667).
2007-08-03 Rob Savoye <rob@deal.welcomehome.org>
* configure.ac: Fix typo so --disable-nsapi works. Cleanup the
logic of what gets built when. Add a few warnings.
2007-08-02 Sandro Santilli <strk@keybit.net>
* Makefile.am: add plugins info to 'dumpconfig' output,
simplify the SUBDIR construction (side-effect is we always
descend to most subdirs, even if there's nothing to do in them)
* plugin/Makefile.am: don't build libgnashplugin if NSAPI
conditional is false; always descend to klash/ subdir
and let the inner Makefile.am handle conditionals for KPARTS.
* plugin/klash/Makefile.am: don't override the 'all' target.
2007-08-02 Rob Savoye <rob@deal.welcomehome.org>
* plugin/Makefile.am: Use BUILD_KDE_GUI instead of KLASH. Use
NSAPI instead of PLUGIN, KPARTS instead of KLASH.
* Makefile.am: Change from PLUGIN to NSAPI and KPARTS for conditionals.
* configure.ac: Change --disable-klash to --disable-kparts, add
--disable-nsapi to replace the older --disable-plugin
setting. Make building the plugins conditional on the gui being
selected and if the development libraries exist.
* gui/Makefile.am: Comment out the dyna,ic vs static support, it's
uneeded for now.
* macros/firefox.m4: Use nsapi instead of plugin as the
conditional.
* macros/kde.m4: set has_kde to yes by default. It can get
disabled later.
* plugin/klash/Makefile.am: Use KPARTS instead of KLASH.
2007-08-02 Sandro Santilli <strk@keybit.net>
* server/asobj/gen-asclass.sh: add the addStatic call to statics.
* server/movie_root.{cpp,h}: use a member (and a getter) for the global
key object, and properly mark it as alive.
2007-08-02 Sandro Santilli <strk@keybit.net>
* server/edit_text_character.cpp: register statics.
* server/sprite_instance.cpp: register statics.
* server/video_stream_instance.cpp: register statics.
* server/array.cpp: register static constructor and prototype,
since arrays are used by the core independentely of their
availability as global classes (function arguments are arrays).
* server/as_function.cpp: register static constructor and prototype,
since functions are used by the core independently of their
availability as global classes (each function uses the Function
prototype).
2007-08-02 Sandro Santilli <strk@keybit.net>
* testsuite/actionscript.all/ops.as: more tests for 'string' == NaN.
* server/as_value.cpp (equals): yet another pass at
abstract equality operator. We're still not there, but
getting closer.
* testsuite/actionscript.all/ops.as: xcheck -> check.
2007-08-02 Sandro Santilli <strk@keybit.net>
* testsuite/actionscript.all/: Function.as, ops.as:
Moved tests for equality operator against MovieClip where
it belongs.
2007-08-02 Sandro Santilli <strk@keybit.net>
* testsuite/actionscript.all/MovieClip.as: test MovieClip.valueOf().
* server/as_value.{cpp,h}: as_environment parameter made mandatory
for the equals() method.
* server/vm/ASHandlers.cpp (ActionEquals): update calls to
as_value::equals().
2007-08-02 Sandro Santilli <strk@keybit.net>
* testsuite/actionscript.all/array.as: add test for Array.valueOf().
* server/as_value.cpp (equals) : fix true==1 and true!=2
(was failing).
* server/vm/ASHandlers.cpp: shift right/left : take undefined
values as zeroes.
* testsuite/actionscript.all/ops.as: minor additions, xcheck to
check.
2007-08-02 Sandro Santilli <strk@keybit.net>
* server/PropertyList.cpp: add compile-time macro for debugging
property allocations.
2007-08-02 Udo Giacomozzi <udo.gnu@nova-sys.net>
* gui/gtk_glue_agg.cpp: Warn when compiling for OLPC, change compile-time
error to runtime error to be multi-GUI friendly.
2007-08-02 Sandro Santilli <strk@keybit.net>
* server/asobj/NetConnection.h: remove the unused _owner method.
2007-08-02 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/actionscript.all/ops.as: more tests, checks to xchecks.
2007-08-02 Sandro Santilli <strk@keybit.net>
* gui/Makefile.am: comment out the _DEPENDENCIES lines. Properly
rebuilds the binaries when needed (might be breaking another kind
of dependency, but this one was pretty disturbing for me in that
it didn't trigger rebuil when _LIBS changed)
* server/asobj/MovieClipLoader.cpp: implement reachable resources
marker (listeners).
* server/movie_root.cpp: set background to white by default.
Should fix bug #20655.
2007-08-02 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/actionscript.all/ops.as: more tests and more failures. still
need more, we don't want fail on those basic logical operations.
2007-08-01 Sandro Santilli <strk@keybit.net>
* server/swf/tag_loaders.cpp (define_sound_loader): fix a bug
introduced by last commit (sorry)
2007-08-01 Sandro Santilli <strk@keybit.net>
* server/swf/tag_loaders.cpp: completely remove the bogus assertion
about the required input bytes in relation to the number of samples.
Rather, add more ensureBytes() uses, closer to where the data is
actually read from the stream.
2007-08-01 Sandro Santilli <strk@keybit.net>
* server/swf/tag_loaders.cpp (sound_expand): fix assertion
checking; added some uses of the new stream::ensureBytes() method;
add more scoped_array uses.
2007-08-01 Sandro Santilli <strk@keybit.net>
* server/stream.h: add ensureBytes() method to verify
SWF integrity.
2007-08-01 Sandro Santilli <strk@keybit.net>
* server/swf/tag_loaders.cpp: (define_sound_loader) check if number of
samples exceed available bytes in the tag. (sound_expand) assertion
checking. (u8_expand) use a scoped_array in the easy case (we'll
need more smart pointers in general).
* backend/sound_handler.h (create_sound, fill_stream_data): document ownership
of the 'data' argument, and add a TODO item about changing
the interface.
2007-08-01 Udo Giacomozzi <udo.gnu@nova-sys.net>
* gui/gtk_glue_agg.cpp: Support the OLPC again
2007-08-01 Sandro Santilli <strk@keybit.net>
* server/asobj/: Boolean.cpp, Number.cpp, string.cpp:
register static constructors and prototypes with the VM.
* server/vm/VM.{cpp,h}: Add support for registering
arbitrary as_object for reachability. Intended to
be used whenever a static as_object pointer is allocated.
2007-08-01 Sandro Santilli <strk@keybit.net>
* gui/gnash.in: don't loose parameters layout. Fixes bug #20651.
* gui/Makefile.am: distribute gnash.in
2007-08-01 Udo Giacomozzi <udo.gnu@nova-sys.net>
* gui/gtk_glue_agg.{cpp,h}: stubbed pixel format detection. Will
break OLPC support but fix bug #20649 for all others.
2007-08-01 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* backend/sound_handler_gst.{h,cpp}: Switch to try_mutex, and in
callback_handoff only try to lock, and return if unsuccesfull
to avoid a potential deadlock, fixes bug #20596. Warning fixes.
2007-08-01 Sandro Santilli <strk@keybit.net>
* plugin/plugin.cpp: run 'gtk-gnash' by default.
2007-07-31 Sandro Santilli <strk@keybit.net>
* configure.ac, gui/Makefile.am: comment out --enable-dynamic-gui
and related conditionals use.
2007-07-31 Sandro Santilli <strk@keybit.net>
* testsuite/actionscript.all/array.as: more tests for Array.sort()
and Array.sortOn(). These tests are mainly to explore the behavior
of sorting arrays of objects that override the toString() method and
sortOn using properties specified by such objects.
Tests provided by Ivor Blockley and cleaned up/fixed by me.
2007-07-31 Sandro Santilli <strk@keybit.net>
* plugin/klash/klash_part.cpp: run 'kde-gnash' by default
(not 'klash')
* gui/gnash.in: don't pass -G over to the actual executable;
translate gui name to lowercase.
2007-07-31 Sandro Santilli <strk@keybit.net>
* gui/: Makefile.am, gnash.in:
Initial draft of a 'gnash' wrapper.
2007-07-31 Sandro Santilli <strk@keybit.net>
* configure.ac: rename GUI_CONFIG to SUPPORTED_GUIS to
avoid confusion with the define later set by gui/Makefile.am
* gui/Makefile.am: build an executable for each supported
GUI, named <gui>-gnash
* gui/Player.{cpp,h}: drop runtime parsing of gui name, just
use whatever gui is specified by the GUI_CONFIG macro set
by the Makefile.
* gui/gnash.cpp: drop runtime GUI selection (and -G switch).
2007-07-31 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/ming_utils.c: add word wrapping
to the xtrace window.
2007-07-31 Sandro Santilli <strk@keybit.net>
* doc/C/usermanual/installation/feature_configuration.xml:
Document --enable-mit-shm
* configure.ac: add --enable-mit-shm
* gui/gtk_glue_agg.h: don't redefine ENABLE_MIT_SHM, use definition
from config.h
2007-07-31 Udo Giacomozzi <udo.gnu@nova-sys.net>
* gui/gtk_glue_agg.h: disable MIT-SHM by default (see bug #20301)
2007-07-31 Sandro Santilli <strk@keybit.net>
* server/vm/ASHandlers.cpp (ActionBitwiseAnd):
take nan operands as zero.
* testsuite/actionscript.all/: Makefile.am, ops.as:
new testcase for primitive operations (to complete)
2007-07-31 Sandro Santilli <strk@keybit.net>
* server/vm/ASHandlers.cpp (ActionBitwiseXor, ActionBitwiseOr):
take nan operands as zero.
* testsuite/actionscript.all/array.as: expect less failures.
2007-07-31 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/misc-ming.all/place_object_test2.c, Makefile.am
activate the testcase, fix setting the ratio value(0~1.0 in Ming).
2007-07-31 Sandro Santilli <strk@keybit.net>
* testsuite/actionscript.all/array.as: expect a failure
in the case-insensitive descending sort tested for SWF>6
2007-07-31 Sandro Santilli <strk@keybit.net>
* server/array.cpp (join): use the SWF-version aware version
of as_value to string conversion. Add TODO items.
* testsuite/actionscript.all/array.as: don't expect a failure
in the descending numeric sort
2007-07-31 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/misc-ming.all/duplicate_movie_clip_test.c, place_object_test.c,
place_object_test2.c: trivial comments cleanups.
2007-07-30 Sandro Santilli <strk@keybit.net>
* libamf/Makefile.am: add BOOST libs
* testsuite/samples/Makefile.am: link in
libgnashserver.la, libgnashbase.la and
libgnashamf.la.
2007-07-29 Sandro Santilli <strk@keybit.net>
* backend/render_handler_tri.cpp: implemented world_to_pixel and
pixel_to_world (to check, UdoG, can you ?)
* gui/gtksup.h: remove any use of RENDERER_XXY defines, use
the GtkGlue interface only (keep by auto_ptr)
* gui/gtk_glue.h: header guard (no code was including this :/)
* gui/gtk.cpp: updated use of the glue, remove as much as possible
uses of RENDERER_XXY, the only left are for glue initialization
(headers and constructions) and for the call to prepDrawingArea
which needs to be ordered differently for OGL and for other
renderers.
2007-07-29 Sandro Santilli <strk@keybit.net>
* configure.ac: Change --enable-renderer to accept a *single* renderer
as the gui code / build scripts are not ready to handle multiple ones
currently (temp hack for 0.8.1). By default, renderer is AGG now.
2007-07-29 Sandro Santilli <strk@keybit.net>
* server/asobj/SoundGst.cpp (getPosition): fix typo (len=>pos).
* server/parser/edit_text_character_def.h: use device fonts
by default (matches the comment near it, was just a typo).
Fixes dynamic textfields using device fonts.
* testsuite/actionscript.all/TextField.as: expect one failure
less.
2007-07-30 Sergio Costas <raster (at) rastersoft.com>
* backend/sound_handler_gst.cpp: Use the audioconverter element
to get the current position, to avoid delay.
* server/asobj/SoundGst.cpp: Fixed some faulty conversions to
milliseconds.
2007-07-30 Alexander Sack <asac@jwsdot.com>
* server/asobj/NetStreamGst.cpp: Fix plugin loading
for non-modern Gstreamer versions.
2007-07-30 Markus Gothe <nietzsche@lysator.liu.se>
* gui/Info.plist.in: Tidy up the version info, fixed icon.
* gui/Makefile.am: Build OS X bundle if GUI == AQUA.
* gui/aqua.cpp: Implemented OS-version checking and setCursor.
Added 'About' and 'Preferences...' menus.
2007-07-29 Rob Savoye <rob@deal.welcomehome.org>
* macros/firefox.m4: Always install the plugin in ~/.mozilla/plugins.
2007-07-29 Sandro Santilli <strk@keybit.net>
* configure.ac: drop add_gui variable again, use another way to
handle a missing --enable-gui.
2007-07-29 Sandro Santilli <strk@keybit.net>
* configure.ac: don't force KDE gui everytime plugin is disabled (sic).
2007-07-29 Nick Warne <nick@ukfsn.org>
* configure.ac: don't rely on has_kde *before* it is attempted to be
set.
2007-07-29 Ivor Blockley <meteoryte@yahoo.com.au>
* server/array.{cpp,h}: implement remaining array.sort(..) functionality
(flags UNIQUE and RETURNINDEXEDARRAY) all of array.sortOn(...)
* testsuite/actionscript.all/array.as: test for Array.sort and
Array.sortOn
2007-07-29 Ivor Blockley <meteoryte@yahoo.com.au>
* server/array.cpp: Fix bug in the array.splice(index) method to
prevent an incorrect number of elements being spliced; fix bug
in the array.slice(startindex, endindex) method for certain
negative endindexes; elements in a newly created array with
non-zero size are now assigned a value of 'undefined' rather
than 'null'; trivial optimizations/clean-ups.
* testsuite/actionscript.all/array.as: more tests.
2007-07-28 Rob Savoye <rob@deal.welcomehome.org>
* macros/ffmpeg.m4: Add test for libswscale, which is needed if
ffmpeg is configured with --enable-gpl --enable-swscale. bug #20002.
2007-07-28 Sandro Santilli <strk@keybit.net>
* configure.ac: re-introduce the $add_gui variable, so that a vanilla
configuration still tries to build gtk and kde guis; don't make fb
renderer and cairo gui incompatible (other guis might be requested,
we'd need a better test to check that at least one compatible with
cairo is there)
2007-07-28 Sandro Santilli <strk@keybit.net>
* configure.ac: don't miss to set add_renderer when no
--enable-renderer is given, and only abort complaining if NO
GUI supporting opengl is built while also requesting to build opengl
renderer.
2007-07-28 Sandro Santilli <strk@keybit.net>
* configure.ac: proper quote args given to test (in the code
snippet handling --enable-gui)
2007-07-28 Sandro Santilli <strk@keybit.net>
* po/Makefile.am: use GMSGFMT, rather then verbatim 'msgfmt'.
* configure.ac: simplify gui selection code, fix bug listing
same gui twice.
* gui/gui_fb.cpp: typo fix (FbGui => FBGui).
* testsuite/misc-mtasc.all/Makefile.am: distribute
mtasc related files even if mtasc is not detected.
2007-07-28 Markus Gothe <nietzsche@lysator.liu.se>
* configure.ac: Don't try building KDE/Klash if we'vent got the libs...
* gui/aqua*, gui/Info.pist, gui/images/GnashG.icns, gui/Makefile.am:
Now we can build a bundle by running 'make bundle', albeit I must
fix the linkage.
2007-07-27 Nick Warne <nick@ukfsn.org>
* plugin/klash/klash_part.cpp: typo (0l => 0L)
2007-07-27 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* backend/sound_handler.h, backend/sound_handler_gst.{cpp,h},
backend/sound_handler_sdl.{cpp,h}, server/asobj/SoundFfmpeg.{h,cpp},
server/asobj/SoundGst.{h,cpp}, server/asobj/SoundMad.{h,cpp}:
Implement duration and position properties when using Sound objects
to control an eventsound, patch partly by Sergio Costas.
* server/swf/tag_loaders.cpp: Fix warnings.
2007-07-27 Sandro Santilli <strk@keybit.net>