Tue Aug 25 05:59:05 1998  Gene McCulley  <mcculley@wheat.cuspy.com>

	* mc68k/memory.c, open_app.c, open_app.h, xcopilot.c, main.c:
 	fixes for Solaris

	* display.c: add icon support

	* display.c: break window into little widgets to make
 	modifications easier

Mon Aug 24 21:19:39 1998  Gene McCulley  <mcculley@wheat.cuspy.com>

	* main.c, main.h, mc68k/shared.h, mc68k/sysdeps.h, xcopilot.c,
 	display.c, display.h: doing a lot more in Xt

Sat Aug 22 18:39:56 1998  Gene McCulley  <mcculley@wheat.cuspy.com>

	* Makefile.am: took out Debian target stuff that shouldn't have
 	been there
	
	* ChangeLog: trying to get ChangeLog to play nicely with Emacs

	* mc68k/memory.c: reuse old mapping to avoid trouble getting new
 	mapping on platforms without MAP_ANON

	* main.c, xcopilot.c: do tilde expansion

	* Makefile.am, open_app.c, open_app.h, xcopilot.c: added
 	open_app.[ch] for compatibility with older X libs

1998-08-21  Gene McCulley  <mcculley@wheat.cuspy.com>

	* README: Added this ChangeLog file and moved the release history
 	section of the README to it to be compliant with automake.

	* Makefile.in: Converted Makefiles to automake.

	* Makefile.am: Integrated Debian build rules into main source
 	tree.

Version 0.6.5 changes:

* First steps toward reunification with UAE core and using threads from Max
  Okumoto <okumoto@ucsd.edu>.

* Bail out and give an error diagnostic if we have too low a version of Xpm.

* Fixes so that we may load debug ROMS from Anders Hammarquist
  <iko@iko.pp.se>.  A new option, '-nocheck' exists to inhibit the entrypoint
  checking so that other types of ROMs may be used (e.g. Linux!).

* We now do all option parsing using Xt.  This is the first step in the
  process of doing more stuff in Xt.  We no longer have the XCOPILOT*
  environment variables.  We have only XCOPILOTARGS, which contains a string
  of command line options.  This will unfortunately cause people pain on
  upgrade, but makes it easier to add options in the future.

Version 0.6.4 changes:

* Fancy new case supplied by Jon Abbott <muaddib@magicnet.net>.

* Fix for "About" popup race condition on SunOS from Bill Janssen
  <janssen@parc.xerox.com>.

* Lots of good stuff from Brandon Long <blong@fiction.net>:

  * A manpage derived from newly created SGML documentation.

  * A distclean target in the Makefiles.

  * A configure flag to disable XShm completely.

  * A command-line flag to reset the .ram file.

* Fix for case where power was switched off before Quit button hit from Felix
  Croes <felix@simplex.nl>.  In this case, all processes except the CPU
  process would exit.

* Fix for Sparc GUI slowness from Brandon Long <blong@fiction.net>.

Version 0.6.3 changes (from Ian Goldberg <iang@cs.berkeley.edu>):

* Various fixes for Palm III ROM:
  o gdb debugging
  o Load database...
  o -ramsize 2048 works

* New command-line option: "-memversion vers".  vers should be 1 if you
  are using a ROM <= version 2.x, and it should be 2 for version 3.x.
  The default value is 1, unless overridden by the new XCOPILOTMEMVERSION
  environment variable.

Version 0.6.2 changes:

* Merged Ian Goldberg's patches for Palm III ROM compatibility.

* Can now use a private colormap.

Version 0.6.1 changes:

* Fixed a bug in 2-bit mode while running with pixel doubling on a 16-bit X
  display.

* Goodbye pixel doubling.  Hello arbitrary pixel magnification.

* Added simple dirty rectangle optimization to LCD udpate code.  This
  makes the update a little smoother when using XShm and a lot
  smoother otherwise.

* Fix Makefiles to use ranlib again.  This was accidentally knocked out
  during the autoconfiscation.  Thanks to Dave Glowacki <dglo@SSEC.WISC.EDU>
  for reporting this.

* Autoconf now picks the install program to use.  Thanks to Dave Glowacki for
  pointing this one out too.

