bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] Re: Importing "pdb" format


From: Joseph Heled
Subject: [Bug-gnubg] Re: Importing "pdb" format
Date: Fri, 04 Jul 2003 14:25:20 +1200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624



Gabi at HotPOP wrote:
Hi Joseph,

I'll be glad to contribute, but I will need your help.  Please let me know
how to do it.
I'm an experienced C and C++ programmer, but unfortunately, my experience is
on command-line Unix, and I only have a Windows PC now.  Do you have any
decent development environment?  (Editor with menu commands to compile and
such, plus a decent debugger).


You have a head start then. Why not install Linux on your PC? If you insist using windows, which is IMO a dog to develop on, there is Emacs and GDB for windows. Just Goggle around.


The task is divided into the following subtasks:



1) Change the menu to include just an "Import" command, instead of the
current submenus.

Have a look at the existing code. You can create those things easily by Cut'N'Paste. Don't remove any existing commands, definitely not at the start. Why not add a submenus entry (say "Auto" or something). I favor keeping the exiting commands, because it gives more power to the user, and an option if the automatic detection misses.

-Joseph

2) Change the "import" procedure so that it automatically recognizes the
format.



Please tell me how to do (1) and I will do (2).

After testing it, I will also need how to check-in the modified files.



Thank you,

Gabi Shahar.





----- Original Message -----
From: "Joseph Heled" <address@hidden>
To: "Gabi at HotPOP" <address@hidden>
Cc: "GNU Backgammon Bugs" <address@hidden>
Sent: Thursday, 3 July 2003 10:49
Subject: Re: [Bug-gnubg] Importing "pdb" format




Gabi at HotPOP wrote:

The following site has several interesting positions is a proprietary

format:



http://www.bgblitz.com/download.html



I would like to import these files into gnubg.



1) Can someone add this "pdb" format to the supported formats that can be

imported?  I don't know yet how to do it myself :-(



2) I tried to use existing formats to import these files, and found the

following problems:

2.1) When I specified "BKG Session", the import didn't succeed, but NO

MESSAGE WAS SHOWN, as if it was fine.  This is a bug.

2.2) Other formats failed as well (as expected), but each showed a

different error message.  I would expect some consistency hereā€¦



3) It would be nice if gnubg could automatically recognize the format of

each imported file.  I imported files from several places and in several
formats, and I don't always remember which file is in which format.  This
automatic format recognition seems to me an easy task.



Good. So (3) can be your first task. That is what free software is all
about.

-Joseph


Thank you,

Gabi Shahar.







------------------------------------------------------------------------

_______________________________________________
Bug-gnubg mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-gnubg










reply via email to

[Prev in Thread] Current Thread [Next in Thread]