832e821919Add some linefeeds.
ehofman
2005-09-22 09:15:10 +00:00
197e3f144dCreate our own stdint.h(xx) implementation and use it where needed.
ehofman
2005-09-22 09:11:27 +00:00
056b5b41e2Prepare for Openal 1.1 and a separate alut library
ehofman
2005-09-21 09:22:51 +00:00
15d40fd64aOops, Frederic caught an inline declaration that had snuck into the code.
andy
2005-09-20 21:38:08 +00:00
979d3da69cSneak a Nasal update in before the next release. This version *appears* to work correctly on all systems to which I have access (i386 linux/win32, x86_64 linux, powerpc OS X, Sparc Solaris 10), but not all systems are capable of running fgfs. Beyond that, multiple threading bugs were fixed, and the naCall() API changed slightly to support named function arguments.
andy
2005-09-20 21:09:34 +00:00
72984cc4a8Don't refference simgear_config.h because this header gets installed :-(
ehofman
2005-09-18 21:05:04 +00:00
0a7a815124int64_t is in stdint.h by default.
ehofman
2005-09-18 09:21:54 +00:00
9c54603726Add some more defines as specified in FlightGear/src/Network/net_fdm_mini.hxx
ehofman
2005-09-05 08:22:30 +00:00
dc09a50472Mac OS X fixes from Markus Morawitz stdint.h replacement defines for Windows and Sun from Frederic et all.
ehofman
2005-09-05 08:17:37 +00:00
7c2575d723Josh discovered a bug parsing negative numbers with leading zeros ("-0.3") which also affected ones of the form "-.3". This got introduced a few months back, I'm not sure how it went undetected for so long...
andy
2005-07-21 23:03:26 +00:00
6b6a27e849Another update, the previous one could crash if you leave the surrounding tiles (try Set aircraft in air and choose a distant airport).
ehofman
2005-07-05 18:53:16 +00:00
daea10121cSomehow gcc allows function overriding but MIPSpro doesn't. Fix this.
ehofman
2005-07-05 18:00:58 +00:00
81546820abFrederic: Also copy the attributes over to the new tree.
ehofman
2005-06-28 11:19:41 +00:00
84e87f0e8aDue to a misunderstanding of what removeChild() actually does, some used it to detach a subtree from the main tree. The previous patch broke that behaviour so a new function call detchChild() is now added.
ehofman
2005-06-28 11:19:09 +00:00
901592a88efix return value
ehofman
2005-06-27 17:48:13 +00:00
f4b05d46edFix two crash conditions Ampere found. These are just temporary patches; my private version has rewritten both of these functions (ironically fixing these bugs in the process) to handle negative offsets meaning "from the end".
andy
2005-05-29 16:13:48 +00:00
1a72245c15Properly release the mod lock when returning from a runtime error. Ampere discovered that the interpreter would deadlock at runtime if it hit such a condition during initialization.
andy
2005-05-04 20:17:28 +00:00
3bd810fedcMake use of the repeatable sg_random() function so display systems can synchronize 3d clouds too.
ehofman
2005-04-30 10:00:16 +00:00
f9cbf8361dAdd a seed function that gives the same random seed within a ten minute period of time. This should be useful for synchronizing display systems.
ehofman
2005-04-30 09:59:12 +00:00
65056bfa72Support for a "forindex(idx; list) {...}" construct analagous to foreach, except that the variable gets the index instead of the list element. Should be useful, and took almost no code to implement.
andy
2005-04-22 21:54:16 +00:00
c50bb90374Fix clamping of the minimum hash size, because the Melchior discovered that the column math goes wacky when lgalloced is allowed to be zero. Augment the find() function to take a starting index. Fix strc() to use a default index of zero. Fix parser precedence of TOK_MINUS, so that "a-b-1" means (a-b)-1 and not a-(b-1).
andy
2005-04-19 14:19:46 +00:00
8ea41af5c4Fix crash in the code generator when compiling a (now illegal, because "var" is a reserved word) expresssion of the vorm "var=<expr>".
andy
2005-04-18 20:43:29 +00:00
966331dac7Upgrade to nasal 1.0 test candidate
andy
2005-04-18 19:48:47 +00:00
cf056bace7Fix boolean semantics so that the empty string evaluates to false, and numeric strings are false if their numeric values are false.
andy
2005-03-30 18:45:01 +00:00
3a8b431a5bDon't parse a single "e" or "E" as a numerical zero. You need a numerical prefix to use the 1.0e12 notation, "e" alone is not enough.
andy
2005-03-22 20:28:47 +00:00
7c44251216Oops, fixed the wrong test
andy
2005-03-12 15:51:37 +00:00
26e70664d6Off by one error when printing exact poweres of ten
andy
2005-03-12 15:49:53 +00:00
8ac27cc798Fix an infinite loop (due to an overflow condition) when printing some very large numbers.
andy
2005-03-11 21:49:31 +00:00
d314164fedFix the fixes. Note that "." had the same problem as "+" and "-", and that we can still match non-identical constants if they are both strings with the same numerical value.
andy
2005-03-11 20:39:07 +00:00
d2cbed151bDon't parse the strings "+" and "-" as numerical zeros. Also fix the code generation of constant objects to use real identity and not Nasal equality, so (e.g.) the constants 1 (number) and "1.0" (string) do not get turned into the same object in the generated code.
andy
2005-03-11 19:07:06 +00:00
ee8763f60dMore MacOS X fixes
ehofman
2005-02-12 12:44:46 +00:00
db633330feFixes from Norman for users running Cugwin with the XServer package installed.
ehofman
2005-02-11 15:19:04 +00:00
c1ffafd663MacOS X fix(?)
ehofman
2005-02-11 15:07:22 +00:00
72f35dc914Comment out GLX code for MacOS and (hopefully) add some MacOS AGL compattible code. More needs to be done though.
ehofman
2005-02-01 10:35:43 +00:00
e5f82f53b9MacOS doesn't have glx.h
ehofman
2005-01-31 18:29:38 +00:00