mfranz
57b8debf7e
- Dialog: add optional third arg: dialog name (by default taken from the
...
dialog's <name> entry)
- FileSelctor: new class derived from Dialog. It clones the file-select
dialog and reports chosen files/dirs via callback function.
2007-06-14 23:19:43 +00:00
mfranz
7518aa645b
- dialog-close for the original (non-cloned) dialog instance
...
- simplify close() function for cloned instances (ignore errors via call())
2007-06-14 23:09:01 +00:00
mfranz
e3936992d5
- don't choke on dirs for which we don't have permission
...
- don't delete input field on dir changes
- wider OK button (meant for defining the purpose of the file selection)
2007-06-14 15:27:49 +00:00
mfranz
183672f8a2
- don't prepend slash on relative paths or archaic paths with drive letters
...
- documentation updates
2007-06-14 11:26:16 +00:00
mfranz
8e4209c5cb
first stab at file-select dialog. Initial target dir can be set in
...
/sim/gui/dialogs/file-select/directory, the selected file's full path
is returned in /sim/gui/dialogs/file-select/directory. There will be
a gui.file_selector class that allows to have more than one of these
dialogs open, where each of them reports the result to a callback function.
The dialog toggles dotfile display with ctrl-click on the "." entry,
and switches to FG_ROOT and FG_HOME with ctrl-click and shift-click on
the ".." entry.
This dialog is ATM not used anywhere in fgfs, but might be needed by
add-ons, much like the xml.nas code. Note that backslashes are converted
to slashes, which should ensure that no characters can be sneaked in
on UNIX systems. This breaks files containing escaped characters on
MS Windows. Fix for that on request. :-) Special characters (like German
umlauts) aren't displayed correctly, but properly returned. (Depending
on the plib font.)
2007-06-13 21:20:04 +00:00
mfranz
a41ba9f403
suppress output ...
...
- in replay mode
- when trying to raise the flaps, but they are already fullly up
- when trying to retrace the gear, but it is already retracted
more cleanup later ... much later :-)
2007-06-13 20:49:11 +00:00
mfranz
0fed31d7b7
- fixpath: don't need to remove leading/trailing slashes "manually"; that's
...
a side effect of the stack loop already
- replace all backslashes by slashes, to avoid security problems on UNIX
(if support for them is desirable on MS Windows, then we'd need an OS
property)
2007-06-13 20:31:09 +00:00
mfranz
120d09b5e6
Andy ROSS: functions to check for stat()[2] flags, such as isdir()
...
mf: fixpath(): function to normalize file paths (doesn't handle escaped
characters yet)
2007-06-13 16:46:41 +00:00
sydadams
e32a74e034
fixed nasal error --- tried to set DoubleValue("")
2007-06-13 05:00:21 +00:00
mfranz
d9910b27e7
simplification
2007-06-12 22:08:18 +00:00
mfranz
3c73eaa45f
documentation update and cosmetics
2007-06-12 21:27:48 +00:00
mfranz
4c2ded3509
throw out load_xml_nasal and implement load_nasal(<file> [, <module>]);
...
This can be used to load and run Nasal code at runtime (without need
for an XML frame).
2007-06-12 19:13:28 +00:00
mfranz
a1fd54cfdf
aircraft.nas, gui.nas: adapt loadxml for absolute paths, drop second fgcommand arg
...
debug.nas, tutorial.nas: adapt for abs. paths
fuel.nas: cleanup
screen.nas: don't remove listeners -- that's done automatically by removind
the node in NasalSys.cxx
xml.nas: minor documentation fix
2007-06-12 16:20:55 +00:00
mfranz
eab53706ba
- replace "view-cycle" fgcommand by view.stepView() wrapper
...
(This fgcommand was broken for a few weeks. Now it's fixed, but the
wrapper use is desirable, as this allows easy redefining.)
- cyborg gold: cosmetics
2007-06-11 19:23:15 +00:00
mfranz
39ee6cff4f
fix backtrace() (probably broken since the last Nasal update)
2007-06-10 20:31:33 +00:00
frohlich
c621499645
Modified Files:
...
materials.dtd materials.xml:Olaf Flebbe: Clean up anisotropic
filtering.
2007-06-08 06:51:38 +00:00
andy
30502189d8
The screen-capture command no longer pops up a dialog, so toss up a tip
...
from within the F3 keybaord handler instead.
2007-06-07 16:59:07 +00:00
mfranz
0fcdafe2aa
add autotrim class to help with trimming (read the class documentation for
...
an explanation). There's no button/key using this by default (yet?).
2007-06-07 10:12:03 +00:00
mfranz
71fa47d99d
drop clumsy handling of temporary file data branch, and use the "savexml"
...
fgcommand's temporary <data> argument branch instead
2007-06-06 21:40:47 +00:00
sydadams
e828ba548f
Moved ATC "aircraft" dialogs out of gui/dialogs
2007-06-06 02:56:31 +00:00
mfranz
1fd9e31243
- increased coarse multiplicator
...
- cosmetics
2007-06-05 18:20:53 +00:00
mfranz
c050b436fa
livery handling: add sort option and next()/previous() methods
2007-06-05 14:21:12 +00:00
mfranz
72668e2931
livery selection dialog -- see aircraft.nas -> livery
2007-06-04 13:46:24 +00:00
mfranz
95caf1a918
add livery singleton class that maintains livery XML files.
...
TODO: allow explicit sorting (currently only alphabetic) and add next()
and previous() methods
2007-06-04 13:45:23 +00:00
mfranz
6cb769ebf7
in addition to aircraft dialogs from arbitrary paths also allow gui.Dialog
...
to handle regular dialogs from $FG_ROOT/gui/dialogs/.
Example: var fps = gui.Dialog.new("fps"); fps.open(); fps.close();
2007-06-04 12:42:29 +00:00
mfranz
fef7057bfc
flyby: don't choke on <view>s without <name>, even though these are bugs
2007-06-03 20:54:31 +00:00
sydadams
63bfa05977
changed these to draggable until I figure out why they dont scale with window resolution
2007-06-03 16:22:30 +00:00
sydadams
8cfd32dd2d
Added dialogs for the ' aircraft' ATC...
2007-06-03 06:26:37 +00:00
mfranz
9a37371eaa
document geo.put_model()
2007-05-31 20:19:26 +00:00
mfranz
c70c38ab62
impact reports go to /ai/models/model-impact if <impact-reports> isn't
...
defined for a submodel
2007-05-31 18:01:57 +00:00
mfranz
6a3c0d772c
Maik JUSTUS: fix typo (ROTORRELTARGET)
2007-05-31 16:59:43 +00:00
mfranz
b7ec28dcfa
Harald JOHNSEN: add name "Saitek X52 Flight Controller"
2007-05-31 15:45:26 +00:00
mfranz
378540bcf3
- fix Nasal error: "props.setDoubleValue() with non-number"
...
- use var keyword everywhere, cosmetics
2007-05-31 14:31:08 +00:00
curt
c6b7709cba
Don't set the volume louder than is allowed by OpenAL.
2007-05-29 15:28:36 +00:00
frohlich
e1e6ca65c7
Modified Files:
...
Translations/strings-default.xml options.xml:
Olaf Flebbe: Improoved texture filtering.
2007-05-28 05:09:55 +00:00
frohlich
4058cd1a37
Modified Files:
...
materials.xml: Add runway light materails.
2007-05-28 05:07:49 +00:00
andy
0706cc3180
Maik: add ROTORELTARGET and ROTORENGINEMAXRELTORQUE input axes
2007-05-27 20:19:08 +00:00
frohlich
a851a1824e
Modified Files:
...
gui/menubar.xml: Tim Moore:
These patches implement a command to dump the entire OSG scene graph as
a .osg text file. While large, this allows debuggers to really see
what's happening in the scene graph.
2007-05-26 11:43:27 +00:00
andy
56d07fbab2
Maik: add unbalance and testing of rotor ground contact
2007-05-25 21:16:25 +00:00
sydadams
bc3fb2d613
Ok try commiting again ...
2007-05-23 04:52:06 +00:00
martin
9f698d4496
Replace simplified ETOU layout with a better one (which had
...
accidentially been overwritten).
2007-05-20 22:11:07 +00:00
martin
feb1204cbf
Robin Peel and others:
...
810 Version - data cycle 2007.01, build 2159, metadata AptXP810
2007-05-17 15:35:41 +00:00
curt
c50edaf5aa
Sync with version in source tree.
2007-05-16 14:33:22 +00:00
martin
02f8333755
Ensure the IFR tutorial makes it into the base package before the
...
final release.
2007-05-15 21:57:42 +00:00
vmmeazza
746cb353d1
Updated to include terrain collision
2007-05-15 21:54:25 +00:00
mfranz
c67f1d1bac
Maik JUSTUS: "further (final?) modifications for the jet ranger rotor"
2007-05-15 21:31:46 +00:00
mfranz
eb1e986889
whoops ... no comment
2007-05-15 20:46:59 +00:00
curt
80b8c81f16
Preparation for 0.9.11-pre1 release.
2007-05-15 16:09:55 +00:00
curt
203c61aaa1
Minor cosmetic changes.
2007-05-15 16:07:15 +00:00
curt
0a0de6628e
Sync with latest version.
2007-05-15 16:06:11 +00:00