2002-12-30  Pascal Wassong  <pascal.wassong@free.fr>

	* configure.in: Version 2.1

	* NEWS, NEWS_fr, README, README_fr:
	Updated latest infos before release of final 2.1

	* src/pcpjcapt.c: Avoid some solutions to be found twice.

2002-12-28  Pascal Wassong  <pascal.wassong@free.fr>

	* configure.in: Version 2.1Beta4

	* src/twin_squares.c:
	No twin squares for a King if they are spare moves.

	* src/precise_trajectories.c, src/test_moves_order.c:
	Replace // comments by standard /* */ comments.

2002-12-22  Pascal Wassong  <pascal.wassong@free.fr>

	* src/pcpj_deb.c, NEWS, NEWS_fr:
	Use the position of the King, in the encoding of a position in the
	hash tables, when it was encaged on it's home square by Pawns and
	Bishops, but the Queen was captured.

2002-12-14  Pascal Wassong  <pascal.wassong@free.fr>

	* src/pcpjcapt.h, src/pcpjcoup.c, src/pcpjcoup.h, src/pcpjtool.c, src/pcpjtool.h, src/precise_trajectories.h, src/reportbugs.text, src/screen.c, src/screen.h, src/test_moves_order.h, src/trajet.c, src/trajet.h, src/twin_squares.c, src/twin_squares.h, src/types.h, test/.cvsignore, .cvsignore, ChangeLog, src/.cvsignore, src/common.h, src/copyright.text, src/dis_type.h, src/distance.c, src/distance.h, src/distimmo.c, src/distimmo.h, src/example.txt, src/explorat.c, src/explorat.h, src/expltype.h, src/hash.h, src/langues.c, src/langues.h, src/main.h, src/memcmp.c, src/moves_order.h, src/myHashTable.c, src/myHashTable.h, src/pcpj.c, src/pcpj.h, src/pcpj_deb.h, src/pcpjcapt.c:
	Converted from DOS EOL to Unix EOL

2002-12-13  Pascal  <Pascal@localhost.localdomain>

	* README, README_fr: Version 2.1

	* configure.in: Version 2.1Beta3

