Commit graph

3389 commits

Author SHA1 Message Date
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
iobyte
947a75dd1a fix some more format strings found by cppcheck
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6963 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: acf234125fea58d152d0bdb21e38ebabf40d5d67
Former-commit-id: 2359e63389bcccd3ded696c9544f0e1b41fb59ea
2020-04-25 16:13:59 +00:00
iobyte
e97f8a9483 fixed a few format string warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6962 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f95e0736be2e96c51a690a36ad8567a429cce6c4
Former-commit-id: 90ea97dfdb67f5bbcaa3d37ba77b755cf6c4bad1
2020-04-25 15:28:56 +00:00
scttgs0
5aea699ed4 Suppress Compiler Warnings - Unused Functions
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6961 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ee11e6aab7c181080979ee2554c6b971c7cbb976
Former-commit-id: 6c40f0e2dc53436992dac48a870cf5bf03c8a276
2020-04-25 15:27:19 +00:00
iobyte
b616ef8c14 moved static car menu pointer variable into garage menu class
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6960 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 91887c5284033f831d234a608c99990e3312d405
Former-commit-id: c435103cff51d6a126238c248041a8a835f04970
2020-04-25 15:04:53 +00:00
scttgs0
aa3f5dd68c Suppress Compiler Warnings - ISO forbidden conversion (rollback)
Not null checking, so prefer Bob's fix.

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

Former-commit-id: 6f2f5937be40edd7ef78431f38c55cef65bf8f21
Former-commit-id: 95473c2a1fb4e90d7a54ed48317cf9d05dad31fc
2020-04-25 14:58:38 +00:00
iobyte
4508e88291 remove unused carsettingsmenu files (it was replaced by garagemenu)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6958 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9e95d128cb85056cdd6eabe9f8cf1e9cc56568d0
Former-commit-id: 446f408b161e1ab6581862840dc4e39f22dcd259
2020-04-25 14:28:48 +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
10253aefdf Suppress Compiler Warnings - Improper initialization
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6956 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bc9c3c359eee98bcc1ed751da20d7a964fe81804
Former-commit-id: 9a87e8e7fbfe9c202ba17d79a67893843cffdd03
2020-04-25 01:41:38 +00:00
scttgs0
bc979df06c Suppress Compiler Warnings - Uninitialized value
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6955 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d618b1dff85708cfb4ccc2dc549134211fedeef4
Former-commit-id: ccf179054e4a5f9acb428537d218db3681f42777
2020-04-25 01:40:10 +00:00
scttgs0
234bc864bc Suppress Compiler Warnings - End reached without Return value
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6954 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 17f068d049b0b8950b1f5ab765f84f3f2240ac56
Former-commit-id: f46fb14c0e58778f0cb886f78472de8c5b66b709
2020-04-25 01:33:01 +00:00
scttgs0
01271addec Suppress Compiler Warnings - Dangling Else
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6953 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 54291bccb1135104539a1581855e2b7bd526ed0e
Former-commit-id: ff9bfbff71752764743d9f2891e8c23907d6ee25
2020-04-25 01:31:44 +00:00
scttgs0
26aef6e985 Suppress Compiler Warnings - Missing Switch Elements
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6952 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 78cb205627b70c5a7e1297adbaf1f3ee38c718e4
Former-commit-id: 0829baa20f73710056669d30cb761887ebf47c6b
2020-04-25 01:30:03 +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
scttgs0
474c476cd8 Suppress Compiler Warnings - Format Overflow
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6950 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c9ded51b78b22b9d30ae192c8525c99b19a7f675
Former-commit-id: aa5252bab46cec6f69ca25dc6cdfd6c4f84b6d7f
2020-04-25 01:11:24 +00:00
scttgs0
0ad6d2d208 Suppress Compiler Warnings - ISO forbidden conversion
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6949 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d7b7d97871c45769d37a2a1fe8312b13c0effb97
Former-commit-id: afc76ec497904a25c780773ec6ba4fbed7af1841
2020-04-25 01:03:05 +00:00
scttgs0
2259df0842 Suppress Compiler Warnings - Catch byValue
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6948 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 740648a7f82e628d70a7ebb0e3ea49e6e69de4f4
Former-commit-id: 2d0078be4c98174a3825bec4434e83849a5cc9d0
2020-04-25 00:55:19 +00:00
scttgs0
9ddd9e3da7 Suppress Compiler Warnings - Potential Truncation
Ensure buffers are sufficiently sized to prevent truncation

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