* Now minimally requests and handles Expose events.

* Doesn't give an error message when user specifies -noxshm.

* Fixes small signed char bug on AIX 4.1.  Thanks to Peter Trommler
  <trp@zurich.ibm.com> for pointing this out.

* --prefix now works with configure.  Dave Glowacki pointed this one out.

* On HP-UX, it appears that the attached shared memory segments are inherited
  over fork.  This caused errors for the children who were trying to
  attach to the segment that was already attached.  Now we drop the
  segment before forking off the children and reattach it afterward.
  Dave Glowacki provided clues here.

* Now checks for sys/select.h.  Thanks to Peter Trommler for pointing this
  out.

Version 0.6 changes:

* XCopilot now uses Autoconf for trouble free portability to many
Unixoid systems.

* Now gets explicitly sized types so that it can work on 64-bit
platforms.  Go Alpha!

* Replaced the strsep function with the one from glibc as the old one
had a small bug with regard to the beginning of the string being a
delimiter.

* Fixed a few small bugs that prevented compilation with the native
compiler under Digital Unix, Irix, and Solaris.

Version 0.5.2 changes:

* Makefile is more clear about where icons go.

Version 0.5.1 changes:

* ramsize can be set on the command line.

Version 0.5 changes:

* Now defaults to reading and writing files in ~/.xcopilot.  Can still
  be forced to use other directories and filenames with the
  environment variables.

Version 0.4-iang8 changes:

o The serial port and gdb interfaces have been totally rewritten, so as to be
  _much_ faster.  It is now possible to use pilot-xfer to talk to xcopilot
  over the virtual serial port.  This means you can upload large (>64K)
  programs or databases to xcopilot at speeds higher than 10 characters/sec.
  Running PPP programs on xcopilot is no longer painfully slow.
o Changing the serial port's baud rate now actually works, for most baud rates,
  as do settings for 7/8 bit chars, 1/2 stop bits, E/N/O parity.
o Files ending in .PRC and .PDB (in caps) are now also displayed in the
  "Load Database..." menu.
o Loading files with spaces in their names now works (bug pointed out by
  Diego Zamboni <zamboni@cs.purdue.edu>).

Version 0.4-iang7 changes:

o xcopilot now (finally) supports bus errors: writes to database memory or ROM,
   or misaligned memory accesses will report a bus error (just like the real
   Pilot would); this should be the last major difference in behaviour between 
   xcopilot and the real hardware.  These changes were merged in from the
   sources to the original Copilot.

Version 0.4-iang6a changes:

o Bug fixes: power off/on now redisplays properly, menus go away when they're
   supposed to, window manager "Delete Window" should now work

Version 0.4-iang6 changes:

o XCOPILOTRAM variable is a filename instead of a toggle (from Brian Grossman)
o fixed pixeldoubling colors (from Brian Grossman)
o Smarter screen updates (from Christopher Chan-Nui)
o Added support for gdb debugging for a Palm Pilot Personal ROM
o Trap window closes from the window manager, and shut down cleanly
   (from Eric Howe)
o Alternate icon: icon2.xpm (from Eric Howe)
o File/path environment variable changes (based on a patch from Eric Howe):
   
   File           Default name       Env. var. to override
   -------------------------------------------------------
   ROM file       pilot.rom          XCOPILOTROM
   RAM file       pilot.ram          XCOPILOTRAM
   scratch file   pilot.scratch      XCOPILOTSCRATCH
   log file       xcopilot.log       XCOPILOTLOG

   In addition, if the variable XCOPILOTDIR is set, and any of the above
   variables are _relative_ paths (not starting with '/'), they are taken
   relative to the $XCOPILOTDIR directory.  Note especially that there is
   no longer a number in the RAM file name.

Version 0.4-iang5 changes:

o Added shaped screen and a more realistic background colur (from Chris Bare)
o Automatic determination of whether to use X shared mem (from Chris Bare)
o The display should now look correct on big-endian machines
   (from Brandon Long)