2002-12-10  Pascal  <Pascal@localhost.localdomain>

	* src/test_moves_order.c: Don't print move orders any longer

	* src/pcpj.c:
	Bug correction : castling must always have the NO value when there is
	no castling, due to twin_squares computations

	* src/distance.c: Added `print_current_distance_table' function

	* config/missing: Imported improved version coming with new automake

2002-11-19  Pascal  <Pascal@localhost.localdomain>

	* src/explorat.c: Initialise chgtDest to FALSE in case of castling

2002-11-14  Pascal  <Pascal@localhost.localdomain>

	* src/moves_order.c: Castling is an unbreakable move

	* test/no_R_switchback_after_OO.test: Test now both Rooks

	* src/twin_squares.c:
	If castling is the only move of a King, we add a constraint on the squares

	* src/test_moves_order.c:
	A castling King is not eliminated from pieces that may block

	* test/no_R_switchback_after_OO.test: First revision

	* test/Makefile.am: Added no_R_switchback_after_OO.test

	* src/explorat.c, src/pcpj.c: Castling may be the only destination

2002-11-13  Pascal  <Pascal@localhost.localdomain>

	* src/pcpjtool.c: Write OO even for black castling

2002-10-23  Pascal  <Pascal@localhost.localdomain>

	* src/pcpjcapt.c: Eliminate castling as a potential capturing move

	* test/Makefile.am: Added castling_no_capture test

	* test/castling_no_capture.test: First revision

2002-10-17  Pascal  <Pascal@localhost.localdomain>

	* NEWS, NEWS_fr: News for version2.1a9

	* src/explorat.c:
	Removed an erroneous optimisation (see SPG by Reto Ashwanden)

	* src/test_moves_order.c: Correction of bugs

	* test/Makefile.am: Added test promotee_must_switchback2.test

	* src/trajet.c:
	Reintroduced test to remove "auto-frolkin" (wPa2-a8=N-b6*Pa7, bPa7xPb6)

	* test/promotee_must_switchback2.test: First revision

2002-08-15  Pascal  <Pascal@localhost.localdomain>

	* NEWS_fr, configure.in, NEWS: Version 2.1a9

2002-06-29  Pascal  <Pascal@localhost.localdomain>

	* test/Makefile.am: Added castling_move_order.test

	* test/castling_move_order.test: First revision

	* src/test_moves_order.c: Corrected a bug for castling pieces

2002-05-26  Pascal  <Pascal@localhost.localdomain>

	* src/screen.c:
	Added ScreenSetCursor in the initialisation to correct a problem where
	information was shown only on the second use of Natch.

2002-05-25  Pascal  <Pascal@localhost.localdomain>

	* src/explorat.c:
	Count a position only if the move ordering don't eliminate it

	* src/test_moves_order.c: Made huge improvements to the moves ordering

	* src/moves_order.c: Print castling move correctly

2002-05-07  Pascal  <Pascal@localhost.localdomain>

	* test/switchback_king.test: First revision

	* test/Makefile.am: Added switchback_king test

	* src/pcpjtool.c:
	First move of a king is no more shown as a castling if the destination
	is unknown.  In writeAssociation, if there is no message to show,
	don't add an empty new line.

	* src/pcpj.c:
	Kings are put in the table that may have to make a switchback

	* src/distimmo.c:
	In distance_raz_tableaux_si_immobile, also initialise Nombre_Pieces_Actuellement_Immobiles

2002-05-05  Pascal  <Pascal@localhost.localdomain>

	* src/twin_squares.c, src/twin_squares.h, src/distance.c:
	Twin squares are now also computed for pieces

	* test/Makefile.am: Added capturer_captured2

	* test/capturer_captured2.test: First revision

	* src/precise_trajectories.c:
	Precise pawn trajectories when they capture

	* src/pcpjcoup.c:
	Bug corrected : a piece is allowed to return to its last destination
	if the capture it must make there is already done.

2002-05-02  Pascal  <Pascal@localhost.localdomain>

	* src/moves_order.c: Printing ?? for CASE_ARRIVEE_QUELCONQUE

	* src/captInitSquare.c: Bugs correction

	* test/captured_must_switchback.test, test/capturer_captured.test, test/no_frolkin.test:
	First revision

	* test/Makefile.am: Added 3 test cases

2002-04-20  Pascal  <Pascal@localhost.localdomain>

	* src/captInitSquare.c:
	Deal with special cases if castling rook is captured without moving

	* src/moves_order.c:
	In initialisation, collapse First and Last for pawns not making a
	double step

	* test/Makefile.am: Added castling_rook_capture.test

	* test/castling_rook_capture.test: First revision

	* src/pcpjcoup.c:
	If a piece must capture at its next move, eliminate every other moves
	for it

	* src/screen.h, src/explorat.c, src/langues.c, src/langues.h, src/main.c, src/pcpj.c, src/pcpjcapt.c, src/pcpjtool.c, src/pcpjtool.h, src/screen.c:
	Added messages in the output file when the resolution is stopped by
	the user

	* src/captInitSquare.c: Don't make the test for the captured piece

	* test/Makefile.am: Added promotion.test

	* test/promotee_must_switchback.test, test/promotion.test:
	First revision

2002-03-29  Pascal  <Pascal@localhost.localdomain>

	* src/captInitSquare.c, src/captInitSquare.h: First version

2002-03-24  Pascal  <Pascal@localhost.localdomain>

	* configure.in: Version 2.1Alpha4

	* src/test_moves_order.c:
	In creation of list of used squares, eliminate CASE_ARRIVEE_QUELCONQUE

	* src/Makefile.am: Added files captInitSquare.c/h

	* src/pcpjcapt.c:
	Call to capturer_on_initial_square_must_switchback instead of trajet

	* test/Makefile.am: Added compilation of promotee_must_switchback.c/h

	* src/test_moves_order.c: Simplified a test for speed

	* src/trajet.c: Added prototypes for static functions

2002-03-10  Pascal  <Pascal@localhost.localdomain>

	* src/langues.c: Added copyright 2002

2002-03-09  Pascal  <Pascal@localhost.localdomain>

	* src/copyright.text: Copyright 2002

	* configure.in: Version 2.1Alpha3

	* test/long_rook_trajectory.test, test/pawn_column_switchback1.test, test/pawn_column_switchback2.test, test/pawn_column_switchback3.test, test/short_rook_trajectory.test, test/switchback_be_captured.test, test/switchback_capture.test, test/switchback_promotion1.test, test/switchback_promotion2.test, test/switchback_rook.test, test/watch_option.test, test/castling.test, test/double_en_passant.test, test/en_passant.test:
	Added --language=e option to be sure that the output is in english,
	due to the use of the LC_ALL variable by Natch

	* ChangeLog: *** empty log message ***

	* src/main.c, test/first.test, NEWS, NEWS_fr:
	Use of LC_ALL to define default language.  Possibility to overwrite
	values set in the NATCH environment variable on the command line
	without getting the message "... option given more than once"

	* src/cmdline.h, src/Natch.ggo, src/cmdline.c:
	Adapted to version 2.6 of gengetopt

	* src/Makefile.am: Adapted due to new automake

2002-03-09  Pascal Wassong  <pascal.wassong@free.fr>

	* src/main.c (getArguments): cmdline_parser called twice, for the
	NATCH variable and the command line arguments.
	Use LC_ALL variable to set the language (also corrected first.test
	to adapt to this change).

2001-12-29  Pascal Wassong  <pascal.wassong@free.fr>

	* src/hash.c (hashKey): Corrected another bug to test if a pawn
	promoted, following the correction from 28/10/2001.

2001-12-23  Pascal Wassong  <pascal.wassong@free.fr>

	* test/*.test, defs: Added copyright notice.  Added diagram in
	each file.

	* src/Makefile.am: Removed use of alloca.

	* converted a lot of files to unix style end of lines.
	
2001-12-16  Pascal Wassong  <pascal.wassong@free.fr>

	* txtc.sh.in: end of line converted to unix style.

	* src/explorat.c, src/hash.c: `ticks' variable becomes clock_t as
	the result of the clock() function.