Former-commit-id: 668c2193beaf2acf4b2e4d7230d30930b147bf25
Former-commit-id: b368861a868486b0652f0d0695337711e34efcea
2020-04-25 00:32:30 +00:00
scttgs0
2fec43103a Fix encodings to UTF-8
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6946 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0c8d6655eeddd33f18b54fd529cadacdde391cd4
Former-commit-id: 0d4896a101e0fe3d9249728318fa741a41cbe18e
2020-04-24 23:26:21 +00:00
torcs-ng
c42fc704e8 - standardizes skill drivers (except for USR's code) because this code will been modified
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6945 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 141c7c7181fa292f85eb0a27f65f36c32776df8c
Former-commit-id: 1e340049bc02663eb8659bbfef06b83061ea1d78
2020-04-24 20:47:55 +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
e68457a6fb Fix file encoding
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6943 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b3cc0b3878543c4610ae367e73632ecb7de03834
Former-commit-id: f50ab7ce57a06c2f0f193b3b0ada2d9b05c622c3
2020-04-24 03:35:31 +00:00
scttgs0
1e5a560bff Fix encoding
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6942 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5435e65690513ebef478595aa3dfc97f105437e9
Former-commit-id: f8e7a3941ac1928872b247e0ccccf83bd292bb3b
2020-04-24 03:30:02 +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
b925ca8e51 Suppress Compile Warning - Initialization Order
Declaration order of the class, rather than initializer order, determines the order of initialization.  Align the two for consistency.

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

Former-commit-id: 1991e63e0ba146267fb7698dbaa4960f8c962f78
Former-commit-id: 81eaee87eb42e54c63310c233a5a2ba2523b758e
2020-04-24 02:24:47 +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
iobyte
dbde1ffa33 work around a bug in ssg library api that allows writing to string literals
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6938 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cc8377da5a628a703aff899231aba159891b275b
Former-commit-id: 62918abc0718482479f9e729997b98e092585c49
2020-04-22 20:52:00 +00:00
iobyte
9dc818afb5 remove binding left/right arrow keys to setup page previous/next because it doesn't work as expected
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6937 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ad6f7b30dc61ffd3f7ffc7c82a8f1725f58ab32a
Former-commit-id: d620e52da67e0252610243ed147f213e80e0bd8a
2020-04-22 15:42:42 +00:00
beaglejoe
030482ee30 From Scott
compile warnings - missing parentheses
Explicitly define operator precedence when mixing || with &&

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

Former-commit-id: 6f59a4701321a28ed45a702e67177a6f48c7c388
Former-commit-id: 6de225e34ca4febc01ae146957c953a2393a1fca
2020-04-21 18:53:35 +00:00
beaglejoe
3f2cc68fbe WIP for ticket 1047 Added error checking to generated scripts for MacOS packages
Removed a debug message

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

Former-commit-id: b81ed645654fd67acb196a79aac3810ec2422255
Former-commit-id: 1b9d129e10e0ed8a9e44e5a504d0f4307952f8e1
2020-04-21 18:01:12 +00:00
iobyte
e641411546 fix a few issues found by cppcheck
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6933 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d9d3be79c8caf45a7c5752683841ba2e54a7777e
Former-commit-id: 801752623a557b365b6f69bd01321d01ee470d08
2020-04-21 00:15:25 +00:00
beaglejoe
10ae294677 WIP for ticket 1047 Added beginning of script for MacOS base package
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6932 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: df64bd81a6ad25b8d7e4b706e10ec4cfc49c3c2b
Former-commit-id: 75d893f07cc92762306692debcaf34d06ed7a6d6
2020-04-20 18:20:19 +00:00
beaglejoe
ccec0ee45f WIP for ticket 1047 Automate the Build and Package cycle for MacOS
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6928 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4f47f101cd9c62184e1469496a0e2bb3eeca6525
Former-commit-id: 8b036490454775236451f00caf9f78684e8d1181
2020-04-20 02:34:33 +00:00
beaglejoe
08db1d6975 Add portability.h for snprintf()
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6927 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a2d95e630b8ffd48f569c9f843fbde56a4689fd6
Former-commit-id: dc7cb207b870612c0faaf75baac900f47b6719b5
2020-04-20 01:44:49 +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
torcs-ng
ffeb2061a1 - patch for catch (by Scott)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6925 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5bd46ff1e9c1f38f5b08f8bb7af8c0799d05b3a8
Former-commit-id: edca0d67421346f3f07a5ba5cb580c2476148884
2020-04-19 23:22:17 +00:00
iobyte
d06498b9b8 close the setup menu items file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6924 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c2bcd41d6e3d652a00e3f5607906644044e96092
Former-commit-id: 7a92277555f82b112ec4607c0f2fc7695a7e5893
2020-04-18 22:36:59 +00:00
iobyte
ad0f024a93 remove existing setup file content that is same as default
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6923 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1dd2305c763f1f3fcf40f79a7738df789b7f9a84
Former-commit-id: 0a4ac86dd9eebe8d7870c28be72a67d6ed25eb49
2020-04-16 03:19:25 +00:00
iobyte
9c44c3b923 fix unused variable warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6922 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ac2f8ea070984da5dea7e0cf4d8e4e1a7fb19056
Former-commit-id: ba7b4e785d893629beee9dbc081a519c635753dc
2020-04-15 15:29:02 +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
beaglejoe
c084b7fdd4 Mac Release automation WIP
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6920 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9f5e54729201b4584e6b76357c401e42ee2c8373
Former-commit-id: 2ef05cfc1b2af8ae3b110e4961480d45c4a6c8bd
2020-04-14 21:17:56 +00:00
iobyte
9fd61c3e2d add springs and dampers to setup menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6919 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2725aec64147acebedf14ce31d3a6e6ad0f927c0
Former-commit-id: 12cb21247678e09c27233ec028e671915410bb74
2020-04-13 18:29:51 +00:00
iobyte
5ce0a2c723 add screen shot key to menuview tool
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6918 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 710b6aba980856b06af8135651e36740dcbcca47
Former-commit-id: dbd82d5b1bce03000c5625d251c298ad787c7775
2020-04-13 15:18:59 +00:00
beaglejoe
ca0b4e3e42 Cleaned up some MacOS install code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6917 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6f7cfc3762c9d2e361b0cf102c7ee0668d834007
Former-commit-id: aecd11944b7c6cb9d5a7b55a07d3251b6bafd65d
2020-04-12 21:41:22 +00:00
iobyte
fc3c6b8a79 add left and right arrow keys to move between setup pages and refactor callback functions to forward to member functions
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6916 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0e4f6d6bc8693b5067bbecc2d4909a73089cf141
Former-commit-id: e4d5ebe9022ea75442dfdedbcb12dd7e7bc4acc6
2020-04-12 20:18:02 +00:00
madbad
08be6ca306 merge local conflicts
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6915 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9f14fc35d379a7e28d8d1fcb5c092d0b95a17ba3
Former-commit-id: 999178ce9b5f63f86265311a32e070a3d32974a6
2020-04-12 15:09:46 +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
c97ab90c4e add titles to OSG HUD graphs
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6911 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fcf924d2d8748fe4afa8fc72d7e2f9da06f474c7
Former-commit-id: 78a2a27445fc069b0b4486e31a3d346ef41684b8
2020-04-12 15:09:23 +00:00