[Xastir] Memory fixes, plus special stuff not in the docs

Curt, WE7U archer at eskimo.com
Tue Jun 22 17:21:55 EDT 2004


CVS has a couple of good memory fixes in it.  I introduced one of
the memory leaks recently with the new tactical callsign code (sorry
about that, but I did fix it!).  The other bug had been in there a
very long time and had to do with forgetting to free status records.
Those are fixed in developer's CVS now.  Both leaks had to do with
expiring old stations.  Hopefully the changes are on the Anon CVS
server already too (up to five hour delay).

Also:  For those that might not have been on the list long, we have
some special #ifdef's here and there that are probably not well
documented (are they documented at all?).  I use the
SWAP_MOUSE_BUTTONS and FIXED_DIALOG_STARTUP ones for an LCD
touch-screen that I use.  I only have one mouse button that way so I
want it to be used for the right-click menu instead of for zooming.


main.c:

  // If next line uncommented, Xastir will use larger fonts nearly
  // everywhere, including menus and status bar.
  //
  //#define USE_LARGE_SYSTEM_FONT

  // Conversely, this will make the system font a bit smaller than
  // normal.  Only define one or zero of USE_LARGE_SYSTEM_FONT or
  // USE_SMALL_SYSTEM_FONT.
  //
  //#define USE_SMALL_SYSTEM_FONT

  // This one goes right along with the smaller system fonts on
  // fixed-size LCD screens.  Fix new dialogs to the upper left of the
  // main window, don't have them cycle through multiple possible
  // positions as each new dialog is drawn.
  //
  //#define FIXED_DIALOG_STARTUP

  // Yet another useful item:  Puts the mouse menu on button 1 instead
  // of button3.  Useful for one-button devices like touchscreens.
  //
  //#define SWAP_MOUSE_BUTTONS


  // If next line uncommented, Xastir will use a large font for the
  // station text in the drawing area.
  //#define USE_LARGE_STATION_FONT



Plus a few things were added for ATV identification:  One is the ID
that appears on the status line if you don't hear stations for a
while.  The other is set in the xastir.cnf file: ATV_SCREEN_ID.  If
that is set to a 1, then about every 9 or 9.5 minutes a large font
will be displayed across the screen identifying your station.
There's also SPEAK_ID which will cause Festival to speak the
callsign at the same time.

--
Curt, WE7U			         http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list