-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog
More file actions
2863 lines (2242 loc) · 99.6 KB
/
ChangeLog
File metadata and controls
2863 lines (2242 loc) · 99.6 KB
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-11-05 Vitaly Alexeev <tishka92@yahoo.com>
* base/demo.cpp
* base/ogl.cpp
* base/tu_file_SDL.cpp
* config
* gameswf/Makefile
Applied patch from Markus Sinner (patch for compiling with gcc-3.4)
2007-10-21 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_action.h
* gameswf/gameswf_character.h
* gameswf/gameswf_impl.cpp
* gameswf/gameswf_root.cpp
* gameswf/gameswf_root.h
* gameswf/gameswf_sprite.cpp
* gameswf/gameswf_sprite.h
* gameswf/gameswf_test_ogl.cpp
* gameswf/gameswf_value.cpp
added getVersion() global function,
removed the deprecated call_method(), call_method0(),
call_method_args(), call_method_parsed()
better to use the user defined gameswf plugin
2007-10-20 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_action.h
* gameswf/gameswf_as_classes/as_mcloader.cpp
* gameswf/gameswf_as_classes/as_mcloader.h
* gameswf/gameswf_character.h
* gameswf/gameswf_dlist.cpp
* gameswf/gameswf_environment.cpp
* gameswf/gameswf_environment.h
* gameswf/gameswf_object.cpp
* gameswf/gameswf_player.cpp: added struct player (uncompleted)
* gameswf/gameswf_player.h: added struct player (uncompleted)
* gameswf/gameswf_sound_handler_mp3.cpp : removed(outdated)
* gameswf/gameswf_sprite.cpp
* gameswf/gameswf_sprite.h
* gameswf/gameswf_test_ogl.cpp
* gameswf/samples/test_moviecliploader.fla: testcase
* gameswf/samples/test_moviecliploader.swf: testcase
* gameswf/win32/VC8/libgameswf.vcproj
rewritten mcLoader to provide the loading single frame movie
2007-10-20 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_as_classes/as_broadcaster.h
* gameswf/gameswf_as_classes/as_key.cpp
* gameswf/gameswf_as_classes/as_mcloader.h
* gameswf/gameswf_as_classes/as_xmlsocket.cpp
* gameswf/gameswf_dlist.cpp
* gameswf/gameswf_freetype.cpp:
* gameswf/gameswf_listener.cpp: added new file
* gameswf/gameswf_listener.h: added new file
* gameswf/gameswf_root.cpp
* gameswf/gameswf_root.h
* gameswf/gameswf_text.cpp
* gameswf/gameswf_timers.cpp
* gameswf/win32/VC8/libgameswf.vcproj
Fixed & optimized listener
the listener may affects m_listeners using addListener & removeListener
2007-10-13 Vitaly Alexeev <tishka92@yahoo.com>
* base/tu_loadlib.cpp: added "lib" before path to shared library
* gameswf/gameswf_as_classes/as_broadcaster.cpp: listener should be once in the queue
* gameswf/gameswf_as_classes/as_db.cpp
* gameswf/gameswf_as_classes/as_db.h : added socket parameter
* gameswf/samples/test_mysql.fla
* gameswf/samples/test_mysql.swf
2007-10-13 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_action.cpp
* gameswf/gameswf_action.h
* gameswf/gameswf_test_ogl.cpp
Added gameSWF extension that
allow pass the user bootup options to Flash (through _global._bootup)
2007-10-13 Vitaly Alexeev <tishka92@yahoo.com>
* base/tu_loadlib.cpp
* base/tu_loadlib.h
* gameswf/gameswf_freetype.cpp
Ported to Linux
2007-10-07 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_action.h
* gameswf/gameswf_function.cpp
* gameswf/gameswf_object.cpp
* gameswf/gameswf_object.h
* gameswf/gameswf_sprite.cpp
* gameswf/samples/test_superclass/box.as
* gameswf/samples/test_superclass/circle.as
* gameswf/samples/test_superclass/shape.as
* gameswf/samples/test_superclass/test.fla
* gameswf/samples/test_superclass/test.swf
Added the supporting of 'super' object
2007-10-04 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_as_classes/as_broadcaster.cpp
* gameswf/gameswf_as_classes/as_broadcaster.h
First we should process completely one event then another
2007-10-02 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf.h
* gameswf/gameswf_function.cpp
* gameswf/gameswf_function.h
* gameswf/gameswf_object.h
* gameswf/gameswf_test_ogl.cpp
* gameswf/win32/VC8/libgameswf.vcproj
Added function.call() method implementation that
invokes the function represented by a Function object.
2007-09-29 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_environment.h
* gameswf/gameswf_function.cpp
* gameswf/gameswf_object.cpp
* gameswf/gameswf_object.h
The next attempt to fixed 'this' bug in
as_as_function::operator()
2007-09-27 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_object.*
Fixed as_object::watch()
2007-09-26 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf.h
* gameswf/gameswf_as_sprite.cpp
* gameswf/gameswf_as_sprite.h
* gameswf/gameswf_sprite.cpp
* gameswf/gameswf_sprite.h
* gameswf/gameswf_sprite_def.h
* gameswf/samples/test_attachMovie.fla
* gameswf/samples/test_attachMovie.swf
Added attachMovie() method
2007-09-25 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_dlist.cpp
* gameswf/gameswf_dlist.h
* gameswf/gameswf_environment.cpp
* gameswf/gameswf_environment.h
* gameswf/gameswf_impl.cpp
* gameswf/gameswf_object.cpp
* gameswf/gameswf_object.h
* gameswf/gameswf_root.cpp
* gameswf/gameswf_root.h
* gameswf/gameswf_sprite.cpp
* gameswf/gameswf_sprite.h
Optimized garbage collector, removed collect_garbage() interface,
garbage collector is combined with advance(). It does not cover all cases,
but is sufficient for real games.
2007-09-22 Vitaly Alexeev <tishka92@yahoo.com>
* base/tu_file.h
* gameswf/gameswf.h
* gameswf/gameswf_movie_def.cpp
* gameswf/gameswf_processor.cpp
* gameswf/gameswf_test_ogl.cpp
* gameswf/win32/VC8/gameswf.sln
* gameswf/win32/VC8/gameswf_processor.vcproj
Reanimeted gameswf_processor
2007-09-22 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_as_classes/as_mcloader.cpp
* gameswf/gameswf_root.cpp
* gameswf/gameswf_root.h
A bit cleanup
2007-09-22 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_function.cpp
* gameswf/gameswf_sprite.h
Fixed ASSetPropFlags,
as_as_function should use the environment of 'this_ptr' if it is
2007-09-21 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_dlist.cpp
* gameswf/gameswf_dlist.h
* gameswf/gameswf_sprite.cpp
* gameswf/gameswf_sprite.h
added dump() stuff for debugging
2007-09-21 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_action.h
* gameswf/gameswf_as_classes/as_mcloader.cpp
* gameswf/gameswf_as_classes/as_netstream.cpp
* gameswf/gameswf_as_classes/as_xmlsocket.cpp
* gameswf/gameswf_environment.cpp
* gameswf/gameswf_function.cpp
* gameswf/gameswf_function.h
* gameswf/gameswf_impl.cpp
* gameswf/gameswf_object.cpp
* gameswf/gameswf_test_ogl.cpp
* gameswf/gameswf_timers.cpp
Pointer to as_environment is removed from struct as_as_function(),
as_as_function should not be binded with the execution environment constantly.
Flash places user-defined classes into _global and they can be called for
different environments. For the same reason struct action_buffer() instead of
references to dict & opcodes buffers hould contain data:
action_buffer* ==> action_buffer,
array<const char*> m_dictionary ==>array<tu_string> m_dictionary
2007-09-21 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_as_classes/as_broadcaster.*
applied weak_ptr, listener maybe is deleted
2007-09-18 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_environment.cpp: target maybe NULL
2007-09-18 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_action.cpp
* gameswf/gameswf_movie_def.cpp
* gameswf/gameswf_movie_def.h
* gameswf/gameswf_shape.cpp
* gameswf/gameswf_sprite_def.cpp
* gameswf/gameswf_test_ogl.cpp
Fixed bug concerned with nonexpendable calls of create_movie()
(thanks Francois Guibert for bug report)
removed useless show_logo() stuff (it is better to use progress bar),
USE_NEW_TESSELATOR is switched off (there are some bugs)
2007-09-16 Vitaly Alexeev <tishka92@yahoo.com>
* base/grid_index.h
* gameswf/gameswf_shape.cpp
Fixed memory leaks, USE_NEW_TESSELATOR is switched on
2007-09-13 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_value.cpp
the result of env->get_target() can be NULL
2007-09-13 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_object.cpp: fixed memory leak
2007-09-12 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_environment.cpp
* gameswf/gameswf_environment.h
Flash 8 can have local zero register
2007-09-12 Vitaly Alexeev <tishka92@yahoo.com>
* base/tu_timer.cpp
* base/tu_timer.h
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_as_classes/as_date.cpp
* gameswf/gameswf_as_classes/as_date.h
* gameswf/samples/test_date.fla
* gameswf/samples/test_date.swf
* gameswf/win32/VC8/libgameswf.vcproj
Added the part of 'Date' Action Script Class implementation
2007-09-11 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_movie_def.cpp: fixed m_loaded_length,
it should be increased on 8 (file start position(4) + file header length(4))
2007-09-11 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_impl.*: added SetTabIndex tag reader
2007-09-11 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_shape.cpp: commented out
#define DEBUG_DISPLAY_SHAPE_PATH
it is used for debugging only
* gameswf/gameswf_object.cpp: fixed the target of property
* gameswf/gameswf_value.cpp: removed assert(..), target of property can be NULL
2007-09-09 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_sprite.cpp: fixed typo
(sprite_get_bytes_loaded ==> sprite_get_bytes_total)
2007-09-01 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_action.cpp
* gameswf/gameswf_value.cpp
A bit cleanup
2007-09-01 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_as_classes/as_broadcaster.cpp
* gameswf/gameswf_object.cpp
* gameswf/gameswf_value.cpp
* gameswf/gameswf_value.h
Fixed as_value::operator=
We should set m_property_target also.
2007-09-01 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf.h
* gameswf/gameswf_sound_handler_sdl.cpp
* gameswf/gameswf_sound_handler_sdl.h
* gameswf/gameswf_sprite.cpp
Fixed the sound bug (thanks to David Ruzicka).
When the movie playback is paused, currently played sample
continues to play even then. Added pause(..) method to sound_handler
2007-08-31 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_as_classes/as_mcloader.cpp
* gameswf/gameswf_as_classes/as_netstream.cpp
* gameswf/gameswf_as_classes/as_xmlsocket.cpp
* gameswf/gameswf_environment.h
* gameswf/gameswf_function.cpp
* gameswf/gameswf_function.h
* gameswf/gameswf_impl.cpp
* gameswf/gameswf_object.cpp
* gameswf/gameswf_timers.cpp
* gameswf/gameswf_value.cpp
as_environment* ==> weak_ptr<as_environment> m_env
We need to watch m_env, testcase:
the movie executes the following opcodes
_global.x = new Object();
loadMovie("another.swf", _root);
the result of this:
current movie will be deleted and it environment too
2007-08-30 Vitaly Alexeev <tishka92@yahoo.com>
* base/container.h
* base/tu_loadlib.cpp
* gameswf/gameswf_action.cpp
* gameswf/gameswf_as_classes/as_string.cpp
* gameswf/gameswf_log.cpp
* gameswf/gameswf_movie_def.cpp
* gameswf/gameswf_object.cpp
* gameswf/gameswf_object.h
* gameswf/gameswf_value.cpp
* gameswf/gameswf_value.h
* gameswf/win32/VC8/gameswf.vcproj
Added the supporting of C_FUNCTION getter/setter
2007-08-27 Vitaly Alexeev <tishka92@yahoo.com>
* base/container.h
* base/image.h
* base/logger.h
* base/ogl.h
* base/tu_file.h
* base/tu_loadlib.h
* base/tu_types.h
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_action.h
* gameswf/gameswf_freetype.cpp
* gameswf/gameswf_impl.cpp
* gameswf/gameswf_impl.h
* gameswf/gameswf_log.h
* gameswf/gameswf_object.cpp
* gameswf/gameswf_object.h
* gameswf/gameswf_plugin.h
* gameswf/gameswf_test_ogl.cpp
* gameswf/gameswf_types.h
* gameswf/gameswf_value.cpp
* gameswf/gameswf_value.h
* gameswf/plugins/sample/sample.cpp
* gameswf/plugins/sample/sample.h
* gameswf/plugins/sample/test.fla
* gameswf/plugins/sample/test.swf
* gameswf/plugins/sample/win32/sample.vcproj
* gameswf/win32/VC8/gameswf.sln
* gameswf/win32/VC8/gameswf.vcproj
* gameswf/win32/VC8/libgameswf.vcproj
* net/tu_net_file.h
Simplified plugin interface(removed plugin_value,
as_object & as_value is exposed to plugin). Added gameswf.sln that
contains libgameswf.dll project & gameswf.exe project.
gameswf.exe and plugins uses libgameswf.lib & libgameswf.dll
2007-08-27 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_object.*: removed useless code
2007-08-26 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_impl.cpp: fixed memory leak
2007-08-24 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_environment.cpp
* gameswf/gameswf_font.cpp
* gameswf/gameswf_function.cpp
* gameswf/gameswf_function.h
* gameswf/gameswf_impl.cpp
* gameswf/gameswf_impl.h
* gameswf/gameswf_movie_def.cpp
* gameswf/gameswf_movie_def.h
* gameswf/gameswf_test_ogl.cpp
* gameswf/gameswf_text.cpp
Simplified user interface(removed create_library_... stuff),
the using of cached movie is controlled by s_use cached_movie
fixed some memory leaks, removed useless save_extern_movie()
2007-08-24 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_impl.cpp: fixed movie_def_impl::create_instance()
broken earlier
2007-08-21 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_action.cpp,
* gameswf/gameswf_sprite.cpp:
a bit cleanup
2007-08-04 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf.h
* gameswf/gameswf_button.cpp
* gameswf/gameswf_character.cpp
* gameswf/gameswf_character.h
* gameswf/gameswf_environment.cpp
* gameswf/gameswf_object.cpp
* gameswf/gameswf_root.cpp
* gameswf/gameswf_sprite.cpp
* gameswf/gameswf_text.cpp
* gameswf/gameswf_text.h
Mainly the implementation of garbage collector is completed.
It does not worsen performance of gameswf since it is executing
in downtime of gameswf.
2007-08-03 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_action.h
* gameswf/gameswf_button.cpp
* gameswf/gameswf_character.cpp
* gameswf/gameswf_character.h
* gameswf/gameswf_dlist.cpp
* gameswf/gameswf_dlist.h
* gameswf/gameswf_environment.cpp
* gameswf/gameswf_environment.h
* gameswf/gameswf_impl.cpp
* gameswf/gameswf_object.cpp
* gameswf/gameswf_object.h
* gameswf/gameswf_root.cpp
* gameswf/gameswf_sprite.cpp
* gameswf/gameswf_sprite.h
* gameswf/gameswf_text.cpp
* gameswf/gameswf_text.h
One more optimization of the garbage collector is done
2007-08-03 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_action.h
* gameswf/gameswf_dlist.cpp
* gameswf/gameswf_dlist.h
* gameswf/gameswf_environment.cpp
* gameswf/gameswf_environment.h
* gameswf/gameswf_impl.cpp
* gameswf/gameswf_object.cpp
* gameswf/gameswf_object.h
* gameswf/gameswf_root.cpp
* gameswf/gameswf_root.h
* gameswf/gameswf_sprite.cpp
* gameswf/gameswf_sprite.h
Optimization of the garbage collector is done
2007-08-03 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_impl.cpp: garbage collector is switched
temporarily off
2007-08-02 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_impl.cpp: a bit cleanup
2007-08-02 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_as_classes/as_broadcaster.cpp:
has forgotten to clear the debug stuff
2007-08-02 Vitaly Alexeev <tishka92@yahoo.com>
* base/container.h: fixed tu_string::operator=
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_as_classes/as_broadcaster.cpp
* gameswf/gameswf_button.cpp
* gameswf/gameswf_character.h
* gameswf/gameswf_dlist.cpp
* gameswf/gameswf_dlist.h
* gameswf/gameswf_environment.cpp
* gameswf/gameswf_environment.h
* gameswf/gameswf_font.cpp
* gameswf/gameswf_impl.cpp
* gameswf/gameswf_impl.h
* gameswf/gameswf_object.cpp
* gameswf/gameswf_object.h
* gameswf/gameswf_root.cpp
* gameswf/gameswf_root.h
* gameswf/gameswf_sprite.cpp
* gameswf/gameswf_sprite.h
* gameswf/gameswf_text.cpp
* gameswf/gameswf_text.h
* gameswf/gameswf_video_impl.cpp
* gameswf/gameswf_video_impl.h
* gameswf/plugins/lib3ds/gameswf_3ds.cpp
* gameswf/plugins/lib3ds/gameswf_3ds.h
Implemented garbage collector, some tests may be fault,
we should not use operators like
as_object* x = new as_object()
we should use smart_ptr like
smart_ptr<as_object> x = new as_object()
2007-07-31 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_object.cpp
* gameswf/gameswf_object.h: Added
__resolve, hasOwnProperty(), watch(), unwatch() implementation
2007-07-30 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_as_classes/as_broadcaster.cpp: fixed sendmessage()
2007-07-30 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_dlist.cpp: reverted to prev version,
some tests are broken, this requires more deep analize
2007-07-30 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_dlist.cpp: Fixed cross-link memory leak bug
that is the effect of code like
clip.myvar = clip;
2007-07-29 Thatcher Ulrich <tu@tulrich.com>
* gameswf/gameswf_action.cpp: Fix delete operator. Should only
clear the specified object member; it should not affect the object
pointed to by that member.
* gameswf/gameswf_batch_test.py: Add
tests/test_delete_references.txt to the list of passing tests.
2007-07-29 Thatcher Ulrich <tu@tulrich.com>
* gameswf/samples/test_delete_references.as
* gameswf/samples/test_delete_references.swf
* gameswf/tests/test_delete_references.txt
Added a test to demonstrate that 'delete' operator is wrong -- it
should only clear the reference; it should not clear the objects
pointed to by the deleted reference. Will fix in a subsequent
change.
* gameswf/gameswf_action.cpp: Fixed call_method opcode; method
calls should work on functions.
* gameswf/gameswf_function.h: Fixed memory bug with as_as_function
-- m_properties cannot be of type as_object, it must be a pointer
to as_object. Otherwise, the as_object ref_counted destructor
tries to delete itself, which is invalid.
* base/Makefile: compile fix, add tu_loadlib.cpp
2007-07-29 Vitaly Alexeev <tishka92@yahoo.com>
Continuation of struggle against memory leaks
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_button.cpp
* gameswf/gameswf_character.h
* gameswf/gameswf_environment.cpp
* gameswf/gameswf_environment.h
* gameswf/gameswf_impl.cpp
* gameswf/gameswf_impl.h
* gameswf/gameswf_object.cpp
* gameswf/gameswf_object.h
* gameswf/gameswf_root.cpp
* gameswf/gameswf_root.h
* gameswf/gameswf_sprite.cpp
* gameswf/gameswf_sprite.h
* gameswf/gameswf_test_ogl.cpp
* gameswf/gameswf_text.cpp
* gameswf/gameswf_text.h
* gameswf/gameswf_value.cpp
* gameswf/gameswf_video_impl.cpp
* gameswf/gameswf_video_impl.h
* gameswf/plugins/lib3ds/gameswf_3ds.cpp
* gameswf/plugins/lib3ds/gameswf_3ds.h
2007-07-29 Vitaly Alexeev <tishka92@yahoo.com>
a bit cleanup
* gameswf/gameswf_object.cpp
2007-07-29 Vitaly Alexeev <tishka92@yahoo.com>
getter/setter requires the target
* gameswf/gameswf_object.cpp
* gameswf/gameswf_value.cpp
* gameswf/gameswf_value.h
2007-07-28 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_value.h: a bit cleanup
2007-07-28 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_action.cpp: null out object's members before deleting
2007-07-26 Vitaly Alexeev <tishka92@yahoo.com>
* base/smart_ptr.h: applied 'mutable'
2007-07-22 Vitaly Alexeev <tishka92@yahoo.com>
A bit cleanup
* gameswf/gameswf.h
* gameswf/gameswf_button.cpp
* gameswf/gameswf_dlist.cpp
* gameswf/gameswf_object.h
2007-07-22 Vitaly Alexeev <tishka92@yahoo.com>
Struggle against memory leak that is become apparent from code like
myclip.my_var = myclip,
added misc struct listener()
* gameswf/gameswf_as_classes/as_key.cpp
* gameswf/gameswf_as_classes/as_xmlsocket.cpp
* gameswf/gameswf_button.cpp
* gameswf/gameswf_character.h
* gameswf/gameswf_dlist.cpp
* gameswf/gameswf_environment.h
* gameswf/gameswf_impl.h
* gameswf/gameswf_root.cpp
* gameswf/gameswf_root.h
* gameswf/gameswf_sprite.cpp
* gameswf/gameswf_sprite.h
* gameswf/gameswf_text.cpp
* gameswf/gameswf_text.h
* gameswf/gameswf_timers.cpp
* gameswf/gameswf_video_impl.cpp
* gameswf/gameswf_video_impl.h
* gameswf/plugins/lib3ds/gameswf_3ds.cpp
* gameswf/plugins/lib3ds/gameswf_3ds.h
2007-07-21 Vitaly Alexeev <tishka92@yahoo.com>
The idea with hash<weak_ptr<..>, ...> has appeared bad.
weak_ptr may be updated outside and therefore we'll have lost hash key
tweak_ptr ==> smart_ptr in listener
* gameswf/gameswf_root.cpp: reverted
* gameswf/gameswf_root.h: reverted
2007-07-21 Vitaly Alexeev <tishka92@yahoo.com>
character* m_parent ==> weak_ptr<character> m_parent
the parent of character may be dead because of Action Script
* base/smart_ptr.h
* gameswf/gameswf_button.cpp
* gameswf/gameswf_character.cpp
* gameswf/gameswf_character.h
* gameswf/gameswf_impl.cpp
* gameswf/gameswf_sprite.cpp
2007-07-21 Vitaly Alexeev <tishka92@yahoo.com>
Fixed some bugs:
any as_object should have addProperty member,
broadcastMessage can have parameters,
properly to pass this_ptr to event handler,
text fields can serve as container
* gameswf/gameswf_action.cpp
* gameswf/gameswf_as_classes/as_broadcaster.cpp
* gameswf/gameswf_object.cpp
* gameswf/gameswf_object.h
* gameswf/gameswf_text.cpp
* gameswf/gameswf_text.h
2007-07-19 Vitaly Alexeev <tishka92@yahoo.com>
Plugin handling
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_action.h
* gameswf/gameswf_object.cpp
* gameswf/gameswf_object.h
* gameswf/gameswf_plugin.h
* gameswf/plugins/sample/sample.cpp
* gameswf/plugins/sample/sample.h
* gameswf/plugins/sample/test.fla
* gameswf/plugins/sample/test.swf
* gameswf/plugins/sample/win32/sample.vcproj
2007-07-19 Vitaly Alexeev <tishka92@yahoo.com>
Added missing gameswf_plugin.h,
added struct plugin_object that is the bridge between core of gameswf
and the plugin,
added plugin_value that is common for gameswf & plugin and is used to
pass data to/from plugin
* gameswf/gameswf_action.cpp
* gameswf/gameswf_as_classes/as_color.cpp
* gameswf/gameswf_as_classes/as_table.cpp
* gameswf/gameswf_object.cpp
* gameswf/gameswf_object.h
* gameswf/gameswf_plugin.h
* gameswf/gameswf_value.cpp
* gameswf/gameswf_value.h
* gameswf/plugins/sample/sample.cpp
* gameswf/plugins/sample/test.fla
* gameswf/plugins/sample/test.swf
* gameswf/plugins/sample/win32/sample.vcproj
* gameswf/win32/VC8/gameswf.vcproj
2007-07-17 Vitaly Alexeev <tishka92@yahoo.com>
tweak_ptr ==> smart_ptr, we should protect active entity from deleting,
on_event() may delete it
* gameswf/gameswf_root.h
2007-07-17 Vitaly Alexeev <tishka92@yahoo.com>
The supporting of loadable plugins is added (unimplemented for now)
* base/tu_loadlib.cpp
* base/tu_loadlib.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_action.h
* gameswf/gameswf_as_sprite.cpp
* gameswf/gameswf_character.cpp
* gameswf/gameswf_environment.cpp
* gameswf/gameswf_environment.h
* gameswf/gameswf_font.cpp
* gameswf/gameswf_sprite.cpp
* gameswf/gameswf_value.cpp
* gameswf/gameswf_value.h
* gameswf/plugins/sample
* gameswf/plugins/sample/sample.cpp
* gameswf/plugins/sample/test.fla
* gameswf/plugins/sample/test.swf
* gameswf/plugins/sample/win32
* gameswf/plugins/sample/win32/sample.vcproj
* gameswf/win32/VC8/gameswf.vcproj
2007-07-14 Vitaly Alexeev <tishka92@yahoo.com>
Fixed bug that shows one's worth in Flash8 dynamic text fields,
updated superclass test
* gameswf/gameswf_font.cpp
* gameswf/samples/test_superclass/circle.as
* gameswf/samples/test_superclass/shape.as
* gameswf/samples/test_superclass/test.fla
* gameswf/samples/test_superclass/test.swf
2007-07-14 Vitaly Alexeev <tishka92@yahoo.com>
Oops, fixed compilation error
* gameswf/gameswf_environment.cpp
* gameswf/gameswf_environment.h
2007-07-14 Vitaly Alexeev <tishka92@yahoo.com>
Added get_register() & set_register(),
local_register_ptr is private now,
unified log messages
* gameswf/gameswf_action.cpp
* gameswf/gameswf_button.cpp
* gameswf/gameswf_environment.cpp
* gameswf/gameswf_environment.h
* gameswf/gameswf_function.cpp
* gameswf/gameswf_impl.cpp
* gameswf/gameswf_movie_def.cpp
* gameswf/gameswf_object.cpp
* gameswf/gameswf_sprite.cpp
2007-07-14 Vitaly Alexeev <tishka92@yahoo.com>
The semantic of Flash class differs from semantic of C++.
Flash instance variables is not private but public,
all variables of new created object is therein,
'private' keyword is meaningless
* gameswf/gameswf_action.cpp
* gameswf/gameswf_environment.h
* gameswf/samples/test_superclass/circle.as
* gameswf/samples/test_superclass/shape.as
* gameswf/samples/test_superclass/test.fla
* gameswf/samples/test_superclass/test.swf
2007-07-14 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/win32/VC8/gameswf.vcproj: removed unused linker input
2007-07-12 Vitaly Alexeev <tishka92@yahoo.com>
The first attempt to implement the supporting of Subclass/Superclass
* gameswf/gameswf.h
* gameswf/gameswf_action.cpp
* gameswf/gameswf_environment.cpp
* gameswf/gameswf_environment.h
* gameswf/gameswf_function.cpp
* gameswf/gameswf_function.h
* gameswf/gameswf_object.cpp
* gameswf/gameswf_object.h
* gameswf/gameswf_value.cpp
* gameswf/samples/test_superclass
* gameswf/samples/test_superclass/circle.as
* gameswf/samples/test_superclass/shape.as
* gameswf/samples/test_superclass/test.fla
* gameswf/samples/test_superclass/test.swf
2007-07-12 Vitaly Alexeev <tishka92@yahoo.com>
Static & dynamic text bug is fixed. The reason of this bug is the fact that
all the EMSquare coordinates in Flas8 are multiplied by 20 at export.
* gameswf/gameswf_font.cpp
* gameswf/gameswf_font.h
* gameswf/gameswf_text.cpp
2007-07-08 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_action.cpp: simplified delete opcode(0x3A),
added 'extends' opcode(0x69) implementation
* gameswf/gameswf_as_classes/as_array.cpp,
* gameswf/gameswf_object.h,
* gameswf/gameswf_value.h:
as_prop_flags: numeric const ==> symbolic const
2007-07-08 Vitaly Alexeev <tishka92@yahoo.com>
* gameswf/gameswf_button.cpp,
* gameswf/gameswf_sprite.cpp: fixed one more _width & _heigth bug
* gameswf/plugins/lib3ds/gameswf_3ds.cpp: typo
* gameswf/samples/test_bound.fla,
* gameswf/samples/test_bound.swf: added testcase for _width & _heigth
* gameswf/samples/test_delete.fla,
* gameswf/samples/test_delete.swf: a bit cleanup
2007-07-07 Thatcher Ulrich <tu@tulrich.com>
We don't use non-const references --> fix character::get_bound(),
matrix::transform(rect*), matrix::transform_by_inverse(rect*)
Added some convenience methods to rect.
A few whitespace edits.
* gameswf/*
* gameswf/Makefile: add as_broadcaster to the build
2007-07-05 Vitaly Alexeev <tishka92@yahoo.com>
Fixed the hack, added erase(), push_back() & size() methods
* gameswf/gameswf_as_classes/as_array.h,
* gameswf/gameswf_as_classes/as_array.cpp
Implemented AsBroadcaster
* gameswf/gameswf_action.cpp
* gameswf/gameswf_as_classes/as_broadcaster.cpp: new
* gameswf/gameswf_as_classes/as_broadcaster.h: new
* gameswf/gameswf_object.h: protected addProperty method
* gameswf/gameswf_value.cpp: fixed operator== of as_value() for OBJECT
Testcase for AsBroadcaster
* gameswf/samples/test_broadcaster.fla
* gameswf/samples/test_broadcaster.swf
* gameswf/win32/VC8/gameswf.vcproj: updated
* NEWS: updated
2007-07-04 Thatcher Ulrich <tu@tulrich.com>
* gameswf/gameswf_sound_handler_sdl.h: Small compile fix.
2007-07-04 Thatcher Ulrich <tu@tulrich.com>
Implemented the remaining String methods. Fixed the String method
dispatch. Made test_string much more comprehensive and fixed a
bunch of corner cases.
2007-07-03 Vitaly Alexeev <tishka92@yahoo.com>
Fixed a some sound bugs that show one's worth
when sound driver is not installed
* gameswf/gameswf.h
* gameswf/gameswf_impl.cpp
* gameswf/gameswf_sound.cpp
* gameswf/gameswf_sound_handler_sdl.cpp
* gameswf/gameswf_sound_handler_sdl.h
2007-07-03 Vitaly Alexeev <tishka92@yahoo.com>
A bit cleanup
* gameswf/gameswf_types.cpp
2007-07-03 Vitaly Alexeev <tishka92@yahoo.com>
Fixed get_bound() bug that show one's worth during rotation
* gameswf/gameswf_types.cpp
2007-07-03 Vitaly Alexeev <tishka92@yahoo.com>
Cleanup of get_bound() stuff
* gameswf/gameswf.h
* gameswf/gameswf_button.cpp
* gameswf/gameswf_button.h
* gameswf/gameswf_character.cpp
* gameswf/gameswf_character.h
* gameswf/gameswf_freetype.cpp
* gameswf/gameswf_impl.cpp
* gameswf/gameswf_impl.h
* gameswf/gameswf_sprite.h
* gameswf/gameswf_sprite_def.h
* gameswf/gameswf_text.cpp
* gameswf/gameswf_text.h
* gameswf/gameswf_types.cpp
* gameswf/gameswf_video_impl.cpp
* gameswf/gameswf_video_impl.h
* gameswf/plugins/lib3ds/gameswf_3ds.h
* gameswf/win32/VC7/gameswf.vcproj
* gameswf/win32/VC8/gameswf.vcproj
2007-07-02 Thatcher Ulrich <tu@tulrich.com>
* gameswf/gameswf_sprite.cpp: move on_event(ENTER_FRAME) to after
the update of m_current_frame. Based on tests, this seems to be
correct. If this breaks other movies, then we need to devise more
automated tests and fix them.
* gameswf/*/test_motion_exec_order.*: a new test to verify that
objects are moved after onEnterFrame() is called.
* gameswf/gameswf_batch_test.py: we now pass tests frame1, frame2,
and test_motion_exec_order.
* gameswf/tests/frame*.txt: tweak the tests and add comments
2007-07-02 Thatcher Ulrich <tu@tulrich.com>
* gameswf/gameswf_batch_test.py: ignore comment lines (starting
with '#') in test files. Add test_currentframe.txt to the list
of passing tests.
* gameswf/samples/test_currentframe.fla,swf: very simple test of
_currentFrame.
* gameswf/tests/test_currentframe.txt: new test to verify
_currentFrame
2007-07-02 Thatcher Ulrich <tu@tulrich.com>
* Makefile: add libpng files to win32_dependencies.zip
* gameswf/gameswf_batch_test.py: update the automated test suite.
Move the tests to separate files under tests/, and define a list
of known passing tests.
* gameswf/gameswf_test_ogl.cpp: Remove some extra output that cause
tests to fail.
* gameswf/tests/*.txt: new test definition files. First line is
the .swf to load, and the rest of the file is the expected trace
output.
2007-07-01 Thatcher Ulrich <tu@tulrich.com>
* Makefile: initial rule for win32_dependencies.zip. Needs to be
tested, also add freetype, etc.
2007-07-01 Vitaly Alexeev <tishka92@yahoo.com>
Snapshot of movieclip of any nesting level is done properly
* gameswf/gameswf_video_ogl.cpp
* gameswf/plugins/lib3ds/gameswf_3ds.cpp
2007-06-28 Vitaly Alexeev <tishka92@yahoo.com>
Snapshot of movieclip is used as texture for 3D model !
(see /gameswf/plugins/lib3ds/test.fla)
* gameswf/gameswf_as_classes/as_netstream.cpp
* gameswf/gameswf_text.cpp
* gameswf/gameswf_text.h
* gameswf/gameswf_video_impl.cpp
* gameswf/gameswf_video_impl.h
* gameswf/plugins/lib3ds/gameswf_3ds.cpp
* gameswf/plugins/lib3ds/gameswf_3ds.h
* gameswf/plugins/lib3ds/test.fla
* gameswf/plugins/lib3ds/test.swf
2007-06-28 Vitaly Alexeev <tishka92@yahoo.com>
Added misc transform_by_inverse(rect), added twips_to_pixels() & pixels_to_twips() methods
to rect & point struct, added find_target(as_value) to struct character, fixed 3DS file loader:
new instance replaces target now, optimized _width & _height stuff