2001-10-30  Pascal Wassong  <pascal.wassong@free.fr>

	* src/langues.h (enum): Suppressions of eStrBetaVersion.

2001-10-29  Pascal Wassong  <pascal.wassong@free.fr>

	* src/twin_squares.c (create_twin_squares): Corrected a bug :
	caseArrivee is not always up to date.

2001-10-28  Pascal Wassong  <pascal.wassong@free.fr>

	* src/hash.c (hashKey): Corrected a bug to test if a pawn promoted.

	* src/distance.h: added prototype of distance_create_table_for_squares

	* src/distance.c: transfered twin_square code to twin_square.c.
	Added possibility to compute distance tables only for squares
	given in argument.

	* src/Makefile.am: added files moves_order, precise_trajectories
	and twin_squares.

	* src/types.h: removes #define, only use enums.

2001-08-25  Pascal Wassong  <pascal.wassong@free.fr>

	* src/pcpj.c (roque): store castling as a normal move.

	* src/pcpjtool.c (getOneAssociation): adapted to new way to store
	castling.

	* src/trajet.c (update_trajectories_due_to_stationary_pieces):
	don't verify for a castling.

	* src/pcpjtool.c (writeAssociation): added an argument.

2001-07-23  Pascal Wassong  <pascal.wassong@free.fr>

	* src/trajet.c (pawn_trajectories_are_not_correct): remove test
	for promoted pawns captured by a pawn bloquing the promotion.
	This is now done by test_move_order part.

2001-07-17  Pascal Wassong  <pascal.wassong@free.fr>

	* src/moves_order.c (print_successors_list): improved printing.

2001-06-21  Pascal Wassong  <pascal.wassong@free.fr>

	* src/twin_squares.h: creation of the package, from sources
	extracted from distance.c

2001-06-18  Pascal Wassong  <pascal.wassong@free.fr>

	* src/test_moves_order.c: creation of the package.

	* src/moves_order.h: creation of the package.

2001-06-09  Pascal Wassong  <pascal.wassong@free.fr>

	* Version 2.0

