]> git.mxchange.org Git - flightgear.git/log
flightgear.git
18 years ago- unify several indentation and coding styles (and no, this is not my
mfranz [Fri, 19 May 2006 10:59:04 +0000 (10:59 +0000)]
- unify several indentation and coding styles (and no, this is not my
  preferred style, but the most sane of those used :-)
- remove trailing spaces
- cleanup

(all of this will make further work on the files easier)

18 years agoVivian MEAZZA:
mfranz [Thu, 18 May 2006 16:59:04 +0000 (16:59 +0000)]
Vivian MEAZZA:

"Add Air to Air TACAN and User-User refuelling over the Multiplayer Network.
With this change, your TACAN instrument can be tuned to the channel of a
Multiplayer ac. It also activates fuel flow between User and User aircraft
when they are less than 50 ft apart. To participate in multiplayer as a
tanker, all you require to do is to use the callsign MOBIL* (where * is some
number) on the net. Only MOBIL1, MOBIL2 and MOBIL3 have been assigned TACAN
channels, but any MOBIL callsign will be able to give fuel."

18 years agoshow attributes if /sim/gui/dialogs/property-browser/show-flags == true:
mfranz [Thu, 18 May 2006 14:46:42 +0000 (14:46 +0000)]
show attributes if /sim/gui/dialogs/property-browser/show-flags == true:

r ... read protected
w ... write protected (untested; does probably not work for obvious reasons ;-)
A ... archive
U ... userarchive
T ... tied

18 years agounselect entry after editing process has been finished
mfranz [Thu, 18 May 2006 13:09:34 +0000 (13:09 +0000)]
unselect entry after editing process has been finished

18 years agodon't reset list to top after having changed a value
mfranz [Thu, 18 May 2006 12:51:32 +0000 (12:51 +0000)]
don't reset list to top after having changed a value

18 years agoCtrl-Click on bool entry toggles property
mfranz [Thu, 18 May 2006 12:12:10 +0000 (12:12 +0000)]
Ctrl-Click on bool entry toggles property

18 years agoSDL 1.2.10 (released today!) doesn't report unicode on key release. Now
mfranz [Wed, 17 May 2006 21:21:38 +0000 (21:21 +0000)]
SDL 1.2.10 (released today!) doesn't report unicode on key release. Now
we have to ourselves which unicode code a key release even should fire.
(Tested with 1.2.9 and an 1.2.10. Please report any new keyboard problems.)

18 years ago- undefine PUCLASS_LIST, as we have our own (old_warning--)
mfranz [Tue, 16 May 2006 12:45:38 +0000 (12:45 +0000)]
- undefine PUCLASS_LIST, as we have our own (old_warning--)
- PropertyObject: remove additional "values" member again
- don't create entry lists for <list>, <select>, and <combo> at dialog
  creation and delete them on dialog close, but let a separate class
  fgValueList handle this. The three widgets are now subclassed and the
  derived widget lets fgValueList manage the lists
- make <select> consistent with <list>. This breaks backwards
  compatibility, but not a single dialog in fgfs uses it and did so
  since ... forever. (Shoot me!)

Rationale: now that dialogs are a bit more dynamic than they used to be
(thanks to embedded Nasal), we have to delete and recreate entry lists
during dialog use. Deleting only at dialog closing doesn't cut it anymore.
Especially list widgets that are updated several times per second would
use up a lot of memory otherwise. The route-manager doesn't update that
often, but it did already leak. One TODO less.  :-)

18 years agoVivian MEAZZA: check for carrier name and aircraft callsign without
mfranz [Mon, 15 May 2006 10:47:32 +0000 (10:47 +0000)]
Vivian MEAZZA: check for carrier name and aircraft callsign without
               creating them

18 years agolinking with the puaux lib would be recommendable, if we are using its
mfranz [Sun, 14 May 2006 12:22:53 +0000 (12:22 +0000)]
linking with the puaux lib would be recommendable, if we are using its
widgets  ;-)

18 years agofix data type (no wonder that this crashes on 64 bit systems :-)
mfranz [Sun, 14 May 2006 11:14:49 +0000 (11:14 +0000)]
fix data type (no wonder that this crashes on 64 bit systems :-)

