-
Notifications
You must be signed in to change notification settings - Fork 4
/
ChangeLog
executable file
·7529 lines (4742 loc) · 257 KB
/
ChangeLog
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
2013-06-25 Michael Petch <mpetch@gnubg.org>
* backgammon.h, gnubg.c, play.c: hint_move has been modified to
support external callbacks. Part of future Python integration.
2013-06-25 Michael Petch <mpetch@gnubg.org>
* eval.c, lib/neuralnet.c: If SIMD instructions are compiled in
and they are not supported by the processor, output an error
message and then terminate immediately.
2013-06-22 Michael Petch <mpetch@gnubg.org>
* INSTALL, configure.ac, eval.c, gnubg.c, gnubg.spec,
po/POTFILES.in
Rename file sse.h to simd.h. Rename USE_SSE_VECTORIZE to
USE_SIMD_INSTRUCTIONS, rename SSE_Supported to SIMD_Supported,
rename DISABLE_SSE_TEST to DISABLE_SIMD_TEST,
rename SSE_CFLAGS to SIMD_CFLAGS
Make sse/simd usage more consistent, ./configure option
--enable-sse/--disable-sse is now --enable-simd/--disable-simd
2013-06-20 Michael Petch <mpetch@gnubg.org>
* +m4/ax_check_compile_flag.m4, +m4/ax_ext.m4
+m4/ax_gcc_x86_avx_xgetbv.m4 +m4/ax_gcc_x86_cpuid.m4,
configure.ac: Added better autoconf support to determine
whether the processor supports certain SIMD instruction sets
like SSE,SSE2,AVX etc.
--enable-simd behaves a bit different. --enable-simd with no
parameters is the same as --enable-simd=yes . The behavior of
--enable-simd=yes has been changed to find the latest supported
SIMD instruction set used by the build machines CPU. Priority
is given in this order (highest first): SSE2, SSE, AVX, None.
Since AVX is still experimental it is not given priority over
SSE2 during build time autodetection.
2013-06-19 Michael Petch <mpetch@gnubg.org>
* +output.c +output.h, gnubg.c, backgammon.h, lib/Makefile.am
lib/neuralnet.c: Moved the output functions from gnubg.c to
their own files.
2013-06-19 Michael Petch <mpetch@gnubg.org>
* gnubg.c, eval.c, lib/neuralnet.c, lib/neuralnet.h,
configure.ac: Add support for plm's new AVX instruction
additions. Separate the cputest from the --enable-simd
configure option. Created a new option --disable-cputest.
Supports cputest functionality on GCC builds with either
64-bit or 32-Bit OSes on Intel processors. Code will work
with builds that use -fpic option.
2013-06-18 Michael Petch <mpetch@gnubg.org>
* gnubg.c: When using the -r flag to start GNUBG (start without
reading the gnubgautorc file), the gnugbautorc file will be
overwritten with defaults if running with the GUI. Reported
by plm, see: https://savannah.gnu.org/bugs/?38497#postcomment
2013-06-17 Michael Petch <mpetch@gnubg.org>
* gtkgame.c: Fix language bug that prevented the GUI from properly
refreshing the screen when a new Language was chosen
* Makefile.am: Win32 builds have a localedir of ./locale relative
to the executables directory. A bug had newer windows builds
seeking locale files in the default locations which was incorrect,
and consquently language translation didn't occur.
2013-06-15 Michael Petch <mpetch@gnubg.org>
* All .c and .h files: Standardized the code formatting with
indent -kr -l120 -fc1 -sc -nut -psl . K&R style, 120 column limit
process comment in column 1, multiline comments have an asterisk
at the beginning of each line, convert all tabs to spaces, and
split the return type of a function from the function name
(each on their own line). K&R uses 4 spaces for an indentation
level. Update the language files.
* script/*.py : Reformat the python files to conform to PEP8
standard. See http://www.python.org/dev/peps/pep-0008/#indentation
2013-06-15 Michael Petch <mpetch@gnubg.org>
* gnubgmodule.c, scripts/gnubg.py: Modify the python interpreter
processing so that it falls back to a simple command line
interface on older versions of Windows (Versions before WinXP SP2).
Fix segfault related to launching the Python command line
interpreter
2013-06-15 Philippe Michel <philippe.michel7@sfr.fr>
* configure.ac, lib/neuralnetsse.c, lib/sse.h, lib/inputs.c: Use
AVX instructions when built with "configure --enable-simd=avx"
2013-06-13 Michael Petch <mpetch@gnubg.org>
* gtkprefs.c: Save board preferences when clicking "OK"
on the board appearance configuration dialog.
2013-06-12 Michael Petch <mpetch@gnubg.org>
* dbprovider.c, dbprovider.h, gtkrelational.c, relational.c,
scripts/database.py : Allow hostname to be specified
in the database connection dialog box. Hostnames can be
any valid combination of hostname:portnumber
2013-06-07 Michael Petch <mpetch@gnubg.org>
* gtkwindows.c, play.c: Fix a bug that segfaulted the "end game"
command when built with GTK and the "-t" option is used to
launch GNUBG.
2013-06-06 Michael Petch <mpetch@gnubg.org>
* gnubgmodule.c, gnubgmodule.h, gtkgame.c, scripts/gnubg.py: Move
loading of the Python command line interpreter to Python functions
in gnubg.py. The Python command line now supports IPython if
present. IPython takes precedence over the standard Python
interpreter. If the standard interpreter is used, attempt to
load command history (readline module) and then try loading
auto completion (rlcompleter module) support if present.
Fix Python related ifdefs to allow compiling when built without
Python support.
2013-06-05 Michael Petch <mpetch@gnubg.org>
* scripts/gnubg.py: Add the scripts directory to the Python path
so that files in the directory can be imported.
2013-06-05 Michael Petch <mpetch@gnubg.org>
* gnubgmodule.c, gtkgame.c, play.c: Modify the interactive Python
interpreter to support tab completion and command history. Begin
reintroducing Python IDLE, since it functions on MS Windows and
various linux distros. Ubuntu/Debian installation of IDLE can be
done via: apt-get install idle . If IDLE is not present it will
drop back to the old method. CLI builds don't use IDLE at present.
IDLE is not on the GUI menu but can be activated by turning on the
"command" pane and entering '>' (greater than sign without quotes)
as a command. IF IDLE is not presnt and usable it will do nothing.
This is a work in progress.
2013-06-04 Michael Petch <mpetch@gnubg.org>
* gtkrelational.c: Don't allow a user to create a player database
that already exists.
* dbprovider.h, dbprovider.c, scripts/database.py, gnubgmodule.c:
Add Mysql support on Win32 platforms using pymysql (a purely
python based database driver for mysql)
2013-06-04 Michael Petch <mpetch@gnubg.org>
* configure.ac, multithread.h: Allow a new autoconf/configure
parameter --with-eval-max-threads=size to allow the maximum number of
evaluation threads to be specified. Default is 48 if not specified.
* dbprovider.h, dbprovider.c, relational.c scripts/database.py:
Fix bugs that prevented proper connections and database usage
when using the Mysql and Postgres player database providers.
Mysql and Postgres are unsupported on the MS Windows platform -
Disable them in the GUI
2013-05-31 Michael Petch <mpetch@gnubg.org>
* play.c: Under certain situations (load commands from a file
containing a play command within the GUI) would stop
on an assertion. PlayCommand not properly resetting the
notification handler. Reported by Ian Shaw
2013-05-28 Michael Petch <mpetch@gnubg.org>
* gnubg.c: Fix bugs related to python handling of
ParseMove and FormatMove . Fix bug that would cause crash when
command "load commands" used unquoted filenames on Win32 platform.
Reported by Ian Shaw
2013-05-17 Michael Petch <mpetch@gnubg.org>
* configure.ac eval.h gnubg.weights doc/gnubgdb.xml
doc/gnubg/* doc/gnubgman.xml: Version bumped to V1.00.0 .
* gnubg.c: Change default MET to Kazaross-XG2.xml
2013-04-13 Philippe Michel <philippe.michel7@sfr.fr>
* import.c: Interpret some of the comments eXtreme Gammon puts at
the start of .mat files to fill match information in and determine
game variation.
* export.c: Writes similar comments when exporting as .mat
2013-03-26 Philippe Michel <philippe.michel7@sfr.fr>
* matchequity.c: Recalculate gammon prices after inverting the MET.
This is needed for asymetric tables. Problem reported by Maik Stiebler
in bug-gnubg.
2013-03-15 Michael Petch <mpetch@gnubg.org>
* doc/gnubg/* doc/gnubgdb.xml doc/gnubgman.xml: Version
bumped to V0.91.0 in the documentation.
2013-03-07 Philippe Michel <philippe.michel7@sfr.fr>
* gnubg.c: Use stronger default settings for Computer opponent,
Tutor and Analysis (2 ply instead of 0 ply) and for rollouts (0 ply
checker play and 2 ply cube instead of 0 ply for everything).
Increase the default JSDs and minimum trials to stop a rollout early.
* eval.c: Use SSE instructions, if available, in the pruning nets
computations. This is a small speed improvement but constrains the
size of the pruning nets' intermediate layer to be a multiple of 4.
2013-03-06 Philippe Michel <philippe.michel7@sfr.fr>
* configure.ac, credits.sh, eval.h, gnubg.weights: New nets.
Version bumped to 0.91.
2013-02-17 Philippe Michel <philippe.michel7@sfr.fr>
* format.c: Use EMG by default in matchplay analysis output since
these numbers are generally easier to interpret than MWC.
2013-01-23 Philippe Michel <philippe.michel7@sfr.fr>
* simpleboard.c, simpleboard.h, export.c: Improve export of
positions in cairo graphics. Problem reported by Leo Bueno.
2012-10-25 Michael Petch <mpetch@gnubg.org>
* gnubgmodule.c : Add movetupletostring method to the Python
interface. Added support for tuples generated by findbestmove
and parsemove.
2012-10-23 Michael Petch <mpetch@gnubg.org>
* gnubgmodule.c : recent removal of reduced dict item from the
Python eval contexts introduced a bug that produced an error
processing the noise dict item. Reported by Bagrat Lazaryan
2012-10-21 Michael Petch <mpetch@gnubg.org>
* play.c, gnubgmodule.c : Fix issue with GNUBG not resigning if the
opponent is guaranteed to win a backgammon or a gammon. Discovered
in matches played by Murat (R.G.B). Add number of points resigned
(1=regular,2=gammon,3=backgammon) to Python resign dictionary item.
2012-10-20 Michael Petch <mpetch@gnubg.org>
* analysis.c, gtkpanels.c : Fix issues with crawford games. If
not using "automatically start next game" and you analyse a game
or match in the game preceding the crawford game the next game
will not be treated as a crawford game.
See: https://savannah.gnu.org/bugs/?35179
Fixed bug with the Crawford flag beneath the board not being
properly set when Crawford game is reached.
2012-10-19 Michael Petch <mpetch@gnubg.org>
* gtkprefs.c, renderprefs.c, set.c : Export of positions/matches
didn't honour the board styles when GNUBG launched with -t
or was built with --without-gtk option. Reported by Fredrik.
See: http://lists.gnu.org/archive/html/bug-gnubg/2012-10/msg00011.html
2012-10-19 Michael Petch <mpetch@gnubg.org>
* gnubgmodule.c, gnubgmodule.h : Stack alignment issue.
On Win32/GCC builds, SSE instructions acting on variables
allocated on the stack in Python code would cause a segfault.
Properly align stack in Python functions that may call SSE
code. Reported by bagratte. See https://savannah.gnu.org/bugs/?37583
2012-10-18 Michael Petch <mpetch@gnubg.org>
* play.c : Murat (R.G.B) noticed that resignations acted differently
in some cases. Found that resignations can be analysed in 0 ply in
some places and 2 ply in others. To remain consistent we now compute
them at 0 ply.
2012-10-11 Michael Petch <mpetch@gnubg.org>
* import.c : Fix BGRoom import bug reported by Adi Kadmon where
player names were not properly applied to Player 1 and
Player 2 (They could be reversed).
2012-10-11 Michael Petch <mpetch@gnubg.org>
* configure.ac : Configure process modified to support a thread type
with --enable-threads default threading is glib threads.
Supports win32, glib and no threading
2012-10-08 Philippe Michel <philippe.michel7@sfr.fr>
* configure.in: This file name is deprecated, rename it to
configure.ac.
2012-10-07 Michael Petch <mpetch@gnubg.org>
* backgammon.h, gnubg.c, configure.in : Convert BUILD_DATE
define to literal string before usage. Allow VERSION_EXT
environment variable to be passed to autogen.sh to specify an
extension on a version number. VERSION_EXT="-mingw"
would yield a version that would appear as 0.90.0-mingw .
2012-10-07 Michael Petch <mpetch@gnubg.org>
* +win32/*, pixmaps/Makefile.am, configure.in, Makefile.am:
Added WIN32 resource support (icons etc), and general
automake cleanup
2012-09-18 Michael Petch <mpetch@gnubg.org>
* backgammon.h, dice.c, gnubg.c, gtkoptions.c, set.c,
lib/mt19937ar.c lib/mt19937ar.h
Better Mersenne Twister seed support when compiled with libgmp.
MT Seeds with libgmp support can be full range from 0 to 2^19973-1. To
retain backward comaptibility with rolls generated from seeds between
0 and 2^32-1 on previous releases of GNUBG, seeds in this range will
be set using the old method.
GUI modified to support a seed value between 0 and 2^32-1 instead
of 2^31-1
When libgmp support is absent we now support unsigned 32 bit integers
rather than signed. When compiling 64bit (without libgmp), seeds
will be limited to 32 bit integers. Compile with libgmp to support
seeds greater than 32 bits.
Note: In previous releases, if libgmp support was present, seeds
exceeding 2^32-1 did not work as expected even though the seed
appeared to be successfully set.
2012-08-05 Michael Petch <mpetch@gnubg.org>
* gtkchequer.c: Fix string buffer over run when copying
move analysis data. Reported by Mike Mannon, see bug
http://savannah.gnu.org/bugs/?37025. TODO: introduce a better
way to allocate space for the text buffer.
2012-08-01 Philippe Michel <philippe.michel7@sfr.fr>
* import.c: Fix some import problems with files exported by
eXtreme Gammon and GridGammon.
2012-07-01 Michael Petch <mpetch@gnubg.org>
* gnubg.c: Added a define NO_OVERLAYSCROLLBARS that can be
used to override LIB_OVERLAYSCROLLBARS to be 0 on platforms
where overlay scrollbars currently cause problems. The long
term fix is to replace GtkCList with GtkTreeview. mdpetch
is curretly working on this solution. More information on this
problem can be found at:
https://bugs.launchpad.net/ubuntu/+source/gnubg/+bug/1002063
2012-06-21 Michael Petch <mpetch@gnubg.org>
* gtkboard.c: Fix bug reported by motiv4u and Tim Chow that
caused edit mode to act oddly when the player on roll is changed.
2012-05-15 Michael Petch <mpetch@gnubg.org>
* play.c: Fix bug reported on R.G.B. by murat that prevented
the GUI from navigating to the next game when a resignation
is offered and the "End Game" feature is used. The issue only
occurred in 3D view.
2012-05-04 Jon Kinsey <Jon_Kinsey@hotmail.com>
* drawboard3d.c: remove no longer needed board resize when cube moves
to top of screen.
2012-03-03 Philippe Michel <philippe.michel7@sfr.fr>
* eval.c: Improve backgammons estimation in race pruning by using
the same method than in the regular evaluation.
2011-12-31 Philippe Michel <philippe.michel7@sfr.fr>
* lib/neuralnetsse.c: Fixes error in sigmoid approximation when
using SSE instructions. This will cause occasional small
discrepancies in evalation output compared to previous code.
2011-12-07 Philippe Michel <philippe.michel7@sfr.fr>
* dice.c: fix small modulo bias in dice generation with some
RNGs. Affects ansi, bsd, isaac, md5 and mersenne.
As a consequence, a match or session started with the same seed
can very occasionally unfold differently from how it did before
the change. Rollouts using the same seed can give a marginally
different result as well. The probability of the dice sequence
diverging at each roll is on the order of 1 in 1,000,000,000.
Mon Oct 31 12:22:59 CET 2011 Christian Anthon <anthon@kiku.dk>
* gtklocdefs.c, gtklocdefs.h, m4/Makefile.am
m4/versioncompare.m4: compile on centos5
Mon Oct 31 10:40:01 CET 2011 Christian Anthon <anthon@kiku.dk>
* analysis.c, backgammon.h, export.c, format.c, gtkboard.c, gtkgame.c,
gtkgame.h, gtklocdefs.c, gtkpanels.c, gtktheory.c, import.c,
makebearoff.c, play.c, set.c, sgf.c, board3d/graph.c,
board3d/widget3d.c, lib/inputs.c: silence compiler warnings from gcc
2011-09-29 Michael Petch <mpetch@gnubg.org>
* html.c: BBS Match output rendered with white space
when outputting a complete match. Rendering problem
was because Strict XHTML DocType. Reported by Chris Yep
BBS output cleaned up to validate properly as
Strict XHTML 1.0.
2011-09-08 Philippe Michel <philippe.michel7@sfr.fr>
* import.c: Don't replace spaces by underscores in players' names
while importing.
2011-09-02 Michael Petch <mpetch@gnubg.org>
* gtkboard.c, gtkfile.c, gtkgame.c, gtklocdefs.c,
gtklocdefs.h, gtktoolbar.c, gtktoolbar.h, gtkwindows.c:
Work around more deprecated functions.
2011-08-30 Michael Petch <mpetch@gnubg.org>
* Makefile.am, credits.sh gtk-multiview.c, gtkboard.c,
gtkexport.c, gtkgame.c, gtkgame.h, gtkgamelist.c,
gtkmovefilter.c, gtkmovefilter.h, gtkmovelist.c,
gtkmovelistctrl.c, gtkoptions.c, gtkpanels.c,
gtkprefs.c, gtkrace.c, gtksplash.c, gtktempmap.c,
gtktheory.c, gtktoolbar.c, gtktoolbar.h, gtkwindows.c,
set.c, board3d/graph.c, board3d/gtkcolour3d.c,
board3d/inc3d.h, board3d/misc3d.c, board3d/widget3d.c,
+gtklocdefs.h, +gtklocdefs.c, +gtkuidefs.h:
Work around deprecated functions in GTK 2.24,
remove direct member access of opaque types,
convert GtkItemFactory to GtkUIManager for the menu
and toolbars. Building with 2.24 using compile flags
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DGSEAL_ENABLE is a first step to supporting GTK3.
Keep the code backward compatible with GTK 2.6 with
conditonal expressions.
2011-08-24 Michael Petch <mpetch@gnubg.org>
* met/Kazaross-XG2.xml: Add XG2 MET generated by Neil Kazaross
2011-08-21 Michael Petch <mpetch@gnubg.org>
* gtkchequer.c,gtkcube.c: Fixed bug #33781. When doing a
chequer play rollout from the hint window, destroy the rollout
window when the user hits "Stop" or the rollout finishes.
This is the same behavior as doing "Rollout" from the move
list in the game record pane. Fix similar issue with cube rollout.
Please see https://savannah.gnu.org/bugs/index.php?33781
for additional comments and other coding options to resolve
these issues
2011-08-20 Philippe Michel <philippe.michel7@sfr.fr>
* eval.c: Improve evaluation of late bearoff positions in match
play. Problem reported by Neil Robins (in 2009). 0- and 1-ply can
still be way off if there is an impending automatic redouble but
evaluations with deeper lookahead should be adequate.
2011-08-20 Michael Petch <mpetch@gnubg.org>
* gnubg.c: Fixed bug #33781. When doing a chequer play rollout
from the hint window, detroy the rollout window when the user
hits "Stop" or the rollout finishes. This is the same behavior
as doing "Rollout" from the move list in the game record pane.
2011-08-20 Michael Petch <mpetch@gnubg.org>
* gnubg.c: Fixed bug #33141. Under Windows convert file name
from locale to utf8 to handle special characters in file names.
2011-08-19 Michael Petch <mpetch@gnubg.org>
* set.c: Fixed bug reported by Chris Yep. If you use "hint"
on a Crawford position, edit the position and remove Crawford
flag, and click "Hint" it used the previous position info and
produced identical results. Also occurred if using
"set crawford" command directly.
2011-08-18 Michael Petch <mpetch@gnubg.org>
* configure.in, Makefile.am, gnubgmodule.c: Fixed build issues
with Mingw/Msys environment. MingW doesn't output Binary data
by default to stdout. Use makeweights "-f" argument to output
proper binary weights files. On Windows path names need to be
properly escaped when passed to the Python interpreter.
2011-08-16 Michael Petch <mpetch@gnubg.org>
* sound.c, configure.in: Play CoreAudio sounds in the
background on OS/X builds. Deficiency found by Louis Zulli.
2011-08-16 Michael Petch <mpetch@gnubg.org>
* sound.c, configure.in: Play CoreAudio sounds in the
background on OS/X builds. Deficiency found by Louis Zulli.
2011-08-16 Philippe Michel <philippe.michel7@sfr.fr>
* eval.c, eval.h: Add 4ply with large movefilter to predefined
play levels. Bump grandmaster movefilter up to large.
2011-08-15 Michael Petch <mpetch@gnubg.org>
* Makefile.am, configure.in, util.c, board3d/Makefile.am,
doc/Makefile.am: better support for Mingw/Msys windows
builds.
2011-08-12 Michael Petch <mpetch@gnubg.org>
* play.c, gtkgame.c, gtkboard.c: Fixed bug #33866 reported by
Gerhard. In 3D mode with option "Start new Games immediately"
turned off, match would not continue properly if the computer
offered a resignation. Also fixes the bug where the resignation
flag is not cleared after accepting/rejecting a resignation.
Fixed Bug #33701, #33313 - When "Start Game Immediately" option
is off, resigning gets the user stuck trying to start a new
game. Now allow user to click dice area on board to start new
game after a resign.
2011-08-11 Michael Petch <mpetch@gnubg.org>
* set.c: When importing XGIDs prompt user in positions where
person on roll is on top before swapping. In non interactive
mode swapping will not occur. This option exists because XG2
swaps players when exporting (default), so person on roll
appears on bottom. Unfortunately, XG2 does not change the XGID
to account for the change.
2011-08-09 Michael Petch <mpetch@gnubg.org>
* play.c, gtkoptions.c: A new bug was introduced that broke
canceling of a match where bot played bot (or potentially other
scenario of automatic play). Fixed an old bug where canceling
automated bearoff of the human didn't work properly. Cache size
is now reported as MB (Megabyte) not "Mb" (Megabit)
2011-08-07 Michael Petch <mpetch@gnubg.org>
* set.c: Some imported XGID cube positions were not properly
swapped when the board was displayed. Reported by Philippe (plm)
2011-08-07 Michael Petch <mpetch@gnubg.org>
* play.c: Fixed bug #33143 reported by Kevin McDonough where
interrupting a forced move in 2D got into wrong state causing
bot not to continue automatic play.
2011-08-03 Michael Petch <mpetch@gnubg.org>
* gnubgmodule.c: Add PythonParseMove function
2011-08-03 Michael Petch <mpetch@gnubg.org>
* set.c: Fixed the display of the board when importing XGID's
so that they appear *similar* to those HTML positions pasted to
websites. Reported by Leo Bueno (on BGO). Assume that most
people are using XG2 and exporting with default setting "Player
on roll always at the bottom".
2011-08-03 Philippe Michel <philippe.michel7@sfr.fr>
* gnubg.c, gtkboard.c, play.c, set.c: More fixes to swap players
feature.
2011-08-01 Philippe Michel <philippe.michel7@sfr.fr>
* play.c, gnubg.c, set.c: Fixed display of SETBOARD records in the
game record panel (bug #32778). Fixed Game|Swap players for games
ending with a SETBOARD record (in practice, games created from a
pasted id).
2011-07-29 Michael Petch <mpetch@gnubg.org>
* analysis.c: Previous getLuckRating change had unintended side
effects when we stopped using hard coded values. Hard coded values
were off by an approximate factor of 10. Although this has been fixed
it may wish to be revisited as to why the values were hardcoded in
this fashion originally. Reported by Chris (pck).
2011-07-17 Michael Petch <mpetch@gnubg.org>
* gnubgmodule.c: Fixed Python position key functions to internally call
the old style position keys functions. Fixes compiler errors due to
new position key changes made on 2011/07/15.
2011-07-15 Philippe Michel <philippe.michel7@sfr.fr>
* positionid.c, positionid.h, lib/cache.c, lib/gnubg-types.h: Use
a simpler position key for internal use. PositionKey() and
PositionFromKey() are much faster. The global speed improvement is
about 10%.
A side effect is that the evalution cache becomes 38% larger.
2011-07-09 Philippe Michel <philippe.michel7@sfr.fr>
* gnubg.c, gtkgame.c: Set players names from default_names at
program launch and when pasting a position id, in addition to when
starting a match.
2011-07-08 Philippe Michel <philippe.michel7@sfr.fr>
* play.c: Update players names in game record panel when starting
a new match.
2011-06-13 Michael Petch <mpetch@gnubg.org>
* analysis.c: getLuckRating was returning values based
on old hard coded luck thresholds. Use the user supplied
ones instead
2011-06-08 Michael Petch <mpetch@gnubg.org>
* gnubgmodule.c: Add new python function "DiceRolls" to
return the next "n" rolls from the current RNG.
2011-05-18 Michael Petch <mpetch@gnubg.org>
* configure.in: --enable-threads and --enable-extmatchid are
now the default. amd64 cpu types will automatically enable sse2
2011-05-17 Michael Petch <mpetch@gnubg.org>
* gtkgame.c: Modify the Menu to support copying of GNUBGID's,
as well as the MatchId or positionID's individually.
2011-05-17 Michael Petch <mpetch@gnubg.org>
* configure.in: Modify the ./configure process to now enable
Extended match ID's by default. They can be disabled with
--disable-extmatchid
2011-05-17 Michael Petch <mpetch@gnubg.org>
* gnubg.c, backgammon.h, gtkfile.c, gtkrelational.c: The word
"Relational" has been removed from the GUI when referring to the
database. This makes more sense to the casual users. Fixed the
situation where a Batch sometimes had to be preceded by a clear
match/session. Fixed bug reported by Leo that prevented matches
being analysed with incomplete analysis settings. Fixed bug
reported by Leo Bueno that prevented matches that may not have been
played to completion from being analysed. Added Warning if you
use incomplete analysis settings and have requested to save the
matches to the database
2011-05-13 Philippe Michel <philippe.michel7@sfr.fr>
* eval.c, lib/inputs.c (new file), lib/Makefile.am: Computation of
baseInputs() with SSE. The code was already there in eval.c, but
commented out.
2011-05-08 Philippe Michel <philippe.michel7@sfr.fr>
* lib/gnubg-types.h, lib/cache.h, lib/cache.c, backgammon.h,
positionid.h, positionid.c, analysis.c, eval.c, export.c, eval.h,
gnubg.c, gnubgmodule.c, gtkboard.c, gtkpanels.c, import.c, play.c,
rollout.c, set.c, sgf.c, makebearoff.c, makehyper.c:
Use a defined type for the position key.
Small speed up with faster EqualKeys and CopyKey macros.
2011-04-10 Michael Petch <mpetch@gnubg.org>
* board3d/drawboard3d.c board3d/fun3d.h board3d/shadow.c:
Converted int to GLint where appropriate to avoid compiler
warnings about incompatible types in certain build
environments.
2011-04-09 Philippe Michel <philippe.michel7@sfr.fr>
* gtkexport.c, gtkgame.c, gtktempmap.c: Alter some pop-up panels
that were too tall too be usable on smaller screens (the OK button
was below the bottom of the display). Affected are
Settings|Export, Settings|Rollouts and Analyze|Temperature Map.
2011-04-08 Michael Petch <mpetch@gnubg.org>
* gtkprefs.c: Fixed bug that disallowed import/export board
designs from using file names with paths that had spaces on
Windows (WIN32) platform.
2011-04-08 Michael Petch <mpetch@gnubg.org>
* gtkgame.c, play.c: Fixed bug that didn't update the cube
properly when navigating from a non crawford game to crawford
game. Reported by Ongun Alsac.
2011-04-06 Michael Petch <mpetch@gnubg.org>
* configure.in, board3d/font3d.c, board3d/inc3d.h: Added
better 3dboard autoconf support for Apple build environments.
Use Apple OpenGL, and add appropriate check for GTK
X windows headers. GTK does not necessarily rely on X as a
backend.
2011-04-06 Michael Petch <mpetch@gnubg.org>
* gnubg.c: Fixed WIN32 specific bug that caused command
filenames with spaces to not be processed. Reported by Nardy.
2011-03-23 Michael Petch <mpetch@gnubg.org>
* gtkboard.c, play.c, gtkgame.c: Fixed bug that caused
crawford flag to be unset in the GUI if you changed to
a crawford game in the game list. Reported by Phillipe
Michel. Fixed bug that caused a new money session to
not correctly use the global Jacoby setting in some
cases.
2011-03-23 Michael Petch <mpetch@gnubg.org>
* gtkboard.c: Update global match state with changes in
score made through edit mode. Fixes hint/edit bug reported
by Pierre Zakia
2011-03-23 Michael Petch <mpetch@gnubg.org>
* gtkboard.c: Did cleanup of new Jacoby code.
Modified the edit GUI to enforce proper Crawford
settings when editing. If scores and match length
make Crawford impossible, disable Crawford toggle
and turn off Crawford until settings make it possible
2011-03-22 Michael Petch <mpetch@gnubg.org>
* gnubg.c, gtkgame.c, gtkboard.c, matchid.c, play.c
set.c, gtkboard.h: Improve support for Jacoby.
- When using extended Match ID's - Jacoby comes from
the ID,
- When using regular ID's Jacoby is decided by the
global "Jacoby" setting in options.
- Fixed bug with Jacoby being read from an extended ID.
- Added Jacoby flag to the table. When MatchLen is
0 (money session) Crawford flag replaced by Jacoby
and vice versa.
- Fixed some editing issues with Crawford
2011-03-22 Michael Petch <mpetch@gnubg.org>
* gtkgame.c, simpleboard.c, gnubgmodule.c, matchid.c
matchid.h, configure.in, play.c : Began adding support
for an extended matchID that includes Jacoby. While in
testing phase ./configure supports --enable-extmatchid
and a USE_EXTENDEDMATCHID define in config.h. By default
builds do not have this feature turned on.
2011-03-20 Philippe Michel <philippe.michel7@sfr.fr>
* gnubg.c: Fixed missing handling of MOVE_SETBOARD records in
swapGame(). Needed for single positions (bug #32272) and games
with illegal moves.
2011-03-19 Philippe Michel <philippe.michel7@sfr.fr>
* set.c: Don't change the global Jacoby setting when pasting a XGID.
2011-03-17 Michael Petch <mpetch@gnubg.org>
* gtkgame.c : Fixed ClipBoard copy from the Match
statistics dialog that caused both players data to
be the same. Added player names to the match statistic
tables (treeviews). Reported by Boomslang
2011-03-17 Philippe Michel <philippe.michel7@sfr.fr>
* positionid.h, eval.c: Speed improvements.
2011-03-16 Michael Petch <mpetch@gnubg.org>
* gnubgmodule.c : Added GNUBG python module functions:
gnubgid, matchid, posinfo
ToDo: xgid
2011-03-14 Michael Petch <mpetch@gnubg.org>
* gnubg.c, sound.c, configure.in : Added support for Apple
CoreAudio sound on platforms that are supported. CoreAudio
takes precedence over QuickTime. This should allow for native
64bit builds without the need for an external sound player.
2011-03-10 Michael Petch <mpetch@gnubg.org>
* gnubg.c: Fixed bug with random numbers being read from
www.random.org preventing GNUBG from exiting. We now skip HTTP
headers and make sure we don't read more numbers than the
dice array can hold. Reported by Leo Bueno.
2011-03-07 Michael Petch <mpetch@gnubg.org>
* board3d/drawboard3d.c: Fixed array indexing issue in drawDice that
would cause hangs/crashes on OS/X when "set gui dicearea on" with
3D boards were on. Crash would occur during program startup. May be
related to fix commited on 2009-03-26 by Christian.
Reported by Pierre Viau.
2011-03-04 Michael Petch <mpetch@gnubg.org>
* gtkgame.c: Fixed problem with language change getting stuck
in loop
2011-02-24 Philippe Michel <philippe.michel7@sfr.fr>
* gnubg.c: In Tutor/Hint, always evaluate the tried move at the
deepest ply. Problem pointed by Michael Depreli in bug-gnubg.
2011-02-14 Philippe Michel <philippe.michel7@sfr.fr>
* sgf.c, eval.h (comment only), gtkgame.c, gnubg.c, analysis.c:
Fixed crash when loading a take or drop saved as a position (bug
#32270).
Mon Feb 14 21:11:28 CET 2011 Christian Anthon <anthon@kiku.dk>
* backgammon.h, commands.inc, gnubg.c, gtkchequer.c, gtkcube.c,
gtkexport.c, gtkfile.c, gtkgame.c, gtkmet.c, gtkmovefilter.c,
gtkoptions.c, gtktoolbar.c, gtkwindows.c, play.c, set.c: Have
different default and current player names. Only change default
player names in dialog, not in edit mode. Attempt to autosave
settings.
Mon Feb 14 18:05:09 CET 2011 Christian Anthon <anthon@kiku.dk>
* sound.c: Fix sound in cl interface (unix)
2011-02-13 Philippe Michel <philippe.michel7@sfr.fr>
* play.c: Fix display of MOVE_SETCUBEPOS in game record panel.
Sat Feb 12 22:19:18 CET 2011 Christian Anthon <anthon@kiku.dk>
* gtkgame.c: Just one clist to go.
2011-02-10 Philippe Michel <philippe.michel7@sfr.fr>
* po/ro.po, configure.in, gtkgame.c, flags/romania.png,
flags/Makefile.am : Romanian translation by Mihai Varzaru.
2011-02-09 Philippe Michel <philippe.michel7@sfr.fr>
* eval.c: Small speed improvements.
2011-02-08 Philippe Michel <philippe.michel7@sfr.fr>
* eval.c, lib/neuralnetsse.c, lib/neuralnet.h : Øystein Johansen's
patch to handle a different number of hidden nodes with SSE.
Tue Feb 8 20:23:42 CET 2011 Christian Anthon <anthon@kiku.dk>
* Makefile.am, backgammon.h, commands.inc, gtkgame.c, R record.c, R
record.h: remove the rest of old player records
Tue Feb 8 19:54:13 CET 2011 Christian Anthon <anthon@kiku.dk>: :
* gtkgame.c: cleanup after previous commit
* progress.c: convert the rollout clist to tree view, sortable and
simpler, but fewer details than before.
Tue Feb 8 19:16:12 CET 2011 Christian Anthon <anthon@kiku.dk>:
* gtkgame.c, gtkgame.h: update the evaluation summary to gtk_combo_box
Tue Feb 8 18:24:42 CET 2011 Christian Anthon <anthon@kiku.dk>
* gtkmovefilter.c: update movefilter selection to gtk_combo_box
Tue Feb 8 17:58:05 CET 2011 Christian Anthon <anthon@kiku.dk>
* gtkgame.c: update the stats navigation to gtk_combo_box
Sun Feb 6 21:04:11 CET 2011 Christian Anthon <anthon@kiku.dk>
* Makefile.am, configure.in, gnubgstock.c, gnubgstock.h, gtkgame.c,
gtkpanels.c, gtktoolbar.c, gtkwindows.c, gtkwindows.h,
pixmaps/Makefile.am, pixmaps/gnubg-stock-pixbufs.h,
pixmaps/24x24/actions/anti_clockwise_24.png,
pixmaps/24x24/actions/clockwise_24.png,
pixmaps/24x24/actions/new0_24.png, pixmaps/24x24/actions/new11_24.png,
pixmaps/24x24/actions/new13_24.png,
pixmaps/24x24/actions/new15_24.png,
pixmaps/24x24/actions/new17_24.png, pixmaps/24x24/actions/new1_24.png,
pixmaps/24x24/actions/new3_24.png, pixmaps/24x24/actions/new5_24.png,
pixmaps/24x24/actions/new7_24.png, pixmaps/24x24/actions/new9_24.png,
pixmaps/24x24/actions/resignsb_24.png,
pixmaps/24x24/actions/resignsg_24.png,
pixmaps/24x24/actions/resignsn_24.png, R xpm/*: Cleanup of the pixmaps
Sat Feb 5 18:27:35 CET 2011 Christian Anthon <anthon@kiku.dk>
* gtkpanels.c: one less clist
Wed Feb 2 22:00:24 CET 2011 Christian Anthon <anthon@kiku.dk>
* gtkgame.c: one less clist.
2011-01-30 Philippe Michel <philippe.michel7@sfr.fr>
* export.c, commands.inc, file.c, backgammon.h : Export games and
matches in Snowie standard text format.
2011-01-23 Philippe Michel <philippe.michel7@sfr.fr>
* positionid.h : Speed improvement.
2011-01-20 Philippe Michel <philippe.michel7@sfr.fr>
* export.c : More robust .mat export in case of illegal moves.
Stepping stone to Snowie standard text export.
2011-01-10 Philippe Michel <philippe.michel7@sfr.fr>
* latex.c: Escapes characters reserved by TeX/LaTeX (%, $, _,
etc...) + other minor fixes.
* gnubg.c, html.c, latex.c, text.c : Should avoid ??-numbered
moves in exports.
2011-01-05 Philippe Michel <philippe.michel7@sfr.fr>
* gtkmovefilter.c, gtktheory.c: Prevent warnings about deprecated
usage of GtkSpinButton that appeared with a recent gtk2 update.
* gtkgame.c: Decrease absurdly high page_increments in some
GtkSpinButtons.
* gtktheory.c: Decrease a page_increment that seemed too high.
2010-12-21 Philippe Michel <philippe.michel7@sfr.fr>
* import.c: Fix handling of resignations in .mat files created by
eXtreme Gammon.
2010-11-29 Philippe Michel <philippe.michel7@sfr.fr>
* gtkcube.c: More unwarranted assertion failures.
* speed.c: Fix speed calibrating.
2010-11-21 Philippe Michel <philippe.michel7@sfr.fr>
* rollout.c: Fix for crashes in rollouts. This is essentially
Guido Flohr's patch from the discussion of bug #29880.
* gtkcube.c: Avoid assertion failure when asking for a cube
decision hint after rolling the dice. Bug #31713.
2010-11-13 Philippe Michel <philippe.michel7@sfr.fr>
* gtktempmap.c: Retain temperature map's checkboxes status (for a
given instance, not in gnubgautorc). Bug/wish #27150.
2010-11-11 Philippe Michel <philippe.michel7@sfr.fr>
* rollout.c: In multithreaded rollouts, make every alternative
stop at the right number of trials instead of when the speediest
one reaches it.
* progress.c, format.c, format.h, gnubg.c: fix TextOutputProgress()
display of match cubes (bug #27149).
2010-11-01 Philippe Michel <philippe.michel7@sfr.fr>
* play.c: workaround for bug #27178
* backgammon.h, commands.inc, gtkgame.c, html.c: copy position as
URL to image.backammonbase.com. Submitted by Noriyuki Hosaka :
http://lists.gnu.org/archive/html/bug-gnubg/2010-04/msg00024.html
2010-10-31 Philippe Michel <philippe.michel7@sfr.fr>
* play.c: don't do luck analysis while playing as highlighting
very lucky or unlucky rolls in the game record panel gives away
big equity swings.
http://lists.gnu.org/archive/html/bug-gnubg/2010-06/msg00034.html
* eval.h, eval.c, gtkoptions.c: bump up evaluation cache size
default x4 to 21Mb, maximum settable from GUI x2 to 336Mb
2010-10-29 Philippe Michel <philippe.michel7@sfr.fr>
* NEWS, dice.c, eval.c, gtkpanels.c, show.c: typos
Picked from Debian and FreeBSD ports.
2010-10-17 Philippe Michel <philippe.michel7@sfr.fr>
* file.c: Fix in automatic import. Detect sgg now.