2001-06-08  Pascal Wassong  <pascal.wassong@free.fr>

	* src/pcpjcapt.c (captureParQui): Correction of a bug if a pawn
	promotes with a capture and make another capture after that.

2001-05-20  Pascal Wassong  <pascal.wassong@free.fr>

	* src/distance.c (cree_case_couplee_sures_restantes): Correction
	of a bug : take the correct destination square.

	* src/pcpjcapt.c (captureParQui): Correction of a bug in the case c).

2001-05-14  Pascal Wassong  <pascal.wassong@free.fr>

	* src/reportbugs.text: Suppression of empty line so that the help
	fits in a DOS window.

2001-05-03  Pascal Wassong  <pascal.wassong@free.fr>

	* src/myHashTable.c (dhtDestroy): don't compute maximum chain
	length if not HASH_STAT.
	(hash_table_t): added is_free_list_fragmented to avoid
	initialisation of free_list linked list.

2001-04-30  Pascal Wassong  <pascal.wassong@free.fr>

	* src/trajet.c (trajet_traite_nouvelle_case_interdite): added the
	exploration_t datas structure to the parameters to do it's job.

	* src/pcpjcapt.c (captureParQui): modified the general case to
	avoid having position with negative spare moves.  This was due to
	the fact that we add the previous distance before calling
	distance_avec_obstacle.

	* src/pcpj.c (initialisation_association_restante): return FALSE
	if there are not enough moves.

2001-04-18  Pascal Wassong  <pascal.wassong@free.fr>

	* src/main.c (read_file): accept also uppercase `.chl' extensions.

2001-04-17  Pascal Wassong  <pascal.wassong@free.fr>

	* src/pcpjcapt.c (captureParQui): fixed the problem demonstrated
	in test pawn_switchback3.test : must use the index for a capture
	on the same column of the captured piece.

	* test/pawn_column_switchback3.test: created.

2001-04-16  Pascal Wassong  <pascal.wassong@free.fr>

	* src/main.c (read_file): if filename is given without extension,
	now also tries .chl after .txt.

	* configure.in: added --enable-chloe option to configure script.

	* Copyright years information completed.

	* test/defs: unset NATCH variable for the tests to avoid user
	defined values, like the language e.g.

	* src/pcpjcapt.c (captureParQui): fixed a problem where pawns
	capturing and returning on there columns could be found twice.

2001-04-15  Pascal Wassong  <pascal.wassong@free.fr>

	* src/pcpj.c (creeAssociationRecursive): fixed a bug by
	initialising castling field to NO_CASTLING when a pawn promotes.

2001-04-14  Pascal Wassong  <pascal.wassong@free.fr>

	* src/main.c (examine_arguments): added the --beep flag.

	* src/explorat.c: --verbose (-f) option made more verbose.
	(explorationCoups): translate output of verbose option in all 3
	languages.

	* src/main.h: renamed MainVerboseFlag in MainPrintPositionFlag.
	Renamed MainPrintCoupFlag in MainVerboseFlag.

	* src/screen.h (keyboardHit): replaced kbhit by the keyboardHit
	macro introducing a counter to test the keyboard 10.000 times less
	often.  This accelerates the resolution.

2001-04-13  Pascal Wassong  <pascal.wassong@free.fr>

	* test/*.test: use long name options in test scripts.

	* src/langues.h, langues.c: removed eStrVersion.
	screen.c, pcpjtool.c: replaced eStrVersion by PACKAGE and VERSION.

	* src/main.c (readChl): added word `Error' in all error messages.

	* src/myHashTable.c (myHash_remove_current_element): decrement
	current_index, when deleting first element for an index.

	* src/hash.c: count the number of positions in the hashtables for
	each game length, so that hashCompress can be done in one pass.
	Parameter is now memory size to use in Mb. Suppression of the
	include of prime numbers.

	* src/Natch.ggo: updated help about -t option.

	* src/myHashTable.c (dhtGetFirstElement): previous_element must be
	set to NULL to avoid core dump.  remove_current_element corrected
	by decrementing index if we remve the first element of a list.

	* src/langues.c (Strings): updated copyright years.

2001-04-12  Pascal Wassong  <pascal.wassong@free.fr>

	* src/hash.c (hashFree): corrected bugs if freeing empty hash
	tables when computing statistics.