18 years agoUse puAux widgets available in plib 1.8.4 instead of using pui deprecated widgets...
fredb [Sun, 14 May 2006 09:03:50 +0000 (09:03 +0000)]
Use puAux widgets available in plib 1.8.4 instead of using pui deprecated widgets now removed from CVS

18 years ago- remove trailing spaces
mfranz [Sat, 13 May 2006 10:02:17 +0000 (10:02 +0000)]
- remove trailing spaces
- fix ridiculous mixture of 2-space-, 3-space-, 4-space-, tab-indents,
  and ~K&R & (braindead) FSF coding style

18 years agoVivian MEAZZA:
mfranz [Sat, 13 May 2006 09:06:57 +0000 (09:06 +0000)]
Vivian MEAZZA:

"Preparations for an upgrade to Air-to-Air Refuelling to allow more than one
tanker in the environment at a time. This will only work with YASim models.
JSBSim models are unaffected by this change."

18 years ago- remove listener first in the destructor
mfranz [Fri, 12 May 2006 15:37:25 +0000 (15:37 +0000)]
- remove listener first in the destructor
- make function arg const again

18 years agoonly lock AP automatically if above /autopilot/route-manager/min-lock-altitude-agl-ft
mfranz [Fri, 12 May 2006 09:36:21 +0000 (09:36 +0000)]
only lock AP automatically if above /autopilot/route-manager/min-lock-altitude-agl-ft
The ufo sets this to a very low value, "serious" aircraft (which don't want this
unrealistic automatism at all) set it to a very high value, and those that don't
care ... don't need to care.

18 years agoonly activate heading & altitude lock when in air (and even then it should
mfranz [Thu, 11 May 2006 10:01:47 +0000 (10:01 +0000)]
only activate heading & altitude lock when in air (and even then it should
probably be configurable?).

18 years agoalso set new target altitude if wp is appended to empty list
mfranz [Wed, 10 May 2006 21:46:27 +0000 (21:46 +0000)]
also set new target altitude if wp is appended to empty list

18 years ago- set target altitude if a new WP becomes active through deleting/inserting
mfranz [Wed, 10 May 2006 09:40:08 +0000 (09:40 +0000)]
- set target altitude if a new WP becomes active through deleting/inserting
- cosmetics

18 years agoremove wrong comment; should be obvious, anyway
mfranz [Tue, 9 May 2006 21:08:01 +0000 (21:08 +0000)]
remove wrong comment; should be obvious, anyway

18 years ago- implement target altitude handling
mfranz [Tue, 9 May 2006 21:01:01 +0000 (21:01 +0000)]
- implement target altitude handling

18 years agoadd "signals" for start and end of screenshot capturing. Like the other
mfranz [Tue, 9 May 2006 09:39:28 +0000 (09:39 +0000)]
add "signals" for start and end of screenshot capturing. Like the other
signals, this is meant for attaching listeners. The ufo will use that to
hide/reveal the status line in screenshots. The following signal properties
are now available:

  /sim/signals/exit       ... set to 1 right before quitting
  /sim/signals/reinit     ... set to 1 on re-init  (Shift-Esc)
  /sim/signals/screenshot ... set to 1 before and to 0 after screenshot
  /sim/signals/click      ... set to 1 after mouse clicks at terrain, signalling
                              that the geo coords in /sim/input/click/ were updated

18 years agoremove obsolete menu functions
mfranz [Mon, 8 May 2006 15:00:10 +0000 (15:00 +0000)]
remove obsolete menu functions

18 years agoremove obsolete fgcommands
mfranz [Mon, 8 May 2006 14:56:46 +0000 (14:56 +0000)]
remove obsolete fgcommands

18 years agoignore spaces after the colon in "@insert 3: ebase"
mfranz [Mon, 8 May 2006 14:53:23 +0000 (14:53 +0000)]
ignore spaces after the colon in  "@insert 3: ebase"

18 years ago- move auto_gui's addWaypoint to routemgr.cxx
mfranz [Mon, 8 May 2006 14:35:29 +0000 (14:35 +0000)]
- move auto_gui's addWaypoint to routemgr.cxx
- add command interface property (monitored by listener)
- remove all traces of auto_gui.[ch]xx
- remove some trailing spaces, fix indentation

18 years agoDave Culp:
curt [Tue, 2 May 2006 01:19:02 +0000 (01:19 +0000)]
Dave Culp:

I've got some updates for the soaring scenario that will make for a more
realistic (and fun) experience.  They are:

1)  A cap cloud, which will sit atop each thermal
2)  A thermal scenario with wide coverage around KSFO, and using cap clouds
3)  A one-line change to AIThermal.cxx to position cap cloud properly
4)  Schweizer 2-33 set file change to match cloud coverage with thermal
heights.