o New options: -bg color (background color), -bbg color (backlight color)
o Added support for gdb debugging via TCP (from Jeff Dionne)
   To use this, pick a port number (say 5432).  Invoke xcopilot as
   (note the colon):

   xcopilot -gdebug :5432

   From m68k-palmos-coff-gdb, do "target pilot hostname:5432", where hostname
   is the name of the machine on which xcopilot is running (usually
   "localhost", but it could be something else).

Version 0.4-iang4 changes:

o Support for pixel doubling (from Brian Grossman <brian@SoftHome.net>)
   Use the -double option for a big xcopilot.
o Solaris/AIX portability in libmx (from Brandon Long <blong@uiuc.edu>)
o Backlight emulation (from Kenneth Albanowski <kjahds@kjahds.com>)
o "Load app.." renamed to "Load file.."
o New menu option "Load database.." which is the same as "Load file.."
   except that it only shows .prc, .pdb, and directory files in the list
o Support for sending serial I/O to a pty (-serial option)
   Now, in one window, you can do

   xcopilot -gdebug -serial

   Note that -gdebug defaults to /dev/ptyqf, and -serial defaults
   to /dev/ptyqe.  In a second window, do

   /usr/sbin/pppd /dev/ttyqe 38400 crtscts -detach local passive \
      10.0.0.1:10.0.0.2

   You can use other local:remote IP address pairs if you want.  In fact,
   if your kernel does automatic packet forwarding and you're on a broadcast
   subnet (like most ethernets), make the first address your machine's real
   IP address, and make the second an unused address on its subnet.  Then
   your simulated Pilot will be able to speak TCP/IP to the real world.
   Don't forget to set the phone number to dial to "00" on the simulator,
   and make sure to give it a valid DNS address.  It is rumored that
   the -serial option gives error messages on Solaris (ioctl() returns ENOTTY).

   If you like, in a third window, run m68k-palmos-coff-gdb and attach
   to /dev/ttyqf.  In this way, you can debug TCP/IP apps.

Version 0.4-iang3 changes:

o Support for greyscale and hardware panning
   Apps that use the 2-bit mode should now work.  I've tested it using my
   "mapview" greyscale and panning demo.

Version 0.4-iang2 changes:

o Support for debugging programs with gdb
   To use it, run

   xcopilot -gdebug /dev/ptyqf

   You can, of course, choose a different pty.  You can also just say

   xcopilot -gdebug

   to default to ptyqf.  Then, from gdb, do

   (gdb) target remote /dev/ttyqf

   Note that here you use ttyqf, not ptyqf.  This support should not interfere
   with the virtual serial port, so you can debug programs that use the
   serial port by invoking xcopilot with

   xcopilot -gdebug <> /dev/cua0

   for example.  Try _that_ with a real Pilot!

   NOTE: in order to get the above to work, I needed to know where the debugger
   lived in ROM.  I figured it out for the old Pilot and the Palm Pilot Pro,
   but I don't have access to a Palm Pilot Personal ROM image, so you won't
   be able to use this feature with that ROM (yet).
o Support for multiple RAM files
   Set the environment variable XCOPILOTRAM to the name of your RAM image.
   If it contains a "%d", it will be substituted with the size of the RAM
   (currently 1024).
o Added SO_REUSEADDR to the old (TCP-based) debugging interface.

Version v0.4-iang changes:

o Support for Palm Pilot Pro added
   To use it, set the environment variable XCOPILOTROM to point to your
   (1MB) Palm Pilot ROM (not included).  Alternately, if you never want
   to simulate an old Pilot, just name the new ROM "pilot.rom".
o Logging of flow traces
   From the debug prompt ("xcopilot -debug"), "log on" and "log off" will
   toggle logging of major changes in the PC (program counter).  This will
   catch function calls, traps, and returns, but not conditional branches.
o Improved sound support
   Instead of just beeping, the correct frequency/duration/amplitude is used.
o Parameter changes
   The default RAM size is now 1024K, the scratch space is 64K, and
   the time between screen updates is 1/20 second.

Version 0.4 changes:

  * support for BIG endian machines

  * support for 16bpp displays (only on little endian machines, although it
    will be easy for someone with a big endian 16bpp machine to add that).

  * menu user interface allows loading of .prc files without the debugger

  * keyboard input

  * working serial port

  * debug via a socket