2001-04-09  Pascal Wassong  <pascal.wassong@free.fr>

	* src/main.c (decode_watch_option): finished correct decoding.

	* src/hash.c (hashInit): corrected a bug where the minimum key
	length was 1 character to short.

2001-03-26  Pascal Wassong  <pascal.wassong@free.fr>

	* Copyright information updated in every file.

2001-03-18  Pascal Wassong  <pascal.wassong@free.fr>

	* src/main.c, distance.c, explorat.c, screen.c: used EXIT_FAILURE
	and EXIT_SUCCESS instead of 0 and 1.

	* src/myHashTable.c (dhtCreate): adapt the length of stored keys
	to minimum needed lenght.

2001-02-11  Pascal Wassong  <pascal.wassong@free.fr>

	* test/first.test: added source for the problem.

	* src/myHashTable.c: changed type name `dht' to `hash_table_t'.
	Number of elements in hash table may now be different from number
	of indexes.

2001-02-10  Pascal Wassong  <pascal.wassong@free.fr>

	* src/explorat.c (initialise_datas): use moving_piece_t to order
	pieces for hashKey purposes.

2001-02-05  Pascal Wassong  <pascal.wassong@free.fr>

	* src/Makefile.am (CFLAGS): changed default compilation options to
	-DNDEBUG -O3.

	* src/screen.c (screenInit, screenEnd): hide the cursor during
	resolution.

	* README, README_fr: update files.

	* test/first.test: suppression of -q option for grep.

2001-01-26  Pascal Wassong  <pascal.wassong@free.fr>

	* test/german.test, french.test: don't use non-portable -q and -E
	options of grep.  Use of `\{1,\}' instead of `+'.

	* Renamed some test files: switchback_be_captured.test,
	short_rook_trajectory.test, long_rook_trajectory.test.

	* test: All test files now have Unix-style line endings.

2001-01-25  Pascal Wassong  <pascal.wassong@free.fr>

	* src/expltype.h (enum): added eHas_Moved_Once to moving_piece_t.

	* boolean_t replaced by bool_t (which hopefully is defined on no
	system).

	* src/common.h: added to distribution.

	* test: replaced `grep -f' by multiple grep's to increase
	portability.

	* src/screen.c: inclusion of common.h before HAVE_LIBNCURSES.

	* src/explorat.c: declaration of JumpBuffer only done if
	HAVE_LIBNCURSES.

	* NO_VISUAL replaced by HAVE_LIBNCURSES.

2001-01-21  Pascal Wassong  <pascal.wassong@free.fr>

	* src/pcpjcoup.c (listeCoups): fixed bug by cancelling ep capture
	if king is in check.

2001-01-20  Pascal Wassong  <pascal.wassong@free.fr>

	* test/german.test, test/french.test: use a position where all
	kind of pieces are making moves.

	* src/explorat.c (initialise_datas): put king and rook having
	castled back to there true initial position.

	* src/explorat.c (exploRecursiveHash): stores hash_value so it
	doesn't need to be computed twice in hashTest and hashInsert.
	Modified those functiuns to have a hash_value argument.

	* src/myHashTable.c (myHash_hash_value): created from chessKey and
	made publicly available.

	* src/pcpjcoup.c (listeCoups): corrected bug for en passant
	capture (use of datas->pieces_types instead of Type_Pieces).
	Don't generate all moves anymore if we must capture en passant.
	(case_est_controlee_par_camp): use same movements tables as in
	listeCoups.

2001-01-18  Pascal Wassong  <pascal.wassong@free.fr>

	* test/german.test, french.test, en_passant.test: initial revision.

2001-01-16  Pascal Wassong  <pascal.wassong@free.fr>

	* test/first.test, test/defs, test/Makefile.am: initial revision.
	Updated configure.in and Makefile.in to include them.

	* src/hash.c (hashInit): don't put last 6 single-moves in
	hashtables only if total number of single move greater than 11.

2001-01-14  Pascal Wassong  <pascal.wassong@free.fr>

	* src/common.h: initial revision.

	* README, THANKS, ... : updated text.
