forked from atheerabed/gnash-fork
/
ChangeLog-0.8.0
18542 lines (14628 loc) · 729 KB
/
ChangeLog-0.8.0
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-06-04 Rob Savoye <rob@bertha.welcomehome.org>
* NEWS, README: Update for upcoming release.
* macros/kde.m4: Use newlist so we don't stomp on libslist.
* server/asobj/Makefile.am: Don't link ffmpeg to convienince lib.
* server/parser/Makefile.am: We don't need ffmpeg or gstreamer
headers for this directory.
2007-06-04 Sandro Santilli <strk@keybit.net>
* backend/render_handler.h: expose a new getBitsPerPixel interface.
* backend/render_handler_agg.{cpp,h}: implement getBitsPerPixel,
const-correct the existing getBytesPerPixel.
* testsuite/MovieTester.cpp (checkPixel): never use a tolerance
inferior to the minimum tolerance for a renderer, with min tolerance
being a function of BPP (formula suggested by UdoG).
Fixes bug #20035.
2007-06-04 Sandro Santilli <strk@keybit.net>
* server/asobj/NetStreamFfmpeg.cpp (av_streamer): sleep for 1
microsecond between iterations, to allow other threads to run.
Fixes the 100% CPU problem (thanks to UdoG for support).
2007-06-04 Sandro Santilli <strk@keybit.net>
* libbase/FLVParser.h: updated dox for nextAudioFrame() and
nextVideoFrame() noting the non-blocking nature of the calls;
add a parsingCompleted() method.
* server/asobj/NetStreamFfmpeg.h: update documentation of
decodeFLVFrame()
2007-06-04 Sandro Santilli <strk@keybit.net>
* libbase/FLVParser.{cpp,h}: put FLVParser in the gnash namespace.
2007-06-04 Sandro Santilli <strk@keybit.net>
* server/asobj/NetStreamFfmpeg.{cpp,h}: Drop the decoder mutex and
conditional variable. Decoder should never stop till the end of
the stream is fully decoder. Rename {pause,unpause}Decoding to
{pause,unpause}Playback, which is matches reality more, and is
also more correct.
2007-06-04 Sandro Santilli <strk@keybit.net>
* server/timers.cpp (expired): allow now == _start.
Hopefully fixes bug #20047.
2007-06-02 Sandro Santilli <strk@keybit.net>
* server/asobj/NetStream.cpp (::bufferLength): return milliseconds,
as (correctly) documented.
2007-06-02 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* backend/render_handler_ogl.cpp,libbase/log.cpp, macros/opengl.m4,
server/asobj/Date.cpp: Fixes for builing on win32/MSYS/mingw.
Linking is still broken.
2007-06-02 Sandro Santilli <strk@keybit.net>
* server/vm/ASHandlers.cpp (CommonGetUrl): log about _level#
target for GetUrl being unsupported.
2007-06-02 Bastiaan Jacques <bastiaan@bjacques.org>
* server/asobj/NetConnection.{cpp,h}: Permit openConnection
to be called more than once with the same URL.
* server/asobj/NetStreamFfmpeg.cpp: Call detach_aux_streamer
with a valid owner argument, so something will actually
happen. Make sure that the NetConnection position is 0
just in case openConnection was called before. Fix a deadlock
by avoiding calls to the sound handler in startPlayback().
This is cheating, but fixes bug #20036.
2007-06-01 Bastiaan Jacques <bastiaan@bjacques.org>
* macros/ffmpeg.m4: Avoid using libswscale with broken ffmpeg
versions.
* configure.ac: Revert unintentional change.
2007-06-01 Sandro Santilli <strk@keybit.net>
* server/asobj/NetStreamGst.cpp: protect all log_debug calls
with a GNASH_DEBUG macro.
2007-06-01 Sandro Santilli <strk@keybit.net>
* libbase/rc.{cpp,h}: Add a "StartStopped" variable, to
have the gui start in "stop" mode.
* doc/C/gnashrc.xml: document the new "StartStopped" variable.
* gui/Player.cpp (init_gui): set the Gui to "stop" if requested
by the user (trough gnashrc)
* testsuite/libbase/: TCXXRc.cpp, gnashrc.in: test "StartStopped"
variable.
2007-06-01 Sandro Santilli <strk@keybit.net>
* server/asobj/NetStream.{cpp,h}: split processStatusNotifications
so that onStatus handler call is performed while the statusMutex
is NOT locked, to prevent attempts to lock the mutex again while
reacting to status handlers. statusQueue type changed from vector
to deque, for faster pop_front.
2007-06-01 Sandro Santilli <strk@keybit.net>
* gui/Player.cpp (run): remove sound_handler cleanup, will
be done by gnash::clear().
* gui/: gtk.cpp, gtksup.h: implement gui::quit()
* server/impl.cpp (clear): report the problem with cleaning
up resources before all threads are completed, exit() rather
then cleanup and document the reason for doing so.
* utilities/processor.cpp (main): call gnash::clear() again, that's
where proper threads cleanup is supposed to be implemented.
2007-06-01 Sandro Santilli <strk@keybit.net>
* server/vm/ActionExec.cpp (call operator): if pc == oldPc that's
still to be considered a branch-back, so count it; Increment
branch-back limit to 2^16 (65535).
* gui/Player.cpp: print a debugging message when the main gui loop
returns so we know if we exited cleanly or due to a call to exit().
* gui/gui.cpp{cpp,h}: add a quit() virtual method, for returning
from the main rendering loop. This is aimed at removing the exit()
call, altought currently we'll still call it as the default
implementation.
2007-05-31 Bastiaan Jacques <bastiaan@bjacques.org>
* macros/ffmpeg.m4: Define HAVE_SWSCALE_H if swscale.h is present.
* libbase/embedVideoDecoderFfmpeg.cpp: If swscale.h is available,
use swscale and friends. Otherwise, default to img_convert. Also,
conditionally include swscale.h itself.
* server/asobj/NetStreamFfmpeg.cpp: Remove unused include.
2007-05-31 Sandro Santilli <strk@keybit.net>
* backend/sound_handler.h: document attach_aux_streamer and
detach_aux_streamer; add TODO items.
* backend/sound_handler_sdl.cpp (sdl_audio_callback): documentation,
TODO items, early return if buffer len passed by SDL == 0.
2007-05-31 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* server/asobj/NetStream*.{h,cpp}: Always use milliseconds internally.
2007-05-31 Rob Savoye <rob@ute.welcomehome.org>
* configure.ac: Change renderer default to opengl.
2007-05-31 Sandro Santilli <strk@keybit.net>
* server/asobj/: NetStream.cpp, NetStreamFfmpeg.cpp:
More debugging lines protection.
2007-05-31 Sandro Santilli <strk@keybit.net>
* libbase/FLVParser.cpp: protect seek debugging by
a GNASH_DEBUG_SEEK macro
* server/asobj/NetStreamFfmpeg.cpp: dont debug condition
variable signaling if GNASH_DEBUG_THREADS is undefined.
2007-05-31 Sandro Santilli <strk@keybit.net>
* libbase/log.{cpp,h}: lock the io Mutex on closeLog, to
prevent race conditions between a thread using log()
and one using closeLog().
2007-05-31 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* libbase/FLVParser.cpp: (FLVFrame* FLVParser::nextMediaFrame)
Fixed a bug causing nextMediaFrame to return NULL.
2007-05-31 Martin Guy <martinwguy@yahoo.it>
* libbase/embedVideoDecoderFfmpeg.cpp,
server/asobj/NetStreamFfmpeg.cpp:
Add comments by commented img_convert()s to use sws_scale() when
implementing.
* Change default renderer to agg for 0.8.0 release
* Revert default renderer back to OpenGL.
2007-05-31 Sandro Santilli <strk@keybit.net>
* libbase/embedVideoDecoderFfmpeg.{cpp,h}:
Make convertRGB24 a public static function.
* server/asobj/NetStreamFfmpeg.cpp: use
embedVideoDecoderFfmpeg::convertRGB24, dropping the
duplicated implementation.
2007-05-31 Bastiaan Jacques <bastiaan@bjacques.org>
* server/asobj/NetStreamFfmpeg.cpp,
libbase/embedVideoDecoderFfmpeg.cpp: Use libswscale instead of
img_convert for YUV->RGB conversion, because it is deprecated and
has been removed from recent ffmpeg.
2007-05-30 Sandro Santilli <strk@keybit.net>
* configure.ac: add missing quote in martin's commit (no ChangeLog
entry for it, btw)
* server/asobj/README.NetStream: add design notes for NetStream.
2007-05-30 Sandro Santilli <strk@keybit.net>
* server/video_stream_instance.cpp (display): update call to
get_video.
* server/asobj/NetStream.{cpp,h}: change get_video to return by
auto_ptr to encode ownership transfer.
* server/asobj/NetStreamFfmpeg.h: update refreshVieoFrame() dox.
2007-05-30 Sandro Santilli <strk@keybit.net>
* server/asobj/NetStream.cpp: fix NetStream.bufferTime getter to
return value in seconds, not milliseconds.
2007-05-30 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* server/asobj/NetStreamFfmpeg.cpp: Fixed seeking to work when not
seeking to 0.
* server/asobj/SoundFfmpeg.cpp: Silence a compiler warning.
2007-05-30 Sandro Santilli <strk@keybit.net>
* libbase/FLVParser.h: document timestamp units for media frames
and isTimeLoaded().
* server/asobj/NetStreamFfmpeg.{cpp,h}: document units for time
members; (advance): fix isTimeLoaded() call, thanks Martin Guy
for noticing.
2007-05-30 Sandro Santilli <strk@keybit.net>
* libbase/FLVParser.{cpp,h}: drop setLoadThread method, require
a LoadThread to be passed on construction.
* server/asobj/NetConnection.{cpp,h}: drop connectParser, substitute
with getConnectedParser().
* server/asobj/: NetStreamFfmpeg.cpp, NetStreamGst.cpp: use
NetConnection::getConnectedParser() for initializing an FLV parser.
2007-05-30 Sandro Santilli <strk@keybit.net>
* server/asobj/NetConnection.h: add documentation about which calls
are blocking and which not.
* server/asobj/NetConnection.cpp (openConnection): return false if
already connected
2007-05-29 Martin Guy <martinwguy@yahoo.it>
* server/asobj/NetStreamFfmpeg.cpp: Two casts to quiet compiler warnings
* configure.ac: Add rpm/deb help for AGG
* configure.ac: Warn if libcurl is missing
2007-05-30 Sandro Santilli <strk@keybit.net>
* server/asobj/NetStreamFfmpeg.cpp (decodeFLVFrame): Don't modify m_bufferTime
internally: should only be done on user request. (advance):
bufferFull condition is when parser loaded current+buffer time.
(av_streamer): add bufferTime/Length info in Decoding iteration
message - this shows that the playback is NOT waiting for bufferTime
to be reached before starting again (bug).
2007-05-30 Sandro Santilli <strk@keybit.net>
* libbase/FLVParser.{h,cpp}: document which methods lock and which
not, add locking in getBufferLength().
* server/asobj/NetStream.{h,cpp}: fix documentation for bufferLength
method (return milliseconds, not seconds); have
NetStream.bufferLength return in fractional seconds, as expected;
Change bufferTime to take milliseconds, convert from seconds
in the AS method (so we can accept fractional seconds..);
make locking debugging messages a compile-time option.
2007-05-30 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* libbase/LoadThread.cpp: Close the download thread even if
download wasen't completed.
2007-05-29 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* libbase/LoadThread.cpp: Don't lock the mutex and try to join the
download thread when calling complete(), instead do that in the
destrutor. Fixes some blocking (with the no-decode-thread-patch
for NetStreamFfmpeg).
2007-05-29 Sandro Santilli <strk@keybit.net>
* server/asobj/NetStreamFfmpeg.{cpp,h}: don't lock
the mutex in seek() even, also intended to be called by
the VM..
2007-05-29 Sandro Santilli <strk@keybit.net>
* server/asobj/NetStreamFfmpeg.{cpp,h}: Don't lock the mutex
in pause(), play() and close(), all intended to be called
by the locking advance(). More dox about locking in the header.
* testsuite/actionscript.all/rtmp.as: remove any
trace of "rtmp" from the code to show that bug #19886
is unrelated to RTMP.
2007-05-29 Sandro Santilli <strk@keybit.net>
* backend/sound_handler.h: add numSoundsStarted() and
numSoundsStopped() methods to be used in testing, and
associated protected counts.
* backend/: sound_handler_gst.cpp, sound_handler_sdl.cpp:
Increment started/stopped sound counters.
* testsuite/FuzzyPixel.h: remove unused header.
* testsuite/: Makefile.am, sound_handler_test.{cpp,h}:
drop sound_handler_test, testing will now be done against
the built sound_handler.
* testsuite/MovieTester.{cpp,h}: initialize the currently
configured sound handler and use that for testing.
2007-05-29 Sandro Santilli <strk@keybit.net>
* server/asobj/NetStreamFfmpeg.{cpp,h}: drop
the decode_wait_mutex, use decoding_mutex instead.
Document which function lock it and which not, adding
more locking. Seems to fix bug #19978, but exposes
a deadlock playing youtube with a full-offline setup
with reduced bandwidth.
2007-05-29 Udo Giacomozzi <udo.gnu@nova-sys.net>
* testsuite/misc-ming.all/DrawingApiTestRunner.cpp: testing for gray
is funny, but better let's be accurate ;)
2007-05-29 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/DrawingApiTestRunner.cpp: reintruduce
the pixel-accurate test after Udo fix for #19828.
2007-05-29 Udo Giacomozzi <udo.gnu@nova-sys.net>
* backend/render_handler_agg.cpp: Fix coordinate translation and
pixel hinting. Fixes bug #19828.
2007-05-29 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/misc-ming.all: Makefile.am, key_event_test3.c,
key_event_test3runner.cpp: new testcase for key listeners.
2007-05-29 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/misc-ming.all/key_event_test2runner.cpp: remove obsolete comments
2007-05-29 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/misc-ming.all/key_event_test2.c,
key_event_test2runner.cpp: add more tests.
* server/movie_root.cpp: add comments for ::cleanup_key_listeners().
2007-05-29 Martin Guy <martinwguy@yahoo.it>
* server/asobj/NetStreamFfmpeg.cpp: Fix sign/unsign compiler warning
* packaging/debian/control: Add missing build dependency for opengl-gtk
2007-05-28 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* server/asobj/NetStream*.{cpp,h}: Updated a comment and made play()
return void to be closer to defined behavoir.
2007-05-28 Sandro Santilli <strk@keybit.net>
* server/asobj/: NetStream.{cpp,h},
NetStreamFfmpeg.cpp, NetStreamGst.cpp:
Encode FLVParser ownership by using an auto_ptr;
cleanup startPlayback method in FFMPEG implementation
removing the "this" alias.
2007-05-28 Sandro Santilli <strk@keybit.net>
* server/asobj/NetStream.h: drop playing() method (unclear
and unnecessary).
* server/video_stream_instance.cpp (display): stop
calling NetStream::playing().
2007-05-28 Ann Barcomb <kudra@domaintje.com>
* many files: Add a paragraph break before the line 'You should
have received...' in the copyright notice.
* devtools/testsuite/copyright_notices.t: Minor code improvement
* many files: Add current year to all copyright notices which were
lacking it.
2007-05-28 Sandro Santilli <strk@keybit.net>
* server/video_stream_instance.{cpp,h}: add brief class description,
drop unused member.
* testsuite/misc-ming.all/matrix_test.c: Really round numbers, don't
just truncate them up to 2nd decimal position.
2007-05-28 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/misc-ming.all: Makefile.am, key_event_test2.c,
key_event_test2runner.cpp: add tests for key listeners.
* server/sprite_instance.cpp: call "unload" for characters removed
in ::resetDisplayList, partly fix the increasing key listeners
problem when loop back.
2007-05-28 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/matrix_test.c: round numbers
to 1/100 to reduce floating number based errors.
2007-05-27 Ann Barcomb <kudra@domaintje.com>
* devtools/testsuite/copyright_notices.t: Added a script to look
for incorrect copyright notices.
2007-05-27 Rob Savoye <rob@bertha.welcomehome.org>
* macros/archflag.m4: Drop --with-gcc-arch, and use --with-cpu,
which is more standard.
* configure.ac: Add a --with-top-level option to specify where
development packages are when cross configuring. Add --with-cpu to
set the compiler flags correctly when cross compiling for similar
architectures, like pentium->geode, which are supported by the
same compiler.
2007-05-27 Bastiaan Jacques <bastiaan@bjacques.org>
* libbase/{FLVParser.h, LoadThread.h, embedVideoDecoderFfmpeg.h,
extension.h, tu_timer.h} server/{debugger.h, movie_root.h},
server/sprite_instance.h, server/vm/VM.h: Mark symbols which are
used across DSOs as DSOEXPORT. This allows compilation with
-fvisibility=hidden.
* macros/kde.m4: When detecting QT, also allow for the check for
the possibility that the QTDIR environment variable points to
the base QT directory, no strings attached (and no version
numbers required).
2007-05-27 Ann Barcomb <kudra@domaintje.com>
* doc/C/usermanual/installation/documentation_dependencies.xml:
Corrected information about FOP requirement.
* doc/C/usermanual/installation/install.xml: Placeholder file.
* doc/C/usermanual/installation.xml,
doc/C/usermanual/installation/building.xml: Started a section on
building Gnash.
2007-05-26 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* server/asobj/NetStreamGst.cpp: Don't allow play url to be changed,
might not be correct behavoir... Fix some issues when closing
NetStream before playback has been set up.
2007-05-26 Ann Barcomb <kudra@domaintje.com>
* doc/C/gnashrc.xml: Corrected spelling
* doc/C/usermanual/usage/gnashrc.xml: Propogated changes from
../../gnashrc.xml r1.3357 to the new gnashrc file.
* doc/C/usermanual/installation/cross_compiling.xml: Made the
cross compilation information more generic.
2007-05-26 Jurka <jurka@ejurka.com>
* gui/gnash.cpp, libbase/FLVParser.cpp: Clear up printf-related
warnings.
2007-05-26 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* libbase/FLVParser.cpp: When seeking the frame after the correct
one was returned.
* server/asobj/NetConnection.cpp: Don't allow url prefix to be changed,
might not be correct behavoir...
* server/asobj/NetStreamFfmpeg.cpp: Don't allow play url to be changed,
might not be correct behavoir... Fix some issues when closing
NetStream before playback has been set up.
2007-05-26 Bastiaan Jacques <bastiaan@bjacques.org>
* plugin/plugin.cpp: Initialise _width and _height to safe defaults,
in case SetWindow is never called (for "hidden" flash movies).
* gui/gnash.cpp: If the plugin attempts to create a 0x0 pixels window
don't try to create a rendering GUI.
* macros/kde.m4: Check if we actually need the kde subdirectory of the
KDE prefix we got from kde-config.
2007-05-26 Ann Barcomb <kudra@domaintje.com>
* doc/C/usermanual/installation/cross_compiling.xml,
doc/C/usermanual/installation.xml: Added section on cross compiling
* doc/C/usermanual/installation/configuration.xml: Resolved a TODO
* doc/C/usermanual/installation/code_dependencies.xml: Marked a TODO
* doc/C/usermanual/installation/sources.xml: RAM requirements
* doc/C/usermanual/installation/sources.xml: Disk space requirements
* doc/C/usermanual/installation/configuration/feature_configuration.xml,
custompath_configuration.xml: Formatting
* doc/C/usermanual/installation/configuration/sources.xml:
Include development snapshots as a download option
2007-05-25 Sandro Santilli <strk@keybit.net>
* extensions/gnashrc: new file, with required variables
for running extensions tests.
* extensions/fileio/Makefile.am: Provide a GNASHRC variable
to the generic-testrunner.sh
* libbase/rc.cpp (loadFiles): load a GNASHRC if specified, after
all precedent files are loaded. See task #6937.
2007-05-25 Sandro Santilli <strk@keybit.net>
* testsuite/libbase/: TCXXRc.cpp, gnashrc.in: test EnableExtensions.
* doc/C/gnashrc.xml: document new EnableExtensions gnashrc
variable
* libbase/rc.{cpp,h}: add support for EnableExtensions variable,
defaults to OFF. Cleanup const-correctness and static methods.
* server/asobj/Global.cpp: Don't load extensions if disabled
by gnashrc.
2007-05-25 Sandro Santilli <strk@keybit.net>
* libgeometry/snappingrange.h: add intersects(Range2d)
* testsuite/misc-ming.all/: Makefile.am,
loop_test2.c, loop_test2runner.cpp: Add a visual test
runner, showing that 2nd redesign attempt is really
bogus.
2007-05-25 Sandro Santilli <strk@keybit.net>
* server/as_environment.cpp: don't print a separate error
when call stack limit is exceeded, leave that to the
exception handler.
* server/vm/ActionExec.cpp: implement number of iterations
limit (should be a timeout in second actually, but better
this then hanging forever). Fixes bug #19961.
2007-05-25 Bastiaan Jacques <bastiaan@bjacques.org>
* server/swf/tag_loaders.cpp: Move the assignment into the data
pointer up to right after the corresponding memory is allocated,
because the DO_{MONO,STEREO}_BLOCK macros use the temporary
pointer to iterate the buffer. This was causing delete[] to be
called on the pointer which had walked to the end of the buffer
and, thus, crashing.
2007-05-25 Sandro Santilli <strk@keybit.net>
* server/sprite_instance.{cpp,h}: drop unused remove_display_item
taking a std::string as argument..
2007-05-25 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* server/asobj/NetStreamFfmpeg.h: Fix resampling for some FLVs,
fixes bug #19959.
2007-05-25 Sandro Santilli <strk@keybit.net>
* libbase/log.cpp (timestamp): include PID in timestamp,
so its easier to read the gnash-dbg.log file after browsing
the web...
2007-05-24 Sandro Santilli <strk@keybit.net>
* libbase/zlib_adapter.cpp: fix seek function to respect
tu_file interface. Fix inflater to no set an error condition
when inflate() just needs more calls to complete the request.
Fixes bug #19931.
2007-05-24 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* libbase/LoadThread.{cpp,h}: Made the download loop sleep when
read() wants to get a lock on the mutex.
* libbase/curl_adapter.cpp: Decreased the sleeping time in fill_cache.
* backend/{sound_handler.h,sound_handler_gst.h,sound_handler_sdl.h}:
Moved sound_data class to the base header.
2007-05-24 Sandro Santilli <strk@keybit.net>
* server/stream.cpp (open_tag): print end tag position in verbose
parse mode; (close_tag): assertion checking (shows a bug in
zlib_adapter, see bug #19931).
* libbase/tu_file.cpp (std_seek_func): assertion checking and minor
cleanups.
* libbase/curl_adapter.cpp (CurlStreamFile::seek): use the _cached
member for checking wheter a seek will succeed or not (fseek
allows you to seek past the end of the file otherwise).
2007-05-24 Bastiaan Jacques <bastiaan@bjacques.org>
* gui/Makefile.am: When building FLTK GUI, also include
the X11 CFLAGS (when available).
* gui/fltk.cpp: Only try to do X11 things with FLTK if
X11 is actually available. Should fix compilation on
OS X (bug #19618).
* macros/x11.m4: Don't forget to set the x11 flag
variable which is used to check if X11 was found.
2007-05-24 Sandro Santilli <strk@keybit.net>
* server/: Makefile.am, impl.cpp, swf/DoActionTag.h,
swf/tag_loaders.cpp:
Move DoAction and DoInitAction tag stuff to its
own file (both loader and parser).
2007-05-24 Sandro Santilli <strk@keybit.net>
* server/sprite_instance.cpp (replace_display_object):
When the object being replaced is NOT a scriptable object,
move instead of replacing.
* testsuite/misc-ming.all/: replace_buttons1test.c,
replace_buttons1test_runner.cpp, replace_sprites1test.c,
replace_sprites1test_runner.cpp: Expect less failures.
2007-05-24 Sandro Santilli <strk@keybit.net>
* server/: dlist.{cpp,h}, sprite_instance.{cpp,h},
server/swf/PlaceObject2Tag.cpp, server/vm/action.cpp:
Drop the use_matrix/use_color_xform parameters, use
pointers for the actual matrix/color_xform so that NULL
signifies "don't use".
2007-05-24 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/replace_sprites1test.c:
Add onClipEvent(unload) to both PLACE and REPLACE tag.
2007-05-24 Sandro Santilli <strk@keybit.net>
* backend/sound_handler_gst.cpp: warn only once about fluendo plugin
being too old.
* server/parser/shape_character_def.cpp (read):
Fix typo reporting false malformations in the SWF.
2007-05-24 Sandro Santilli <strk@keybit.net>
* server/character.h: add isActionScriptReferenciable()
method to find "scriptable objects". See:
http://www.gnashdev.org/wiki/index.php/ScriptableCharacters
* server/sprite_instance.cpp (get_member, get_relative_target):
When requested name matches a NON scriptable instance, return
self.
* server/video_stream_instance.h: implement wantsInstanceName()
[ used by isActionScriptReferenciable ]
* testsuite/misc-ming.all/replace_shapes1test.c: expect less failures.
* testsuite/misc-ming.all/shape_test.c: don't expect any more failure
2007-05-24 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/: Makefile.am,
replace_buttons1test.c, replace_buttons1test_runner.cpp:
New test for buttons replacement.
* testsuite/misc-ming.all/replace_sprites1test.c:
Add new test checking for _x.
2007-05-24 Sandro Santilli <strk@keybit.net>
* server/dlist.cpp (replace_character): always call ::construct
on the new character.
* backend/sound_handler_sdl.h: fix const-correctness
of active_sound (btw, do we really need two different
definitions of that class for SDL and GST ?).
2007-05-24 Sandro Santilli <strk@keybit.net>
* server/button_character_instance.cpp: protect vector
elements dereferencing by assertions. I have a segfault
triggered by a new uncommitted testcase replacing buttons...
2007-05-24 Sandro Santilli <strk@keybit.net>
* server/sprite_instance.{cpp,h}: remove unused
sprite_instance::mouse_state typedef and member.
* server/parser/BitmapMovieDefinition.h,
server/parser/movie_def_impl.h,
server/parser/movie_definition.h,
server/parser/sprite_definition.h,
testsuite/DummyMovieDefinition.h:
Const-corrected get_playlist.
2007-05-24 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/replace_shapes1test.c:
Add more tests, updated comments.
* testsuite/actionscript.all/MovieClip.as:
Add test for _root.getDepth() being static-0.
2007-05-24 Sandro Santilli <strk@keybit.net>
* backend/sound_handler.h, backend/sound_handler_gst.cpp,
backend/sound_handler_gst.h, backend/sound_handler_sdl.cpp,
backend/sound_handler_sdl.h, server/execute_tag.h,
server/sprite_instance.cpp, server/sprite_instance.h,
server/parser/sound_definition.cpp,
server/parser/sound_definition.h,
server/swf/DisplayListTag.h, server/swf/PlaceObject2Tag.cpp,
server/swf/PlaceObject2Tag.h, server/swf/RemoveObjectTag.cpp,
server/swf/RemoveObjectTag.h, server/swf/tag_loaders.cpp,
testsuite/sound_handler_test.cpp, testsuite/sound_handler_test.h:
Const-corrected execute_tag::execute and execute_state, and
cascading changes
* testsuite/misc-ming.all/loop_test7.c: fix wrong expected failures.
2007-05-24 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/: Makefile.am,
loop_test6.c, loop_test7.c:
Add a clone of "Jumping backward to the end of a character's
lifetime" test this time with onUnload defined.
2007-05-24 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/: replace_shapes1test.c,
replace_sprites1test.c: SWFMovie_replace returns 0 on success
and non-0 on failure. Fixed code to reflect that (I'm not sure
I like this interface, anyway this is what we have in current
Ming head).
2007-05-23 Sandro Santilli <strk@keybit.net>
* server/swf/: tag_loaders.cpp, DefineFontAlignZonesTag.{cpp,h},
DisplayListTag.h, PlaceObject2Tag.{cpp,h},
RemoveObjectTag.{cpp,h}:
Move one namespace up (gnash::SWF - strip tag_loaders);
Provide a static public loader() function for use by
register_tag_loader (moved implementation from tag_loaders.cpp
to the classes themselves).
* server/impl.cpp: update loaders registration to call the new
public static methods of ReplaceObjectTag and PlaceObject2Tag.
2007-05-23 Sandro Santilli <strk@keybit.net>
* server/execute_tag.h: drop is_remove_tag() method.
* server/sprite_instance.{cpp,h}: drop unused
execute_remove_tags() method.
* server/Makefile.am, server/swf/: DisplayListTag.h,
PlaceObject2Tag.h, RemoveObjectTag.{cpp,h}
tag_loaders.cpp: Add a DisplayListTag subclass of
execute_tag, and make RemoveObject and PlaceObject subclasses
of it.
2007-05-23 Ann Barcomb <kudra@domaintje.com>
* doc/C/usermanual/installation/feature_configuration.xml,
doc/C/usermanual/installation/configuration.xml: Incorporated
some changes from r1.38 of doc/C/sources.xml.
2007-05-23 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/: Makefile.am, loop_test6.c:
New test for "Jumping backward after a character's lifetime".
Reveals a conceptual bug in last step of all redesign attempts
for displaylist reconstruction (execute *all* frame tags
from start to target frame).
2007-05-23 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/: Makefile.am, replace_shapes1test.c,
replace_sprites1test.c, replace_shapes1test_runner.cpp,
replace_sprites1test_runner.cpp: Modified coordinates and size
of shapes to help writing test runners. Wrote real test
runners checking for rendering and bounds invalidation.
* testsuite/MovieTester.cpp (render): don't force redraw
always (don't cheat) - do only when asked to do so..
2007-05-23 Sandro Santilli <strk@keybit.net>
* server/character.h: Extended TimelineInfo to store information
about wheter a character was placed by a REPLACE tag.
* server/sprite_instance.cpp: implemented 3rd redesign attempt
for DisplayList reconstruction compile-time enableable by
setting NEW_TIMELINE_DESIGN to 3. Defined to 2 by defualt
which gives us 2nd redesign attempt. See wiki.
3rd redesign is promising and give us lots of unexpected
successes, but also some unexpected failures for the new
testcases for REPLACE tag.
2007-05-23 Sandro Santilli <strk@keybit.net>
* server/dlist.{cpp,h}: Add new reset() method taking
enough parameters (I hope) to remove what needs to
on jump-back; drop obsoleted clear_unaffected function.
* testsuite/misc-ming.all/: replace_shapes1test.c,
replace_sprites1test.c: Fix implementation (don't
use Ming internal methods); add new tests and comments
about why Gnash fails.
2007-05-23 Bastiaan Jacques <bastiaan@bjacques.org>
* cygnal/cygnal.cpp: Don't include <libintl.h> directly; instead,
rely on our own gettext.h to do the right thing.
* gui/fltk.cpp: Update the FLTK GUI to the new Gnash key handling
API. Make sure the window is listening for key events even if it
is not the first window to receive key notifications.
* macros/gnashpkgtool.m4: Don't forget to set the "found" flag
for CFLAGS when --with-pkg-incl is used to find the include path.
* libbase/FLVParser.cpp: Fix more memory bugs by adding padding
zero bytes. Should fix bug #19898.
2007-05-23 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* backend/sound_handler_sdl.cpp: Made it a bit more thread-safe by
locking when attaching/detaching a aux_streamer.
Fixed a crash when removing attached sounds from the aux_streamer list.
* libbase/FLVParser.{h,cpp}: Added audioFrameDelay(), and a fixes.
* libbase/curl_adapter.cpp: Changed min and max sleep.
* server/asobj/NetStreamFfmpeg.{h,cpp}: Cleanup! Splitted the big
decode function (read_frame) into 3 functions. Changed a few names
to make more sence. Improved syncing, and made it depend on audio
if available, not video. Plus some overall improvements.
2007-05-23 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/misc-ming.all/shape_test.c: add tests for shapes.
* testsuite/misc-ming.all/Makefile.am: activate some testcases.
2007-05-22 Martin Guy <martinwguy@yahoo.it>
* configure.ac: add help text for ffmpeg-devel RPM package
* server/swf/tag_loaders.cpp: Fix NELLYMOSER bombing out
2007-05-22 Sandro Santilli <strk@keybit.net>
* server/swf/tag_loaders.cpp (place_object_2_loader): don't
add a TimelineDepth if read depth is out of static depth zone
boundaries (warn user about it too...).
* gui/Player.cpp (run): use movie url for window title (-u).
Useful when reading stdin...
* server/parser/shape_character_def.cpp (read): don't force
fill and line style of glyphs to have a corresponding style
definition, just warn if the value in a styleChangeRecord is
neither 0 or 1. Set style to 0 when invalid.
2007-05-22 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/loop_test-Runner.cpp: don't expect
failure in invalidated bounds after Udo commits.
* testsuite/misc-ming.all/replace_sprites1test.c: Change expected
Gnash behaviour (previous one was based on 3rd displaylist reset
design implementation).
2007-05-22 Sandro Santilli <strk@keybit.net>
* configure.ac: add MING_SUPPORTS_REPLACE_TAG conditinal variable,
based on version (0.4.0.beta5).
* testsuite/misc-ming.all/: Makefile.am, replace_shapes1test.c,
replace_sprites1test.c: Add a couple of test for REPLACE tags.
Needs a Ming version that supports it, checked by
MING_SUPPORTS_REPLACE as set by ./configure.
2007-05-22 Ann Barcomb <kudra@domaintje.com>
* doc/C/usermanual/installation/configuration.xml: List interesting
options before custom path options
* doc/C/usermanual/installation/feature_configuration.xml: Added
missing title (it had been left in configuration.xml).
2007-05-22 Udo Giacomozzi <udo.gnu@nova-sys.net>
* server/character.{h,cpp}: Added preprocessor code to analyze
calls to set_invalidated() more easily.
* server/cxform.h: Implemented == operator
* server/dlist.cpp: inherit invalidated bounds when replacing a
character
* server/sprite_instance.cpp: avoid call to set_invalidated()
(of parent) when replacing a char
2007-05-22 Ann Barcomb <kudra@domaintje.com>
* doc/C/usermanual/*: Added files for the new user manual.
* doc/C/app_authors.xml: Added a file which is used in the user manual
but might be cross-referenced by other documents.
2007-05-22 Udo Giacomozzi <udo.gnu@nova-sys.net>
* testsuite/misc-ming.all/NetStream-SquareTest.c: add missing end quote
* testsuite/actionscript.all/XML.as: fix broken string
2007-05-21 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/: Makefile.am, displaylist_depths_test11.c:
New timeline control test.
* server/parser/Timeline.h: fix getFrameDepths to really return
depths. Add output operator.
2007-05-21 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* backend/sound_handler_sdl.cpp: Only try to detach video-sound
input, if it exists.
* server/asobj/NetStreamFfmpeg.cpp: Shutdown the decoding thread
proberbly.
2007-05-21 Rob Savoye <rob@bertha.welcomehome.org>
* libbase/Makefile.am: Build the installable libltdl before
libgnashbase.
2007-05-21 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/displaylist_depths_test9.c: add
a construct event handler for the static character placed
and replaced (duplicated), and tests for its run.
2007-05-21 Rob Savoye <rob@bertha.welcomehome.org>
* libbase/Makefile.am: Don't include LIBLTDL in libgnashbase.la.
2007-05-21 Sandro Santilli <strk@keybit.net>
* server/parser/: movie_definition.h, movie_def_impl.h,
sprite_definition.h: add getTimelineDepths() methods
and implementations.
2007-05-21 Sandro Santilli <strk@keybit.net>
* server/parser/: Makefile.am, Timeline.h: new class for
timeline control.
* server/parser/: movie_definition.h, movie_def_impl.{cpp,h},
sprite_definition.{cpp,h}: new addTimelineDepth() and
removeTimelineDepth() interfaces in base class, implementation
in subclasses.
* server/swf/tag_loaders.cpp (remove_object2_tag): add getDepth()
method; call movie_definition::addTimelineDepth when a PlaceObject
tag is parsed and movie_definition::removeTimelineDepth when
a RemoveObject is parsed.
* server/swf/PlaceObject2Tag.h: add getDepth() method, more dox
and 3 new inspectors to know wheter it's a place, replace or move
tag.
2007-05-21 Sandro Santilli <strk@keybit.net>
* libbase/log.h: removed useless 'while (0) {};' snippet from
IF_VERBOSE_ASCODING_ERRORS and IF_VERBOSE_MALFORMED_SWF
2007-05-21 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/misc-ming.all/loop_test5.c:
more for "Timeline control".
2007-05-21 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/Makefile.am: build libgnashmingutils
as a convenience library; have Dejagnu.swf users depend on
the local copy, not the one moved one dir up.
* libbase/log.{cpp,h}: make LogFile output operators
private, provide a sipler thread-safe log() method.
Have all printf-like log_*() method use this new method.
Fixes bug bug #19906.
* cygnal/stream.cpp, server/parser/action_buffer.cpp,
server/parser/action_buffer.h, server/vm/ActionExec.cpp,
testsuite/server/PropertyListTest.cpp: remove any
use of LogFile::operator<<, substitute with log_*() calls.
2007-05-21 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/misc-ming.all/loop_test4.c:
add a another check, comments
2007-05-21 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/misc-ming.all/loop_test4.c:
new testcase for timeline control.
2007-05-21 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/misc-ming.all/place_object_test2.c:
testcase for placeObject2.
2007-05-20 Rob Savoye <rob@bertha.welcomehome.org>
* libbase/log.h: Add empty braces around a while(0) to shut up GCC
4.3.
2007-05-20 Zou Lunkai <zoulunkai@gmail.com>
* testsuite/misc-ming.all/displaylist_depths_test9.c:
more tests, all passed.
2007-05-19 Markus Gothe <nietzsche@lysator.liu.se>
* server/asobj/NetStream.cpp: Got rid of make_pair in favor of
std::pair<>();
* server/cxform.h: include <string>
2007-05-19 Tomas Groth Christensen <tomasgroth@yahoo.dk>
* libbase/tu_timer.cpp: Fixed a compiler warning.
* server/asobj/NetStreamFfmpeg.{h,cpp}: Changed the way the decoding
loops works. We now use condition variables to pause the decoding
loop. We now disconnect from the soundhandler when pausing.
2007-05-18 Sandro Santilli <strk@keybit.net>
* testsuite/misc-ming.all/: Makefile.am, loop_test2.c, loop_test3.c:
New Timeline control test. GNASH FAILS THESE ONES !!
2007-05-18 Sandro Santilli <strk@keybit.net>
* server/dlist.h: document the addAll() and add() methods.
* server/asobj/NetStreamGst.cpp: provide a buildFLVPipeline() calling
the video/audio versions internally and locking the pipelineMutex.
Lock the pipelineMutex from buildPipeline() too. Document locking
in header.
* testsuite/misc-ming.all/: loop_test-Runner.cpp, loop_test.c:
Make loop_test.swf self-contained. Use the runner for checking
invalidated bounds and rendering.