files:

1)  data/Models/Geometry/thermalcap.ac
2)  data/Models/Geometry/thermalcap.xml
3)  data/Models/Geometry/thermal_cap.rgb

4)  data/AI/thermal_demo.xml

5)  data/Aircraft/sgs233/sgs233-set.xml

6)  source/src/AIModel/AIThermal.cxx
*** or, if you prefer diffs ***
7)  aimodel.diff

18 years agoAdd binary output support for the generic protocol.
ehofman [Sat, 29 Apr 2006 12:17:30 +0000 (12:17 +0000)]
Add binary output support for the generic protocol.

18 years agoAdd support for a binary output mode.
ehofman [Sat, 29 Apr 2006 11:15:44 +0000 (11:15 +0000)]
Add support for a binary output mode.

18 years agoadd an optional property node pointer to ObjectProperty. This is currently
mfranz [Fri, 28 Apr 2006 15:55:41 +0000 (15:55 +0000)]
add an optional property node pointer to ObjectProperty. This is currently
only used by the <list> widget. It allows to "dialog-update" the list,
which rescans the <value> children and redraws the list widget with new
contents. The old contents are only freed at dialog close, which should
eventually get changed.

18 years agoempty names aren't names
mfranz [Fri, 28 Apr 2006 12:56:11 +0000 (12:56 +0000)]
empty names aren't names

18 years agowhat about using the right variable?
mfranz [Fri, 28 Apr 2006 12:14:23 +0000 (12:14 +0000)]
what about using the right variable?

18 years ago- merge FGDialog::{update,apply}Value{,s} ... there's really no need to have
mfranz [Fri, 28 Apr 2006 11:49:11 +0000 (11:49 +0000)]
- merge FGDialog::{update,apply}Value{,s} ... there's really no need to have
  two almost identical functions for these methods. It only forces to repeat
  the redundancy for every small change to either.
- abstract out generation and destruction of plib string arrays
- abstract out generation of lists from <value> children

18 years agonewgui.[ch]xx: implement FGDialog *NewGUI::getDialog(cont string&)
mfranz [Fri, 28 Apr 2006 10:27:54 +0000 (10:27 +0000)]
newgui.[ch]xx:  implement  FGDialog *NewGUI::getDialog(cont string&)
fg_command.cxx: add possibility to "dialog-apply" or "dialog-update"
                an arbitrary active (= open) dialog or widget

18 years agorename NewGUI::getDialog() to NewGUI::getDialogProperties()
mfranz [Fri, 28 Apr 2006 09:59:31 +0000 (09:59 +0000)]
rename NewGUI::getDialog() to NewGUI::getDialogProperties()
getDialog wrongly implies that it returns an FGDialog, and we might later
need a real getDialog.

18 years agoexplain createModule()'s optional SGPropertyNode argument
mfranz [Thu, 27 Apr 2006 16:40:04 +0000 (16:40 +0000)]
explain createModule()'s optional SGPropertyNode argument

18 years agoadd optional SGPropertyNode* argument to NasalSys::createModule. This is
mfranz [Thu, 27 Apr 2006 15:56:51 +0000 (15:56 +0000)]
add optional SGPropertyNode* argument to NasalSys::createModule. This is
used in dialog.cxx to allow XML dialogs access to their own prop tree via
Nasal's cmdarg(). That way dialogs can generate dynamic content, such as
list entries.

18 years agouse guarded pointers
mfranz [Thu, 27 Apr 2006 15:49:47 +0000 (15:49 +0000)]
use guarded pointers

18 years agoworking on the termination of the last hardcoded dialogs in Autopilot/auto_gui.cxx:
mfranz [Thu, 27 Apr 2006 15:30:42 +0000 (15:30 +0000)]
working on the termination of the last hardcoded dialogs in Autopilot/auto_gui.cxx:

- move fg_init/parseWaypoints() to route_mgr/postinit()
- don't delete initial string list to keep it available for subsystem reinit

