forked from BackupTheBerlios/supertux-devel-maillist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
2006-July.txt
3536 lines (2990 loc) · 129 KB
/
2006-July.txt
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
From ravu_al_hemio at berlios.de Sat Jul 1 13:25:06 2006
From: ravu_al_hemio at berlios.de (Ravu al Hemio)
Date: Sat, 01 Jul 2006 13:25:06 +0200
Subject: [Supertux-devel] Jam Fix for 10240-related Errors (patch)
In-Reply-To: <[email protected]>
References: <[email protected]>
Message-ID: <[email protected]>
Daniel Hedlund wrote:
> I have made a patch that fixes the 10240-related errors when compiling
> with Jam (jam-fix-2006-06-30.patch). The patch has only been tested
> under Linux at the moment and would be appreciated if anyone under
> Windows or OS X can let the list know if they have any problems.
> AnMaster also recommends for anyone with a multi-cpu/core system to
> see how well it works using multiple threads (ie. jam -j2).
>
> This patch fixes the problem by breaking each of the SuperTux
> subdirectories into an archive file (.a) and then recombines them at
> the end to form the supertux executable. This patch slows down
> overall compile time, but it should be compatible with most systems.
>
> I have also attached an older patch (jam-fix-gcc4-2006-06-28.patch) I
> made that fixes the 10240 problems, but only appears to be compatible
> with GCC 4.x. The part of the patch that is incompatible is the use
> of the '@file' syntax which looks in a file for a list of objects to
> link together. This patch is much cleaner, but should not be
> introduced into the official source due to its incompatibilities.
>
> Cheers,
>
> Daniel Hedlund
> daniel at digitree.org
Hey Daniel,
I just found out that the OSX linker doesn't know "--whole-archive".
Wouldn't it be easier just to modify a small value in the jam sources?
While I think about it... we might want to drop a line to Perforce that
they should use better ways of getting the number of max cmdline
commands (and that 10240 is irrationally small).
On OSX and other BSD systems, "sysctl -n kern.argmax" can be used to get
the value.
As an interim hack, search "jam.h" in your jam sources for "Jam
implementation misc" and change the following definition of MAXLINE to a
nicer number. (262144 on my Darwin box.) Run "jam" to compile itself
(Baron M?nchhausen's bootstrapping?) and overwrite your old binary with
the resulting one.
~~ Ondra
From matze at braunis.de Sat Jul 1 13:34:44 2006
From: matze at braunis.de (Matze Braun)
Date: Sat, 01 Jul 2006 13:34:44 +0200
Subject: [Supertux-devel] Jam Fix for 10240-related Errors (patch)
In-Reply-To: <[email protected]>
References: <[email protected]> <[email protected]>
Message-ID: <[email protected]>
Ravu al Hemio wrote:
> Daniel Hedlund wrote:
>> I have made a patch that fixes the 10240-related errors when
>> compiling with Jam (jam-fix-2006-06-30.patch). The patch has only
>> been tested under Linux at the moment and would be appreciated if
>> anyone under Windows or OS X can let the list know if they have any
>> problems. AnMaster also recommends for anyone with a multi-cpu/core
>> system to see how well it works using multiple threads (ie. jam -j2).
>>
>> This patch fixes the problem by breaking each of the SuperTux
>> subdirectories into an archive file (.a) and then recombines them at
>> the end to form the supertux executable. This patch slows down
>> overall compile time, but it should be compatible with most systems.
>>
>> I have also attached an older patch (jam-fix-gcc4-2006-06-28.patch) I
>> made that fixes the 10240 problems, but only appears to be compatible
>> with GCC 4.x. The part of the patch that is incompatible is the use
>> of the '@file' syntax which looks in a file for a list of objects to
>> link together. This patch is much cleaner, but should not be
>> introduced into the official source due to its incompatibilities.
>>
>> Cheers,
>>
>> Daniel Hedlund
>> daniel at digitree.org
> Hey Daniel,
>
> I just found out that the OSX linker doesn't know "--whole-archive".
>
> Wouldn't it be easier just to modify a small value in the jam sources?
> While I think about it... we might want to drop a line to Perforce
> that they should use better ways of getting the number of max cmdline
> commands (and that 10240 is irrationally small).
Unfortunately there are some problems with this:
* Jam isn't maintained actively, there are countless patches floating
around the jam mailing list and in the perforce public repository (speed
improvements, countless bugfixes to the builtin rules and even for
commandline length if I remember correctly). The chance for a new jam
release anytime soon is minimal :-(
* There are at least 2 forks of jam around at the moment: ftjam and
boostjam. These are more actively maintained and we could look whether
they already contain a fix for the commandline length issue or would
include a patch from our side.
* Maybe the 10240 limit is there to enforce you to write portable
jamfiles, there might be obscure platforms around that can't handle
more. Then again these strange architectures are probably so old that we
can't compile supertux on them anyway, so this point isn't really valid
for us
>
> On OSX and other BSD systems, "sysctl -n kern.argmax" can be used to
> get the value.
>
> As an interim hack, search "jam.h" in your jam sources for "Jam
> implementation misc" and change the following definition of MAXLINE to
> a nicer number. (262144 on my Darwin box.) Run "jam" to compile itself
> (Baron M?nchhausen's bootstrapping?) and overwrite your old binary
> with the resulting one.
Problem is that it's a very bad idea to ask our users to patch and
compile their own jam binaries :-/
Greetings,
Matze
From daniel at digitree.org Sat Jul 1 14:07:09 2006
From: daniel at digitree.org (Daniel Hedlund)
Date: Sat, 01 Jul 2006 05:07:09 -0700
Subject: [Supertux-devel] Jam Fix for 10240-related Errors (patch)
In-Reply-To: <[email protected]>
References: <[email protected]> <[email protected]>
Message-ID: <[email protected]>
Ravu al Hemio wrote:
> Hey Daniel,
>
> I just found out that the OSX linker doesn't know "--whole-archive".
>
Ondra, can you send me a copy of the man pages for g++ and ld so I can
see if there is an alternative command argument I can use on that
system? It might be something simple. Could you also provide me with
the version numbers of OS X, g++ and ld? For OS X users, it may be as
simple as rolling back the new jam_fix patch and applying the other one
I supplied in a previous email; the man page will help let me know if
that's possible.
> Wouldn't it be easier just to modify a small value in the jam sources?
> While I think about it... we might want to drop a line to Perforce
> that they should use better ways of getting the number of max cmdline
> commands (and that 10240 is irrationally small).
>
Although there won't be that many different people compiling the
SuperTux source code since there are a limited number of developers, you
don't want to make it very difficult for an interested individual to
dive into the project and start playing around. There are probably 20
people max who normally compile SuperTux and it's not a big thing to ask
all the developers to modify the jam source code. What is a big thing
is to try to convince the Linux distributors/vendors to keep a patched
version of jam specifically to compile SuperTux every time they want to
distribute a binary package with their distribution.
> As an interim hack, search "jam.h" in your jam sources for "Jam
> implementation misc" and change the following definition of MAXLINE to
> a nicer number. (262144 on my Darwin box.) Run "jam" to compile itself
> (Baron M?nchhausen's bootstrapping?) and overwrite your old binary
> with the resulting one.
Since we've committed the patch to SVN, this won't fix the problem
anymore until we find another solution for your platform. Can you or
someone else with OS X please make yourselves known on the #supertux IRC
channel so we can work this out as soon as possible.
Cheers,
Daniel Hedlund
daniel at digitree.org
From sommeraktion at discardmail.com Sun Jul 2 05:21:31 2006
From: sommeraktion at discardmail.com (sommeraktion at discardmail.com)
Date: So, 2 Jul 2006 05:21:31
Subject: [Supertux-devel] TOP: Schwarze klassische Socken zum Schleuderpreis
Message-ID: <[email protected]>
=============================================================
Schwarze klassische Socken in Top-Qualit?t
zu einem unschlagbaren Preis!
=============================================================
Unser Eink?ufer hat gezaubert! Schwarze klassische Herren -
Socken in hervorragender Qualit?t mit handgekettelten Spitzen
(diese Naht sp?ren Sie nicht!) aus hochwertiger mit Lycra
angereicherter Baumwolle sind jetzt zu einem absoluten
Schn?ppchen - Preis zu haben! Nutzen Sie diese einmalige
Gelegenheit noch heute, und trennen Sie sich von Ihren
alten Socken!
Argumente, die z?hlen! Bester Kundenservice f?r Sie:
* Wir liefern bequem gegen Rechnung!
* Unschlagbare Preise und Konditionen!
* Ausgesuchte Top - Qualit?t, keine Billigware!
* Bezahlung mit 100% WIR m?glich!
=============================================================
Vergleichen Sie selbst!
1 Paar Socken statt Fr. 18.- bereits ab Fr. 2.70! (100 Paar)
=============================================================
Socken, wie von einem anderen Stern! Mit optimierter Passform,
verbesserter F?rbeformel f?r l?ngere Farbechtheit auch nach
intensivem Waschen, und mit handgekettelten Spitzen. Die
Socken ?berzeugen durch erstklassige Qualit?t in Material
und Verarbeitung und werden auch h?chsten Anspr?chen gerecht.
Keine billigen oder minderwertigen "Freizeit"-Socken, sondern
klassische, schwarze Business - Socken aus hochwertiger
Baumwolle mit Lycra-Anteil f?r h?chsten Tragkomfort.
- Neue Produktion mit zahlreichen Verbesserungen
- Waden - Socken glatt, in 200Nadel - Top - Qualit?t (!!)
- Ergonomischer Schnitt mit handgekettelten Spitzen
- Feinste, mit Lycra angereicherte Baumwolle
- leicht und anschmiegsam
- Verbesserte Webe - Technik gegen "Verfilzen"
- Business- Qualit?t im klassischen Stil,
passt hervorragend zu Anz?gen
- Kein Aufdruck von "Elef?ntchen" oder "dekorativen" Streifen
Unser Angebot f?r Sie:
==============================================================
Schwarze klassische Business - Socken in Top - Qualit?t
offizieller Ladenpreis Fr. 18.- / Paar
20 Paar statt 360.- nur Fr. 69.- !!
40 Paar statt 720.- nur Fr. 118.- !!
60 Paar statt 1080.- nur Fr. 168.- !!
100 Paar statt 1800.- nur Fr. 270.- !!
Bestellen Sie jetzt bequem und unkompliziert per Telefax!
* mit dem guten Gef?hl, das Socken - Problem gel?st,
* viel Zeit und Nerven beim Einkaufen gespart,
* und Ihren Geldbeutel ENORM geschont zu haben!
===============================================================
Ja, ich m?chte von diesem Angebot profitieren und bestelle
bequem gegen Rechnung 10 Tage netto:
____ 20 Paar statt Fr. 360.- f?r nur Fr. 69.- !!
____ 40 Paar statt Fr. 720.- f?r nur Fr. 118.- !!
____ 60 Paar statt Fr. 1080.- f?r nur Fr. 168.- !!
____ 100 Paar statt Fr. 1800.- f?r nur Fr. 270.- !!
Gr?sse: ____ x 35-38 ____ x 39-42 ____ x 43 - 46
zuz?glich Versandkostenanteil Fr. 8.-
===============================================================
!!!! Minimalbestellmenge 20 Paar! !!!!
===============================================================
___ Ich bezahle mit 100% WIR
_______________________________________________________________
Name/Vorname:__________________________________________________
Adresse: ______________________________________________________
PLZ/Ort:_______________________________________________________
EMail:_________________________________________________________
Datum / Unterschrift: _________________________________________
===============================================================
Bitte Talon ausdrucken und einsenden oder faxen an:
Socks and more AG,
Postfach, 6062 W'ilen
Telefax: 041- 661 17 19
______________________________________________________________
Newsletter abbestellen: Senden Sie Ihre EMail-Adresse an
ausjuni at uk2.net oder per Telefax.
From wansti at gmx.de Sun Jul 2 15:13:17 2006
From: wansti at gmx.de (Marek M.)
Date: Sun, 02 Jul 2006 15:13:17 +0200
Subject: [Supertux-devel] TOP: Schwarze klassische Socken zum Schleuderpreis
In-Reply-To: <[email protected]>
References: <[email protected]>
Message-ID: <[email protected]>
Hey everyone,
sorry for spamming your mailbox, but this was too funny to not approve
it. :-)
For those of you who don't speak German, this junk mail advertises
"Black classic socks at discount prize". I'll translate the funniest
lines for you:
"Take this opportunity today to part from your old socks!"
"Best customer service!"
"Socks like from another planet"
"No low-quality free-time socks, but black classic business-socks"
"No little elephants or decorative stripes printed on them"
If that doesn't convince you to buy 100 pairs of socks for only 270
(Swiss?) Francs... :-)
Marek
sommeraktion at discardmail.com wrote:
> =============================================================
> Schwarze klassische Socken in Top-Qualit?
> zu einem unschlagbaren Preis!
> =============================================================
>
> Unser Eink?fer hat gezaubert! Schwarze klassische Herren -
> Socken in hervorragender Qualit? mit handgekettelten Spitzen
> (diese Naht sp?en Sie nicht!) aus hochwertiger mit Lycra
> angereicherter Baumwolle sind jetzt zu einem absoluten
> Schn?pchen - Preis zu haben! Nutzen Sie diese einmalige
> Gelegenheit noch heute, und trennen Sie sich von Ihren
> alten Socken!
>
>
> Argumente, die z?len! Bester Kundenservice f? Sie:
>
> * Wir liefern bequem gegen Rechnung!
> * Unschlagbare Preise und Konditionen!
> * Ausgesuchte Top - Qualit?, keine Billigware!
> * Bezahlung mit 100% WIR m?lich!
>
>
> =============================================================
> Vergleichen Sie selbst!
> 1 Paar Socken statt Fr. 18.- bereits ab Fr. 2.70! (100 Paar)
> =============================================================
>
> Socken, wie von einem anderen Stern! Mit optimierter Passform,
> verbesserter F?beformel f? l?gere Farbechtheit auch nach
> intensivem Waschen, und mit handgekettelten Spitzen. Die
> Socken ?erzeugen durch erstklassige Qualit? in Material
> und Verarbeitung und werden auch h?hsten Anspr?hen gerecht.
> Keine billigen oder minderwertigen "Freizeit"-Socken, sondern
> klassische, schwarze Business - Socken aus hochwertiger
> Baumwolle mit Lycra-Anteil f? h?hsten Tragkomfort.
>
> - Neue Produktion mit zahlreichen Verbesserungen
> - Waden - Socken glatt, in 200Nadel - Top - Qualit? (!!)
> - Ergonomischer Schnitt mit handgekettelten Spitzen
> - Feinste, mit Lycra angereicherte Baumwolle
> - leicht und anschmiegsam
> - Verbesserte Webe - Technik gegen "Verfilzen"
> - Business- Qualit? im klassischen Stil,
> passt hervorragend zu Anz?en
> - Kein Aufdruck von "Elef?tchen" oder "dekorativen" Streifen
>
>
>
> Unser Angebot f? Sie:
> ==============================================================
>
> Schwarze klassische Business - Socken in Top - Qualit?
> offizieller Ladenpreis Fr. 18.- / Paar
>
> 20 Paar statt 360.- nur Fr. 69.- !!
> 40 Paar statt 720.- nur Fr. 118.- !!
> 60 Paar statt 1080.- nur Fr. 168.- !!
> 100 Paar statt 1800.- nur Fr. 270.- !!
>
>
> Bestellen Sie jetzt bequem und unkompliziert per Telefax!
>
> * mit dem guten Gef?l, das Socken - Problem gel?t,
> * viel Zeit und Nerven beim Einkaufen gespart,
> * und Ihren Geldbeutel ENORM geschont zu haben!
>
>
> ===============================================================
>
> Ja, ich m?hte von diesem Angebot profitieren und bestelle
> bequem gegen Rechnung 10 Tage netto:
>
>
> ____ 20 Paar statt Fr. 360.- f? nur Fr. 69.- !!
>
> ____ 40 Paar statt Fr. 720.- f? nur Fr. 118.- !!
>
> ____ 60 Paar statt Fr. 1080.- f? nur Fr. 168.- !!
>
> ____ 100 Paar statt Fr. 1800.- f? nur Fr. 270.- !!
>
>
> Gr?se: ____ x 35-38 ____ x 39-42 ____ x 43 - 46
>
>
> zuz?lich Versandkostenanteil Fr. 8.-
>
>
> ===============================================================
> !!!! Minimalbestellmenge 20 Paar! !!!!
> ===============================================================
>
> ___ Ich bezahle mit 100% WIR
>
> _______________________________________________________________
>
>
> Name/Vorname:__________________________________________________
>
>
> Adresse: ______________________________________________________
>
>
> PLZ/Ort:_______________________________________________________
>
>
> EMail:_________________________________________________________
>
>
>
> Datum / Unterschrift: _________________________________________
>
> ===============================================================
>
> Bitte Talon ausdrucken und einsenden oder faxen an:
>
> Socks and more AG,
> Postfach, 6062 W'ilen
> Telefax: 041- 661 17 19
>
>
> ______________________________________________________________
> Newsletter abbestellen: Senden Sie Ihre EMail-Adresse an
> ausjuni at uk2.net oder per Telefax.
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Supertux-devel mailing list
> Supertux-devel at lists.berlios.de
> http://lists.berlios.de/mailman/listinfo/supertux-devel
>
From wansti at gmx.de Sun Jul 2 15:34:09 2006
From: wansti at gmx.de (Marek M.)
Date: Sun, 02 Jul 2006 15:34:09 +0200
Subject: [Supertux-devel] authorization request for supertux
In-Reply-To: <[email protected]>
References: <[email protected]>
Message-ID: <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Monsieur Despointes,
since SuperTux is free software licensed under the GPL, you are
allowed to distribute it without explicit permission. We are always
happy to find SuperTux on cover CD's of computer magazines and we hope
that it will increase the popularity of our game.
Below you'll find the filled-out form.
Sincerely,
Marek M?ckel,
SuperTux Development Team
>
> I, Marek M?ckel, representing the SuperTux Development Team
>
> hereby authorize Future France to include any version of SuperTux in
> the cover cd distributed with
>
> Windows News, Windows XP Magazine, .net, Micro Guide, Micro Actuel,
> Internet Pratique, Computer Arts, PC Jeux, Jeux Vid?o Magazine, PSM
> 2, PlayStation 2 Magazine, Joystick, Kid Paddle, XBox Magazine,
> Nintendo Magazine, Joypad, DS Magazine, Download Magazine, Fiches
> Pratiques XP as well as future updates and future magazines and
> declare to be the author of the above software.
>
>
>
>
>
> Could you also remind me the exact limitation of this version (fully
> working, 30 days / 30 days, limited functionalities / time
> illimited, limited functionalities) as well as the Os(es) it
> requires: Fully working, free software - no limitations. May be
> distributed free under the terms of the GNU General Public License.
> The game is available for Linux, 32-bit Windows, MacOS X as well as
> other platforms such as the Sony PlayStation Portable.
>
>
>
> Do you sell your software in France via a distributer ? No
>
> If so, which ? (Does not apply)
>
>
>
> Date : 2006-07-02
>
> Signed : Marek M?ckel (SuperTux Development Team)
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEp8tQpVeWyxRwnMcRArSGAJ9zgiRHGlsEXK5OIHE+uIGtG2A+xQCfbXOk
0krJUv/5PzJtivw9w8XM+iA=
=gzv8
-----END PGP SIGNATURE-----
From allen at a-king.us Sun Jul 2 23:23:37 2006
From: allen at a-king.us (Allen King)
Date: Sun, 02 Jul 2006 17:23:37 -0400
Subject: [Supertux-devel] repeatable platform-independent random numbers
Message-ID: <[email protected]>
A while back, I did some work to make Supertux have cross-platform
repeatability of random numbers. Back in the end of April, I released
those changes, but the release did not go smoothly. There were some
bugs and others with SVN access made some stopgap fixes. Since then,
I've isolated the problem which probably prevented all of the changes
from being incorporated. Attached is a patch which should complete this
task.
I hope you can get it into SVN quickly, as I have put some time into
reconstructing it. Whoever puts it in, please let me know how it went.
I am here to help with any problems which might come up. However my
time will be less available starting next month, and I probably won't be
able to go through this exercise again.
Allen King
It is based on a recent version (3821), and effects the following changes.
1. The variable RAND_MAX is machine-dependent, and shouldn't be used
inside the machine-independent RandomGenerator, as it currently
is. This patch fixes that problem, which expressed itself in
Wintel platforms (where RAND_MAX=0x7fff and INT_MAX=0x7fffffff) as
assertion failures as well as numeric errors in randf.
2. In the current version, the random seed is not properly
initialized from the demo file. It says it does, but it doesn't.
(Instead a random number is generated from time(0)).
GOREY DETAILS: For things to work, the call to init_rand() must be
delayed until after the seed is read from the demo file.
Unfortunately just delaying the init_rand() call till after
play_demo caused the "uninitialized random generator" throw bug. To
get around that problem, the code that reads the random seed was
moved from GameSession :: play_demo method to a new method:
GameSession :: get_demo_random_seed, which could occur earlier.
Unfortunately in the process of doing that, play_demo stopped
skipping over the initial seed, got confused, and prevented
play_demo from operating at all. All of this should be fixed now.
Other lesser changes that are also in this patch are:
1. RandomGenerator::rand(int) now has no fence-post biases.
Previously, there were large biases in cases like when it's
argument was, say, =rand_max*0.75.
2. A debug mode was added to RandomGenerator, but set to OFF.
3. A periodic call of rand had been added every 20 frames to aid in
debug. It was changed to call rand every cycle because the "every
20 times" functionality broke due to other's changes. The call is
currently commented out, but I un-comment it for debug.
4. The random_seed stored in the demo file is saved as decimal with
leading spaces. This removes a trivial debugging cut-and-paste gotcha.
5. in random_generator, an assertion check (of sizeof(int) >= 4) was
moved into initialization code to reduce processing time.
6. An old commented-out erroneous call to srand(0) was removed totally.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.berlios.de/pipermail/supertux-devel/attachments/20060702/9a0d79b1/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 060702-RandomGenerator.patch4
URL: <https://lists.berlios.de/pipermail/supertux-devel/attachments/20060702/9a0d79b1/attachment.ksh>
From tuxdev103 at gmail.com Tue Jul 4 17:12:38 2006
From: tuxdev103 at gmail.com (tuxdev)
Date: Tue, 4 Jul 2006 08:12:38 -0700
Subject: [Supertux-devel] A new level for forest world and patch to make it work
Message-ID: <[email protected]>
This level is called "Lost Woods" because I took the concept from
Legend of Zelda.
Things I need to fix:
1. The music should always start at about .5 when the message shows
2. The player doesn't notice how small the level really is
3. Other cosmetic stuff, like filling in all the earth tiles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lostwoods.stl
Type: application/octet-stream
Size: 25480 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/supertux-devel/attachments/20060704/f0d9a00d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ambientsoundscripting.patch
Type: application/octet-stream
Size: 8255 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/supertux-devel/attachments/20060704/f0d9a00d/attachment-0001.obj>
From admin at berlios.de Sun Jul 2 17:33:43 2006
From: admin at berlios.de (admin at berlios.de)
Date: Sun, 2 Jul 2006 08:33:43 -0700 (PDT)
Subject: [Supertux-devel] [Bug #8054] Icons in objects tool and tile tool panes go white sometimes
Message-ID: <[email protected]>
Bug #8054, was updated on 2006-Jul-02 08:33
Here is a current snapshot of the bug.
Project: SuperTux
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: tuxdev
Assigned to : none
Summary: Icons in objects tool and tile tool panes go white sometimes
Details: If an object is selected, the objects between the selected one and the first (none) go white. "Between" meaning if you convert the 2D view to a 1D array by left-right up-down order priority.
If the pane is resized, all the icons go white until you move it back to where it was exactly.
If you scroll in a pane, all the icons go white until you scroll back.
These behaviours sometimes clear up for reasons I have yet to determine.
For detailed info, follow this link:
http://developer.berlios.de/bugs/?func=detailbug&bug_id=8054&group_id=3467
From krissij4 at hotmail.com Mon Jul 3 02:07:37 2006
From: krissij4 at hotmail.com (kristján ´Jónsson)
Date: Mon, 03 Jul 2006 00:07:37 +0000
Subject: [Supertux-devel] bonus
Message-ID: <[email protected]>
can u plees put this in some bonus island or story island and send me the
new super tux game?
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: level1.stl
Type: application/vnd.ms-pki.stl
Size: 44328 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/supertux-devel/attachments/20060703/ad140387/attachment.stl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: level2.stl
Type: application/vnd.ms-pki.stl
Size: 47889 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/supertux-devel/attachments/20060703/ad140387/attachment-0001.stl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: level3.stl
Type: application/vnd.ms-pki.stl
Size: 42717 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/supertux-devel/attachments/20060703/ad140387/attachment-0002.stl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: level4.stl
Type: application/vnd.ms-pki.stl
Size: 27926 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/supertux-devel/attachments/20060703/ad140387/attachment-0003.stl>
From admin at berlios.de Tue Jul 4 12:52:02 2006
From: admin at berlios.de (admin at berlios.de)
Date: Tue, 4 Jul 2006 12:52:02 +0200 (CEST)
Subject: [Supertux-devel] [Bug #7373] Supertux crash when starting game
Message-ID: <[email protected]>
Bug #7373, was updated on 2006-May-03 13:44
Here is a current snapshot of the bug.
Project: SuperTux
Category: None
Status: Closed
Resolution: Works For Me
Bug Group: None
Priority: 5
Submitted by: bugmenot
Assigned to : none
Summary: Supertux crash when starting game
Details: Latest svn, --enable-debug
[DEBUG] src/tile_manager.cpp:47 Tiles loaded in 0.131 seconds
[INFO] src/main.cpp:429 Component 'resources' finished after 1.503 seconds
[INFO] src/main.cpp:297 Using random seed 1146655925, from time().
[DEBUG] src/world.cpp:233 Couldn't load savegame: Couldn't open file 'save/world1_1.stsg': No such file or directory
Display intro
Program received signal SIGILL, Illegal instruction.
[Switching to Thread -1225926944 (LWP 9147)]
0xb7e7cd98 in png_handle_gAMA ()
from /home/wolfgang/.local/lib/libSDL_image-1.2.so.0
(gdb) bt
#0 0xb7e7cd98 in png_handle_gAMA ()
from /home/wolfgang/.local/lib/libSDL_image-1.2.so.0
#1 0xb7e69061 in png_read_info ()
from /home/wolfgang/.local/lib/libSDL_image-1.2.so.0
#2 0xb7e53243 in IMG_LoadPNG_RW ()
from /home/wolfgang/.local/lib/libSDL_image-1.2.so.0
#3 0xb7e4fca4 in IMG_LoadTyped_RW ()
from /home/wolfgang/.local/lib/libSDL_image-1.2.so.0
#4 0xb7e4fb0c in IMG_Load_RW ()
from /home/wolfgang/.local/lib/libSDL_image-1.2.so.0
#5 0x08121e91 in TextureManager::create_image_texture (this=0x82b88c0,
filename=@0xbfe9d8b8) at src/video/texture_manager.cpp:103
#6 0x08122d5b in TextureManager::get (this=0x82b88c0, _filename=@0xbfe9d954)
at src/video/texture_manager.cpp:66
#7 0x08121353 in Surface (this=0x8912740, file=@0xbfe9d954)
at src/video/surface.cpp:40
#8 0x080e1da2 in SnowParticleSystem (this=0x8911b38)
at src/object/particlesystem.cpp:85
#9 0x080756f2 in Sector::parse_object (this=0x890e9e0, name=@0xbfe9da28,
reader=@0x0) at src/sector.cpp:144
#10 0x0807a6a3 in Sector::parse (this=0x890e9e0, sector=@0x890e6e0)
at src/sector.cpp:194
#11 0x080500cb in Level::load (this=0x8927e88, filepath=@0x8927918)
at src/level.cpp:89
Follow-Ups:
Date: 2006-May-05 16:26
By: bugmenot
Comment:
Strange, now it is working. Maybe because I updated to Suse 10 or something in SVN changed. But I can no longer reproduce the problem.
-------------------------------------------------------
Date: 2006-May-04 07:17
By: ravu_al_hemio
Comment:
Sounds like an SDL/PNG problem.
Could you go "up 5" and "print *filename"? Thanks.
-------------------------------------------------------
For detailed info, follow this link:
http://developer.berlios.de/bugs/?func=detailbug&bug_id=7373&group_id=3467
From admin at berlios.de Tue Jul 4 12:53:55 2006
From: admin at berlios.de (admin at berlios.de)
Date: Tue, 4 Jul 2006 12:53:55 +0200 (CEST)
Subject: [Supertux-devel] [Bug #7496] error during the compilation of svn version
Message-ID: <[email protected]>
Bug #7496, was updated on 2006-May-15 02:24
Here is a current snapshot of the bug.
Project: SuperTux
Category: None
Status: Open
Resolution: Fixed
Bug Group: None
Priority: 5
Submitted by: trougnouf
Assigned to : none
Summary: error during the compilation of svn version
Details: sorry to try to use the developement version ^.^
i tryed to compil it (install all the dependeny, autogen and configure works) but during the compilation i got that
[...]
C++ ./build/x86_64-unknown-linux-gnu/optimize/src/scripting/camera.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/src/scripting/time_scheduler.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/src/scripting/wrapper.o
LinkApplication actions too long (max 10240)!
trougnouf at ubuntu:~/svn/supertux$
thankyou this game is wonderful and it replace counter strike in every student's laptop of my school since i played it :D
Follow-Ups:
Date: 2006-Jul-04 12:53
By: sommer
Comment:
Should be fixed in current trunk
-------------------------------------------------------
Date: 2006-Jun-30 22:07
By: farnkerl
Comment:
See the following patch for a fix:
https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1178&group_id=3467
or download directly from:
https://developer.berlios.de/patch/download.php?id=1178
To apply the patch, download it into the supertux directory and run "patch -p0 < ./patch_filename.patch"
-------------------------------------------------------
Date: 2006-Jun-28 07:32
By: ravu_al_hemio
Comment:
A short hack in Jam sources fixes the problem: open jam.h and jump to line 461. Change the definition of MAXLINE to a larger number (try something like 30000), rebuild jam and copy the new binary into /usr/bin or /usr/local/bin or ~/bin (overwriting the one you've had before).
10240 is a pretty low limit, I give you that.
-------------------------------------------------------
Date: 2006-Jun-27 20:18
By: farnkerl
Comment:
This problem is related to AMD64 processors and caused because the command line arguments supplied to jam's linker are too long for jam to handle. A temporary workaround to this problem is to run the configure script with "--build=x86_64-pc-linux-gnu":
./configure --build=x86_64-pc-linux-gnu
This will shorten the list of arguments down by a few hundred characters, bringing you back under the 10240 limit. Note that you should run "jam clean" before reconfiguring and rebuilding.
-------------------------------------------------------
For detailed info, follow this link:
http://developer.berlios.de/bugs/?func=detailbug&bug_id=7496&group_id=3467
From uafr at gmx.de Tue Jul 4 18:09:25 2006
From: uafr at gmx.de (Wolfgang Becker)
Date: Tue, 4 Jul 2006 18:09:25 +0200
Subject: [Supertux-devel] bonus
In-Reply-To: <[email protected]>
References: <[email protected]>
Message-ID: <[email protected]>
On 20060704 kristj?n ?J?nsson <krissij4 at hotmail.com> wrote:
Hi Kristjan,
> can u plees put this in some bonus island or story island and send me the
> new super tux game?
After careful testing your levels by our test players we we are
sorry to inform you that your contribution does not quite match our
players expectations. It might be a good idea to keep in mind
that a major part of our audience is young children while designing
levels. Another hint: get someone else to playtest your works,
they will notice details that you with your knowledge as the level's
designer missed.
We can not send you the new release of supertux because
it is not ready yet. If it is done we will announce it on
http://supertux.berlios.de/ and through the usual channels. For
milesone two (the upcoming release of supertux) we would like to
have levels that also use the new features of this release.
Tsch??,
Wolfgang
--
Wolfgang Becker *** eMail uafr at gmx.de *** http://uafr.freeshell.org/
From tuxdev103 at gmail.com Tue Jul 4 19:31:51 2006
From: tuxdev103 at gmail.com (tuxdev)
Date: Tue, 4 Jul 2006 10:31:51 -0700
Subject: [Supertux-devel] Re: A new level for forest world and patch to make it work
In-Reply-To: <[email protected]>
References: <[email protected]>
Message-ID: <[email protected]>
Updated patch to include new files for AmbientSound scripting interface
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ambientsoundscripting.patch
Type: application/octet-stream
Size: 11641 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/supertux-devel/attachments/20060704/bb2ee409/attachment.obj>
From tuxdev103 at gmail.com Tue Jul 4 20:47:52 2006
From: tuxdev103 at gmail.com (tuxdev)
Date: Tue, 4 Jul 2006 11:47:52 -0700
Subject: [Supertux-devel] Re: A new level for forest world and patch to make it work
In-Reply-To: <[email protected]>
References: <[email protected]>
Message-ID: <[email protected]>
Enhanced level from WolfgangB's suggestions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lostwoods.stl
Type: application/octet-stream
Size: 25707 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/supertux-devel/attachments/20060704/e965f346/attachment.obj>
From p637777 at aol.com Wed Jul 5 14:56:24 2006
From: p637777 at aol.com (Markus Engel)
Date: Wed, 5 Jul 2006 14:56:24 +0200
Subject: [Supertux-devel] Stalactites
Message-ID: <001501c6a032$6cc90480$2001a8c0@MPC>
Hi there!
I created a little patch for three levels in world1 because there some
stalactites don't fall down.
This happens if you place them on another tile.
Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stalactites.diff
Type: application/octet-stream
Size: 1312 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/supertux-devel/attachments/20060705/46b9f5cd/attachment.obj>
From tuxdev103 at gmail.com Wed Jul 5 17:30:58 2006
From: tuxdev103 at gmail.com (tuxdev)
Date: Wed, 5 Jul 2006 08:30:58 -0700
Subject: [Supertux-devel] Re: A new level for forest world and patch to make it work
In-Reply-To: <[email protected]>
References: <[email protected]>
Message-ID: <[email protected]>
Enhanced level from AnMaster's suggestions
Patch has been merged into SVN
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lostwoods.stl
Type: application/octet-stream
Size: 25705 bytes
Desc: not available