Commit graph

892 commits

Author SHA1 Message Date
iobyte
06eb064ec9 fix linux crash at program exit
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7124 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a6d306decd74a60d0bafd6823cf8869ab83f3023
Former-commit-id: 2fee85968ef68bce704ebc82db437e78a5aacd25
2020-06-02 23:36:56 +00:00
iobyte
25315d2e21 disable GfParmReleaseHandle until classes are destroyed in the correct order
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7123 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e07999f168af73b3c791ec22ec91982e1f55b5ba
Former-commit-id: fadcc7bf26a5d6e384d799b23ad11814b0c3eb35
2020-06-02 23:30:54 +00:00
iobyte
e13d596f0c make a noisy WebServer Info message Debug
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7122 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f32abbef8dfd85bae2c1b136d29efc7fd1381ac0
Former-commit-id: 61ff131e8d42d6a8ea9e23e0bcf6bd91082cf0b9
2020-06-01 21:30:54 +00:00
iobyte
d47aa1608e fix last commit
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7117 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 974df6a336a73ae667338a82bab59703135bcc3b
Former-commit-id: d5f48d9fdd846087427ac9ac9bc3c8ff7e4aae9d
2020-05-30 23:50:22 +00:00
iobyte
a383da4bf9 show leaked parameter handles and fix a major leaker
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7116 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3a8f7b7456da9e97bc3bd0d8acc50dcddf67f2c9
Former-commit-id: a7cb509fb31193a7602733e8cd1bfdf182d695fd
2020-05-30 20:29:04 +00:00
iobyte
5428d1d8f8 fix uninitialized variable found by valgrind
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7114 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1d138cad0b0d303b7607638d696a3cb22a4fb653
Former-commit-id: 35cc9c408471182b6b506dfe61f43fa323a6cce8
2020-05-30 14:46:05 +00:00
iobyte
9d4c2d9d87 fix function names in error messages
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7105 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 23ade1f790bd8537116122fb05e0716a30cccca9
Former-commit-id: 4857cc241b29c6c9b3f3ad77b995ed173750a400
2020-05-25 13:34:59 +00:00
iobyte
f5aa4d4db7 fix hud pit fuel value (get fuel tank capacity from car if not specified from driver/track)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7040 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6d94e5f2bc463112699b4253574dd947ced50af3
Former-commit-id: ac679d3774ecc3e0ed8e9596603410043c612ac0
2020-05-12 23:38:06 +00:00
iobyte
55ba28ea3d fix function argument name order difference found by cppcheck
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7029 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e5665bd7877e23b8c0625e6649efa343d19012e6
Former-commit-id: 71defb387c1d3ce90d3fdb3df9a98fb088b87404
2020-05-08 18:09:14 +00:00
iobyte
9728e6a84d fix for #1056 (crash from buffer overrun with more than 10 shadow drivers)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7025 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 81b0767d3a20b6764ae2f190b481c02f39c2504b
Former-commit-id: 5260fbe1edbdf7dd9485bf8ebbb78a27afcda424
2020-05-06 13:05:00 +00:00
iobyte
1ca45ff9c2 fix an uninitialized variable found by valgrind
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7016 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9a2608976c4d6d160b7388e5e87206a798d4c091
Former-commit-id: d96be8435e2f48976de194e95d28ef9b45808d4e
2020-05-01 17:22:39 +00:00
iobyte
86d6606dad stop force feedback manager from logging debug information as info
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7015 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7c683fcb9171b307ab16428ab20a7a7fc417ae1c
Former-commit-id: 5a3eef3cc40ad231190de354a1267e9bd6202132
2020-05-01 14:45:54 +00:00
iobyte
a0860ad1f9 pre increment iterators is faster than post increment
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7011 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 02773e1e53c82ec013e141e757d1a14262923d61
Former-commit-id: 68096d2f1cee0d43d5cfa722b1a253dca14154be
2020-04-30 15:23:52 +00:00
iobyte
1b2cc640b6 fix 'register' storage class specifier is deprecated and incompatible with C++17
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7008 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a4117309c3aff3aab63c169f7acc247daa0371e9
Former-commit-id: 31343fa1b0b243adedbd1efe1ddfdae236da4989
2020-04-30 04:00:54 +00:00
iobyte
3429fd5e64 pass strings around by reference where possible to avoid unnecessary copies
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7003 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dbeddb3cfe567940eeb2b514456de541d86c4709
Former-commit-id: 521d21b589ca77e587ba3b192a206e41b42ba68f
2020-04-30 03:34:34 +00:00
beaglejoe
c3cb2aa2af Add copysign for older msvc compilers
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6987 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e5b99ddb8ede95df54a7d72b4bdb8cb8507edf04
Former-commit-id: 30e7b6aadaa5c14380ad1ebd264f5fdd5f95adcf
2020-04-28 05:00:56 +00:00
iobyte
8e97bd322e fix GfPathNormalizeFile to return original file name when realpath fails
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6986 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1e58baa14cdd5462d008145d1f91354ae22841e5
Former-commit-id: 3190d0029cc8145bd05a61d47d037b2fb8441ddb
2020-04-28 04:18:36 +00:00
scttgs0
66a0e86140 Fix: Free Resources
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6985 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 55d80a0a5dcc4ef926f4cbfa7b4db50db43b732b
Former-commit-id: ca08dbc189bcfda496d1bfc2880c1776ec0845c4
2020-04-28 02:32:17 +00:00
scttgs0
147cefdb61 Fix: Broken AST
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6984 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: acc5372b0c2a87f4796efa15a669655238aba8b6
Former-commit-id: 90467fdc0fb45810e7c9c672a38bb7e4afb4de21
2020-04-28 02:31:41 +00:00
iobyte
327f374813 fix ticket #996 (crash on linux when started with relative path and sound or display changed)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6983 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 001585158b611804405638f6d8e08ef1b27c7720
Former-commit-id: 364799da545d596ef1de1536e3ac6e7420d93c04
2020-04-28 02:22:50 +00:00
iobyte
62839a7227 seperate trace shutdown from app shutdown because logging is used after app shutdown
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6982 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5f00847649dc44b1118b55c8a18b80432541453d
Former-commit-id: bbc7bb8990130b426ca199500e60edee85b0a39d
2020-04-27 23:49:56 +00:00
scttgs0
2b580b3b28 Suppress Compiler Warnings - Unused Variables
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6966 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4be27fa424a877547cd485c64e30aea70a995e26
Former-commit-id: 15ad0b2db6f544ffd14242cf9b5cd006ed513ccb
2020-04-25 17:33:03 +00:00
scttgs0
14c2f95e82 Suppress Compiler Warnings - Set but unused variables
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6964 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 83e5d0e89e8dc1ad8927ebf4f3bcaaa6cfcf2de2
Former-commit-id: ca8f137781016039a6b1896df2fa3a438fb94c21
2020-04-25 16:45:52 +00:00
scttgs0
564bc36686 Suppress Compiler Warnings - Compare of mixed signedness
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6957 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: def9a411943451e5b2f6555e8779eb88327ae870
Former-commit-id: 4909b6226d2f95aba29ed8d4ed783020034daa68
2020-04-25 01:46:29 +00:00
scttgs0
77e65974d5 Suppress Compiler Warnings - String Buffer Overflow
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6951 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d18c1fa2e2336ac67bd8d9482ae90104c4bdf439
Former-commit-id: e255316f069685069f6084eebd3a1c2aaba272b3
2020-04-25 01:13:43 +00:00
iobyte
308a7d21ce add logger format string checking and fix problems found by it
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6944 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 92835381133a8d421f66f791a63b5001740a22d9
Former-commit-id: 34327f7a3872a9dde296a4812e7512313e6f68cb
2020-04-24 17:59:22 +00:00
scttgs0
6549f75037 Suppress Compile Warnings - Unguarded IF, Misleading Indent
A mix of tabs and space indententation is misleading.
Some statements visually align with IF statements, but are outside the IF body.

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6941 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a87be2c44a3049e0b14013a4e8e2acff16c1e08b
Former-commit-id: 5847eb1e3946a4ff783eca84d2e52f2ebff836de
2020-04-24 02:38:55 +00:00
scttgs0
65b223029b Suppress Compiler Warning - Buffer Copy
Safely copy into string buffers to prevent overruns.

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6939 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 88b5d00d2287555769fc4fd7553164370d0c757b
Former-commit-id: 65bf73bfdafd38097fa3b1c7a934effdd82bee24
2020-04-24 01:46:12 +00:00
torcs-ng
7ae1fa574e patch for catch (by Scott)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6926 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b5c1d77b003ea626ebbaa73eb21d29bde5004cee
Former-commit-id: a31f1f43364b08de9638477112da11319adca7ea
2020-04-19 23:22:42 +00:00
iobyte
0f2149bba5 add rear differential type to setup menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6921 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 527781de325a34857da5fcb6f4924594fbd2999a
Former-commit-id: 0932acbc768c704f974519dc9e5019bf89fdcaee
2020-04-15 00:56:03 +00:00
madbad
c5ba9a0182 Revert "ff pausing test"
This reverts commit 0ac616d96dc542ff2a3be457526c4ddbc403ab14.

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6914 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6463ae72ab6a06ff7738e850970efb0279c1fb89
Former-commit-id: a96f5b9b82b588b223c5707cca90b725b42b6b91
2020-04-12 15:09:41 +00:00
madbad
effdee5716 webserver: fix/workaround for ticket 1048.
* enable the actual reading of the webserver config file previously hardoced
* update the config file with an actual usable url
* change the place where we do the reading of the config file

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6913 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 30dbb76b794899c5af9cdb9c40bdbd72b785ca6e
Former-commit-id: 3c7563159a05a4f503de38ff70ec7e490d0ea2d6
2020-04-12 15:09:35 +00:00
madbad
fa08657881 ff pausing test
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6912 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 42592448d4c91ff775e5be536830c443c6213c10
Former-commit-id: 18bd0478c38374c0356db29494e7433820cb2e66
2020-04-12 15:09:29 +00:00
madbad
462afd4138 solved merge conflicts
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6909 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 71baa05dec652f8aa9c39e866a37a1c54799269b
Former-commit-id: 4cb5397a5c118fddc0310f989b60cd5b9857c03a
2020-04-12 08:29:50 +00:00
iobyte
9f997d2ac7 add multiple setup page support and moved item configuration to xml file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6897 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f8bf263c254cd44c11e23f1f270ddc8a7ba785a9
Former-commit-id: 067ca520523b190a6d7cc9212acd0e68edabb7f3
2020-04-09 22:37:34 +00:00
iobyte
a4595eb42e add setup menu to garage menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6891 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 12bcc25061be101b4a90dce2631925b04849f4bb
Former-commit-id: a23e31183b2fdddcc3c9d62eaca0f020e00f7c22
2020-04-06 21:41:04 +00:00
icystar
e6c0970f7d additional fix for scrolllist
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6890 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6cfdb3087025bcc40fc3ae3c428f021b7981a445
Former-commit-id: e2a95d747f4f7687f1f20529f8735d13c87e9454
2020-04-05 13:07:55 +00:00
iobyte
65d5de8f3d fix leaks in error paths found by cppcheck
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6880 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dd97d334f3161c0fc05a3d2b15fa02a3e2ecad06
Former-commit-id: 92dd196f404dd0108b18165fddbaf5ba3a51730a
2020-04-01 13:22:34 +00:00
torcs-ng
2b705431d4 - fix bug on OSG with trackLights (by IcyStar)
- fix bug on scrolllist (by IcyStar)

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6873 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d4e4e09f3d09b1754f257ab2ec527f753df28c09
Former-commit-id: 6be51bad80ce3894f03b857da3c03832c327db3f
2020-03-29 14:10:55 +00:00
torcs-ng
a2b7e34cc3 - patch to ticket 472
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6869 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 04a28a03b9f8d23fb0acdf8894a02c25339c7dcc
Former-commit-id: 1315920c6fdf0ff6e2b492007f4c456096814ec2
2020-03-28 19:00:07 +00:00
torcs-ng
cb5528af33 - Update shadow's driver
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6839 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0adb0924eef49a0c0f1e50c6b7860b6842f06753
Former-commit-id: 2600fcbefeb92b00b9b311d8815a72309bb3b054
2020-02-19 22:05:37 +00:00
torcs-ng
3df9c6a585 - update shadow's driver
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6819 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7242b6a160d2f53da59e8c515df29eb6984b865e
Former-commit-id: 5c20df788c417ad506d4afaa19a8e23389b50f93
2020-02-04 00:11:45 +00:00
torcs-ng
e5f9ae1d9f - wide Robert's patch
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6793 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bd26402026d3399608d25a9c30345ca7a112aecd
Former-commit-id: aa82c598411865fe4f3e55d69e5c60a41ba1a0a4
2019-12-10 10:44:35 +00:00
torcs-ng
0fe87f869c - Ivan's patch for forcefeedback
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6769 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6ed91a21a9ca857bebbcdbaeefb405ff704b1753
Former-commit-id: 90cfa1664c52e41c03eb1356713c64b37b842701
2019-11-16 22:43:45 +00:00
torcs-ng
e66e3cd6f7 - Update better implementation for option webserver in metar
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6759 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 673cacd19d054c91494e1a12a84f980ae6fb3ad8
Former-commit-id: 477a068ae3f7b40dffc02de38fed0b7c8a0cd19f
2019-11-09 12:08:50 +00:00
torcs-ng
5371a7ebe8 - move webmetar in raceengine
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6660 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 411c9c8f7af9d90cd01cafd7bb4b11294fb02d89
Former-commit-id: f21c83e6223071f3322d7f705134ada1e2ecc616
2019-05-25 17:43:14 +00:00
torcs-ng
9273fbd05d - update simuv4 (for weather)
- update weather's code
- new USR's code 2019 (by Andrew)
- remove all older setup for USR

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6643 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 525da4ca5590add4ae9c3808f3383e8af6a501db
Former-commit-id: 3b4005053672923ae96cf9ddb98e9948864f7ecd
2019-05-11 13:11:13 +00:00
beaglejoe
142117e07e fixed building with older Visual Studios
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6630 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6476afa67a60d74cf66c05a2082b73a55682e3a3
Former-commit-id: ac539129ea27ecca58630f5945f782fb25a5e4a4
2019-04-27 18:45:54 +00:00
beaglejoe
74d3dfd5f9 visual studio 2013 and older need portability.h for snprintf
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6618 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6685b62869c273a1c3b1c52934597a1a0e9ca15d
Former-commit-id: 42c6c81fa503ebca665ed00d024b34d5848a0b81
2019-04-08 19:36:55 +00:00
torcs-ng
24c85c4df6 - update weather data
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6617 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 126fd6af9d47d0953e3f3675780d15fa4712aac5
Former-commit-id: a3244a8fd54d706a1fcfeed236d1cea545dd1c66
2019-04-07 15:50:42 +00:00