1
0
Fork 0
Commit graph

3439 commits

Author SHA1 Message Date
mfranz
54e6ec55b4 closure(): better error formatting 2008-07-22 22:50:42 +00:00
mfranz
e522611638 closure(): level is optional and defaults to 0 2008-07-22 22:38:34 +00:00
mfranz
1ad5b18ec8 closure(): must freeze io.open for the comparison 2008-07-22 22:26:09 +00:00
mfranz
dc4b8633a3 new io.open()'s closure musn't get manipulated either 2008-07-22 21:30:47 +00:00
mfranz
3cfc93927f make sure the closure of security code can't be manipulated by wrapping
closure()
2008-07-22 21:23:54 +00:00
mfranz
8b6ff24167 make sure functions used by the security code are tamper-proof 2008-07-22 21:22:59 +00:00
mfranz
b9e7bb1b4b add thisfunc() for reliable recursion 2008-07-22 19:03:25 +00:00
mfranz
cb3150b915 (failing attempt to) lock down two functions 2008-07-22 16:46:18 +00:00
helijah
454950d0f9 - GPS update by Zakharov 2008-07-21 22:42:01 +00:00
abory
ea43922437 - Alexis Bory: use io.read_properties() instead of fgcommand(load). 2008-07-17 21:06:29 +00:00
helijah
763860f42c - new version with doc by Zakharov 2008-07-14 14:40:22 +00:00
sydadams
ce1b5ac7e1 Ron Jensen updated the <bias> tag howto...
removed leading slashes in example code...
2008-07-14 02:56:26 +00:00
durk
4689ff11f5 Changed the default value for the proportion of AI traffic back to 1.0. 2008-07-13 10:52:57 +00:00
mfranz
ac090b9d84 s/offset/offsets/ 2008-07-12 21:11:39 +00:00
mfranz
ed2e57c1bc describe interface changes & some minor improvements 2008-07-12 14:17:45 +00:00
mfranz
30cd488f90 data.load(): use io.read_properties() (fixes *.sav loading bug) 2008-07-11 22:50:58 +00:00
abory
5eaebdb728 - Alexis Bory (and Melchior):
- Changed properties name in the XML: radardist -> radar-performance.
- Corrected spelling of data.
- Shortened the init message.
This doesn' change the way to call radardist.nas functions.
2008-07-11 21:10:48 +00:00
mfranz
abdc416f32 - remove "load flight"/"save flight" dialogs, and
- use a file selector instead
- file-select.xml: handle non-existing files correctly
2008-07-11 20:57:52 +00:00
mfranz
fc6748ab95 initialize validation callback properties as string 2008-07-11 16:44:29 +00:00
mfranz
c604b92deb now that the file reading/writing fgcommands underlie the same mechanism
as Nasal's io.open(), we need to allow saving/loading flights and saving
aircraft specific data at exit
2008-07-11 16:38:51 +00:00
mfranz
32f1730c6e - load_nasal: better error message if compile() fails
- io.open handler: extract validation to separate function and
- add detached read/write validation listeners
2008-07-11 15:37:27 +00:00
mfranz
86475efa5e fixpath: handle empty strings 2008-07-11 15:23:23 +00:00
mfranz
3be5c6956b io: use default attribs rather than a hard-coded number for globals identification
gui/tutorial/aircraft: use io.read_properties()/io.write_properties()
2008-07-11 09:37:33 +00:00
mfranz
ee44cdf0db Anders GIDENSTAM: enable fuel&payload dialog for JSBSim
mf: minor modifications & adding several instances of "var"
2008-07-10 20:13:58 +00:00
mfranz
9be716de1c typo 2008-07-10 16:55:45 +00:00
mfranz
8909695f36 add io.{read,write}_properties() convenience wrappers for
fgcommand("loadxml") and fgcommand("savexml")
2008-07-10 16:53:43 +00:00
mfranz
a3d72b09f9 use firefox as browser and create new tab by default 2008-07-09 19:36:41 +00:00
mfranz
fd232f97c0 set write-protection on /sim/startup/browser-app 2008-07-09 17:03:46 +00:00
mfranz
7707ddad32 - replace depreciated fgcommand "old-reinit-dialog" by "reset"
- keyboard.xml: cosmetics
2008-07-09 12:26:18 +00:00
abory
dde3389421 - Alexis Bory: radardist.nas now reads its datas from $FG_ROOT/Aircraft/Generic/radardist.xml. 2008-07-08 10:16:38 +00:00
abory
5c054b5afc - Alexis Bory: radardist.nas now reads its datas from this XML file. 2008-07-08 10:08:51 +00:00
mfranz
de1c7d6e09 AJ MacLEOD: Trust GM-2600 'Predator' js config 2008-07-07 19:17:32 +00:00
mfranz
951f31a56c change attribute names from read/write to readable/writable 2008-07-07 10:25:08 +00:00
mfranz
b8ba3c5f66 cosmetics (no braces for one-liner functions; looks nicer, IMHO) 2008-07-03 16:24:52 +00:00
mfranz
6e24e077ba - invert io.load_nasal() return value
- let load_rules() return nil or the path (rather than 0 or 1)
- better log output
- cosmetics
2008-07-03 16:23:13 +00:00
mfranz
758a2304b9 move icons to source dir, from where the respective installers can copy
them to the final place depending on OS and Desktop Environment (just
like man pages and binaries). Otherwise the installer would need access to
$FG_ROOT only for the icons, which is an undesirable dependency.
2008-07-01 07:11:02 +00:00
helijah
bdf204bcc1 - Update GPS zkv500 by Zakharov 2008-06-30 16:31:48 +00:00
helijah
5e9df124b6 *** empty log message *** 2008-06-30 00:17:21 +00:00
helijah
7e81bb94ff - new instruments : GPS zkv500 by Zakharov 2008-06-28 19:38:32 +00:00
martin
04f75c9399 Josh Babcock: Icon collection.
MS: I assume someone will object against storing these icons in the Base
Package, feel invited to flame me for doing so  :-)
2008-06-27 13:14:55 +00:00
helijah
36a37d590a - New font LCD.TXF by Zakharov (Sébastien MARQUE) 2008-06-23 11:40:04 +00:00
mfranz
6f9f70e84d - don't use undefined variable `curr'
- cosmetics
2008-06-22 18:00:02 +00:00
mfranz
caca942012 revert last change: don't append cwd to relative paths for now. There's
no way yet to safely detect absolute paths, so this would break on MS Windows.
This will only mean that relative paths will always fail, as they don't
match any pattern. These are all absolute.
2008-06-22 13:54:36 +00:00
mfranz
875b99c90e whoops, wrong quotes 2008-06-22 12:17:02 +00:00
mfranz
cf9f30cb11 fixpath(): simplify by using new join() and replace() functions 2008-06-22 11:33:13 +00:00
mfranz
5240b57018 io.open(): turn relative paths into absolute ones before checking 2008-06-22 11:31:41 +00:00
mfranz
d86b1b9c74 string.nas: new functions string.join() and string.replace()
debug.nas: let benchmark() repeat tested function
io.nas: cosmetics
aircraft.nas: initialize time property only once
2008-06-21 07:10:32 +00:00
mfranz
84044b4603 Georg VOLLNHALS & someone on the German fgfs forum: yet another name for this js 2008-06-17 21:40:51 +00:00
mfranz
ab08bfb8eb make sure that a die() (e.g. caused by an IOrules file being read protected)
doesn't disable the whole security mechanism
2008-06-16 11:19:29 +00:00
mfranz
94e010e4d1 whoops ... s/and/or/ 2008-06-16 11:00:05 +00:00