18 years agocosmetics:
mfranz [Thu, 27 Apr 2006 10:35:03 +0000 (10:35 +0000)]
cosmetics:
- only call globals->set_initial_waypoints() if the waypoints list address
  has actually changed, that is: if it has just been initialized
- remove trailing spaces
- fix indentation

18 years agoVivian MEAZZA:
mfranz [Wed, 26 Apr 2006 21:55:42 +0000 (21:55 +0000)]
Vivian MEAZZA:

"add display values for navigation display"

18 years agoset /sim/startup/[xy]size initially again. (This was always done in the past,
mfranz [Tue, 25 Apr 2006 20:16:01 +0000 (20:16 +0000)]
set /sim/startup/[xy]size initially again. (This was always done in the past,
but got changed so that Nasal listeners wouldn't be triggered needlessly.
Doesn't make sense, though, as Nasal will never be available before the
video size is set, and it prevents the window interface from setting the
startup size.)

18 years agoPigeons remaining 'crash on no sound device' fix.
frohlich [Tue, 25 Apr 2006 18:48:59 +0000 (18:48 +0000)]
Pigeons remaining 'crash on no sound device' fix.

18 years agoRevert a part of the past patch. It still does not crash
frohlich [Sun, 23 Apr 2006 18:44:22 +0000 (18:44 +0000)]
Revert a part of the past patch. It still does not crash
but you can hear again the 737 ...

18 years agoPigeon:
frohlich [Sun, 23 Apr 2006 15:29:39 +0000 (15:29 +0000)]
Pigeon:
Avoid crashes if there is no sound device.

18 years agoApply multiplayer crash on exit fix from Pigeon
frohlich [Sun, 23 Apr 2006 09:03:21 +0000 (09:03 +0000)]
Apply multiplayer crash on exit fix from Pigeon

18 years agoVivian MEAZZA:
mfranz [Wed, 19 Apr 2006 17:36:41 +0000 (17:36 +0000)]
Vivian MEAZZA:

"Add Air to Air TACAN. With this facility TACAN equipped aircraft can
measure the range and bearing of TACAN equipped AI Aircraft. ATM there is
only one assigned - callsign ESSO1 on TACAN channel 039X, but this can be
easily expanded to include other c/s channel # pairs - just ask me if you
want more."

18 years agoRestore line endings after goofing
fredb [Tue, 18 Apr 2006 21:39:59 +0000 (21:39 +0000)]
Restore line endings after goofing

18 years agoIf it's a struct, it's not a class
fredb [Tue, 18 Apr 2006 21:24:38 +0000 (21:24 +0000)]
If it's a struct, it's not a class

18 years ago- work around plib bug that crashes fgfs if no airport was found (empty
mfranz [Tue, 18 Apr 2006 15:21:19 +0000 (15:21 +0000)]
- work around plib bug that crashes fgfs if no airport was found (empty
  list) and the arrows are clicked  (patch sent to plib; workaround it to
  be removed once fgfs officially depends on a plib version that includes
  the fix)
- fix (very unlikely) crash in case the widget is redrawn between list
  destruction and setting of the new list.

18 years ago- make header not depend on *.cxx files (which would be wrong :-P )
mfranz [Mon, 17 Apr 2006 17:17:21 +0000 (17:17 +0000)]
- make header not depend on *.cxx files (which would be wrong :-P )

18 years ago- use guarded property pointers
mfranz [Mon, 17 Apr 2006 17:08:58 +0000 (17:08 +0000)]
- use guarded property pointers
- reduce header usage
- make headers not depend on *.cxx files

18 years agomake headers include headers they depend on, don't rely on the c(xx)
mfranz [Mon, 17 Apr 2006 13:40:20 +0000 (13:40 +0000)]
make headers include headers they depend on, don't rely on the c(xx)
file to do that. (This is a requirement for header precompiling.)

18 years agomake headers include headers they depend on, don't rely on the c(xx)
mfranz [Mon, 17 Apr 2006 13:19:53 +0000 (13:19 +0000)]
make headers include headers they depend on, don't rely on the c(xx)
file to do that. (This is a requirement for header precompiling.)

18 years agomake headers include headers they depend on, don't rely on the c(xx)
mfranz [Mon, 17 Apr 2006 12:59:35 +0000 (12:59 +0000)]
make headers include headers they depend on, don't rely on the c(xx)
file to do that. (This is a requirement for header precompiling.)

18 years agoaircraft are often in several state lists at the same time, and they can
mfranz [Sat, 15 Apr 2006 18:48:59 +0000 (18:48 +0000)]
aircraft are often in several state lists at the same time, and they can
even be more than once in the same list. We need to remove all such instances,
or the a pointer to TowerPlaneRec may become invalid and cause crashes.

The proper fix would, of course, be to be careful with state changes and
to prevent *any* duplication of entries.   [OK'ed by David]

18 years agorename OBJECT_TAXI_SIGN to OBJECT_SIGN. This isn't about taxi signs any
mfranz [Fri, 14 Apr 2006 14:50:11 +0000 (14:50 +0000)]
rename OBJECT_TAXI_SIGN to OBJECT_SIGN. This isn't about taxi signs any
more, but all sorts of signs. Now is the best time to get rid of a
misleading name.

18 years agoallow to not only set a general widget <color>, but also specific element
mfranz [Fri, 14 Apr 2006 10:17:09 +0000 (10:17 +0000)]
allow to not only set a general widget <color>, but also specific element
colors:  <color-{{back,fore}ground,highlight,label,legend,misc,editfield}>
<input-misc>, for example, sets the input field cursor color, <input-legend>
the input field text color. (This feature was always planned as part of the
'theming' capabilities, and most code is already in place. Only this line
was apparently fogotten. :-)

18 years agodefer occluder registration until the shadows subsytem is initialized.
mfranz [Wed, 12 Apr 2006 22:21:02 +0000 (22:21 +0000)]
defer occluder registration until the shadows subsytem is initialized.
That way models that are loaded early during startup get their shadows, too.

18 years agoonly call occluder if the shadows were already initialized. This lead to
mfranz [Wed, 12 Apr 2006 11:12:36 +0000 (11:12 +0000)]
only call occluder if the shadows were already initialized. This lead to
a crash when using the model manager from XML files (which apparently
nobody does, anyway ;-)  Now those models work (again), but have no
shadows. Those placed at runtime (e.g. via ufo) still have a shadow.

18 years agoMake some variables accessable (public) so MIPSpro can compile it.
ehofman [Sun, 9 Apr 2006 09:46:05 +0000 (09:46 +0000)]
Make some variables accessable (public) so MIPSpro can compile it.

18 years agoPigeon : save about 110Mb when the UIUC FDM is not used
fredb [Sun, 9 Apr 2006 09:22:15 +0000 (09:22 +0000)]
Pigeon : save about 110Mb when the UIUC FDM is not used

18 years agoUpdates for v0.9.10
curt [Wed, 5 Apr 2006 19:52:52 +0000 (19:52 +0000)]
Updates for v0.9.10

18 years ago<input> elements that are <live> always update their input field from the
mfranz [Mon, 3 Apr 2006 15:00:33 +0000 (15:00 +0000)]
<input> elements that are <live> always update their input field from the
<property>, except if they are activated, in which case the user input
should, of course, not get overwritten. But if such an input was active and
the user selected a different widget, then its contents were dropped.
Fix that by setting the "DownCallback" for live input fields.

18 years agoRevert last change
fredb [Sun, 2 Apr 2006 08:42:36 +0000 (08:42 +0000)]
Revert last change

18 years agoCorrect a typo
fredb [Sun, 2 Apr 2006 08:29:14 +0000 (08:29 +0000)]
Correct a typo

18 years agoUnder Windows, set fg-home to My Documents, or whatever localized name this folder...
fredb [Sat, 1 Apr 2006 11:07:45 +0000 (11:07 +0000)]
Under Windows, set fg-home to My Documents, or whatever localized name this folder has.

18 years agoModified Files:
frohlich [Sat, 1 Apr 2006 10:50:52 +0000 (10:50 +0000)]
Modified Files:
src/Main/renderer.cxx: Remove some more unused variables

18 years ago- use proper error output method
mfranz [Fri, 31 Mar 2006 16:56:14 +0000 (16:56 +0000)]
- use proper error output method
- warnings--

18 years agosupport filtering to show only a subset of entries
mfranz [Fri, 31 Mar 2006 10:17:43 +0000 (10:17 +0000)]
support filtering to show only a subset of entries

18 years agodialog-apply only applies (use dialog-update if you want to update)
mfranz [Fri, 31 Mar 2006 10:15:55 +0000 (10:15 +0000)]
dialog-apply only applies (use dialog-update if you want to update)

18 years ago- reduce timeout
mfranz [Fri, 31 Mar 2006 10:12:00 +0000 (10:12 +0000)]
- reduce timeout
- stop trying to connect after first failed attempt

18 years agoDon't restore initial screen geometry because there is nothing in fg_os* to resize...
fredb [Thu, 30 Mar 2006 20:37:34 +0000 (20:37 +0000)]
Don't restore initial screen geometry because there is nothing in fg_os* to resize an existing window.
Old behavior was to just resize the GL viewport, which doesn't necessarily match the fg window size.

18 years agoadd shadows to FGModelMgr managed models
mfranz [Thu, 30 Mar 2006 14:34:16 +0000 (14:34 +0000)]
add shadows to FGModelMgr managed models

18 years agoFix for an AIFlightPlan initialization problem in the traffic manager.
durk [Wed, 29 Mar 2006 18:36:21 +0000 (18:36 +0000)]
Fix for an AIFlightPlan initialization problem in the traffic manager.

18 years agoMarc Frajola:
curt [Tue, 28 Mar 2006 21:18:32 +0000 (21:18 +0000)]
Marc Frajola:

Here is one patch that to make FlightGear run without floating point
exceptions on FreeBSD.  Apparently, if we do not ignore floating point
exceptions per this patch, there is some occasional condition where the
nvidia driver is involved in delivering spurious floating point exceptions
to the fgfs process, causing it to core-dump occasionally without the patch.

With only this patch, FlightGear will compile and run properly on
FreeBSD 6.X as long as the nvidia accelerated driver is installed,
modulo proper switches to the SimGear and FlightGear configure script
executions.

Again, kudos to your team for the great work on the big release
push; it is super to see things come together like this!

18 years agoFix for a misplaced boolean assignment that caused erratic runway selection.
durk [Tue, 28 Mar 2006 06:14:02 +0000 (06:14 +0000)]
Fix for a misplaced boolean assignment that caused erratic runway selection.

18 years agoUpdateds for v0.9.10-pre3
curt [Mon, 27 Mar 2006 19:47:48 +0000 (19:47 +0000)]
Updateds for v0.9.10-pre3

18 years agoJust commenting out a few error print statements, which I had overlooked.
durk [Sun, 26 Mar 2006 21:42:47 +0000 (21:42 +0000)]
Just commenting out a few error print statements, which I had overlooked.

18 years agoBugfix in the ai initialization randomization procedure. Randomly
durk [Sun, 26 Mar 2006 21:40:35 +0000 (21:40 +0000)]
Bugfix in the ai initialization randomization procedure. Randomly
removing waypoints could cause the AIFlightPlan to run out of waypoints.
This patch prevents that by retaining at least two waypoints.

18 years agoever heard of SG_LOG?
mfranz [Sun, 26 Mar 2006 08:11:40 +0000 (08:11 +0000)]
ever heard of SG_LOG?

18 years agoRemove unused variables
frohlich [Sat, 25 Mar 2006 19:11:33 +0000 (19:11 +0000)]
Remove unused variables

18 years agoMake the bo105 appear correct for multiplayers.
frohlich [Sat, 25 Mar 2006 19:10:32 +0000 (19:10 +0000)]
Make the bo105 appear correct for multiplayers.

18 years ago- don't crash if user clicked "Apply" but hasn't selected an airport
mfranz [Sat, 25 Mar 2006 08:47:53 +0000 (08:47 +0000)]
- don't crash if user clicked "Apply" but hasn't selected an airport
- re-order information from  "LOXT  Tulln"  to  "Tulln  (LOXT)".
  The list is sorted by airport name and columns aren't aligned, so this
  looks way cleaner.

18 years ago- make aircraft list no longer stick out from its dialog box
mfranz [Sat, 25 Mar 2006 07:45:50 +0000 (07:45 +0000)]
- make aircraft list no longer stick out from its dialog box
- cosmetics: consistent coding style (and "if" is not a function :-)

18 years agoInitial revision.
curt [Fri, 24 Mar 2006 19:11:08 +0000 (19:11 +0000)]
Initial revision.

18 years ago- set size, otherwise the widget doesn't expand to the size that the layouter
mfranz [Thu, 23 Mar 2006 23:02:48 +0000 (23:02 +0000)]
- set size, otherwise the widget doesn't expand to the size that the layouter
  found desirable
- set slider width default correctly (parentHeight? Huh?)

18 years ago- implement setSize(): We can't just use puObject::setSize() -- we do, of
mfranz [Thu, 23 Mar 2006 23:00:31 +0000 (23:00 +0000)]
- implement setSize(): We can't just use puObject::setSize() -- we do, of
  course, have to re-layout all sub-widgets on resizing
- make slider size configurable, like it's done for the close relative
  puLargeInput

18 years agoAdditional fixes for new DME type codes.
curt [Thu, 23 Mar 2006 21:42:25 +0000 (21:42 +0000)]
Additional fixes for new DME type codes.

18 years ago- abstract out box slider width (should probably be settable)
mfranz [Thu, 23 Mar 2006 19:51:38 +0000 (19:51 +0000)]
- abstract out box slider width (should probably be settable)
- reduce it to 20 (30 is excessive and didn't match the property brower look)
- call puSlider with this size explicitly (otherwise its size is derived
  from the font size, unlike the arrow buttons!)

18 years agomake puList actually useful: call back on list entry selection.
mfranz [Thu, 23 Mar 2006 19:03:31 +0000 (19:03 +0000)]
make puList actually useful: call back on list entry selection.
(again: I'll submit all the changes to plib's puaList as soon as
possibe. Just needs a few more fixes first ... :-)

18 years agomake puListBox inherit puList colors (otherwise the GUI style isn't
mfranz [Thu, 23 Mar 2006 17:44:10 +0000 (17:44 +0000)]
make puListBox inherit puList colors (otherwise the GUI style isn't
respected, and black text on dark grey is a bit hard to read).
TODO: - submit that for inclusion in plib's puAuxList
      - drop custom version and use plib's (after 0.9.10)

18 years agoPreparations for v0.9.10-pre2 release.
curt [Thu, 23 Mar 2006 17:01:21 +0000 (17:01 +0000)]
Preparations for v0.9.10-pre2 release.

18 years agoVassilii KHACHATUROV: read rain settings from property node (preferences.xml)
mfranz [Thu, 23 Mar 2006 16:48:45 +0000 (16:48 +0000)]
Vassilii KHACHATUROV: read rain settings from property node (preferences.xml)

18 years agomake sure node pointers remain valid
mfranz [Thu, 23 Mar 2006 15:13:19 +0000 (15:13 +0000)]
make sure node pointers remain valid

18 years agoRemove COPYING (License file) from .cvsingore and add to the repository.
curt [Thu, 23 Mar 2006 13:02:51 +0000 (13:02 +0000)]
Remove COPYING (License file) from .cvsingore and add to the repository.

18 years agodon't crash if model contains personality branch (sgLoad3DModel doesn't
mfranz [Wed, 22 Mar 2006 13:46:10 +0000 (13:46 +0000)]
don't crash if model contains personality branch (sgLoad3DModel doesn't
care for that -- SGModelLib::load_model does)

18 years agoJon Berndt:
ehofman [Wed, 22 Mar 2006 13:32:32 +0000 (13:32 +0000)]
Jon Berndt:

I had inadvertently terminated a data line when reaching a tab character after
initial data was supplied. I tested the lightning file and it now appears to
read in correctly.

18 years agopuList.cxx: _list_box->getIntegerValue() returns -1 as long as no list
mfranz [Wed, 22 Mar 2006 10:56:49 +0000 (10:56 +0000)]
puList.cxx: _list_box->getIntegerValue() returns -1 as long as no list
  entry was selected. Return 0 in this case, not an invalid string address
  (causing segfaults).
dialogs.cxx: don't set property if no list entry was chosen.

18 years agoThis innocuous looking typo was crashing the sim whenever an AI plane was asked to...
daveluff [Tue, 21 Mar 2006 23:33:54 +0000 (23:33 +0000)]
This innocuous looking typo was crashing the sim whenever an AI plane was asked to follow the user whilst the user was flying a circuit (non straight-in) approach