Taylor Richards
fc7389f95a
fix various compiler warnings
2025-08-18 11:59:22 -04:00
Mike Nelson
2e34c29215
Scpui multi pxo api ( #5845 )
...
* multi pxo api
(cherry picked from commit 9af26da728a19b9d6c890968a314e8e56ecc1ddf)
* multi pxo help api
(cherry picked from commit f4df704576ddb648e9c486907b07ae172c859feb)
* minor fixes
* not extern
* break out chat message data into a table
* address some feedback
* return empty strings if not in multi
* use GetChannelByUser() instead
* once more with feeling
* correct documentation
2024-03-13 15:23:44 -04:00
JohnAFernandez
7edc5bf842
Change underlying type to avoid endianness problem ( #5680 )
...
Before this change if the wrong endianness was used, the c style cast that was used here would lead to the argument being passed to getsockopt to lack the actual information.
Fixes coverity 1093482
(Directly cast to socklen_t)
2023-10-19 07:56:21 -04:00
Taylor Richards
bb06c75cb4
handle irc motd error to prevent connection hang ( #4610 )
...
A MOTD missing (422) message is non-fatal and should be handled the
same as a MOTD end (376) message to prevent the chat connection
process from hanging.
2022-09-01 05:57:01 -04:00
Taylor Richards
20094df4cd
address issues causing network connectivity failures on macOS ( #4473 )
2022-07-07 03:15:27 -04:00
Taylor Richards
697c009fb3
address issues with error handling in chat_api:
...
- detect server connection error messages before blindly
moving to user login (crash fix)
- detect read errors and fail accordingly (crash fix)
- allow server disconnect to run even if we aren't connected (cleanup & reset)
2021-04-12 12:59:04 -04:00
Taylor Richards
01ee4d077b
make sure we are dual-stack by default (everywhere else)
2020-08-30 00:03:14 -04:00
Taylor Richards
e06026f622
port PXO chat client to IPv6
2020-08-30 00:01:00 -04:00
Taylor Richards
92be33ad9c
first pass at IPv6 support
2020-08-30 00:01:00 -04:00
Taylor Richards
b5dc556412
fix pinfo crash and bug in PXO chat lobby
2020-07-29 01:22:20 -04:00
Taylor Richards
e9cf9ac10d
deal with type warnings on Windows
2019-11-18 12:00:26 -05:00
Taylor Richards
29ce72f66f
switch to using winsock2
...
also removes some obsolete win32 #ifdef's and
cleans up some windows #include's
2019-11-15 23:33:35 -05:00
asarium
f87e5bf318
Fix new warnings reported by GCC8
...
This also enabled GCC8 in Travis CI so that no new warnings are
introduced in other commits.
2018-06-26 11:51:08 +02:00
asarium
0b4ca71eba
Enable modernize-deprecated-headers
2018-04-25 11:12:41 +02:00
asarium
7195ec9856
A few more fixes...
2017-01-04 00:28:22 +01:00
asarium
a685642554
And another batch of 64-bit fixes
2016-08-12 09:42:55 +02:00
m!m
22c0255277
Fix a bunch of 64-bit MSVC warnings ( #709 )
...
* Fix a bunch of 64-bit warnings
* Fix Linux compilation error
* Fix Mac error
* Fix some issues
* Fix more GCC warnings
* Remote unwanted change
* Remove accidentally readded file
* Fix wrong limit check
* Use BEAM_INDEX macro for getting beam object index
* Fix 32-bit warning
* Use BEAM_INDEX instead of pointer arithmetic
2016-08-09 11:08:54 -07:00
asarium
b500e072da
Use cross-platform compatible struct
2015-08-28 11:46:10 +02:00
asarium
ff51e79531
Fix set but unused variable warning in chat_api.cpp
2015-08-19 11:26:28 +02:00
Goober5000
4bd10888ff
make localization more robust with additional checks on string length, more consting, and stronger typing and make XSTR const, since we don't want to modify the strings it translates and then CONST ALL THE THINGS
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9809 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-26 18:51:34 +10:00
chief1983
86309a5d66
Since the timerbar warning can't be fixed, this should fix the remaining parts of Mantis #2829 by escaping things it confused with xml tags.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9618 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:34 +10:00
niffiwan
f947a5fb5d
Fix for mantis 2776: from onlyjob, fix format-hardening error
2013-01-22 09:57:29 +00:00
Zacam
9678d18bc3
Part One: Synchronization pass of Trunk and Antipodes Differences.
...
Whitespace/tab mostly.
aicode does have a change of an Int3 to an Assertion.
bmpman has an update to bm_next_handle.
2011-09-09 09:37:45 +00:00
Echelon9
34084aebe6
PVS-Studio fix: V501 There are identical sub-expressions '(stricmp (szCmd, "372") == 0)' to the left and to the right of the '||' operator.
...
and
V501 There are identical sub-expressions '(stricmp (szCmd, "375") == 0)' to the left and to the right of the '||' operator.
2011-08-28 07:27:53 +00:00
Echelon9
555a9033de
Documentation: General clean-up and function documentation
2011-08-18 16:47:54 +00:00
chief1983
7192a2d8fe
More compatibility fixes for Solaris
2010-11-02 21:20:09 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +00:00
Goober5000
6e4021888d
add apostrophes to contractions, lol
2009-04-10 07:49:12 +00:00
taylor
f6d26f915a
bunch of out-of-bounds fixage
2008-10-13 05:57:57 +00:00
taylor
637496f374
add handler for bad channels (Mantis #1603 )
2008-03-20 18:09:15 +00:00
taylor
ffcac2c9c1
add better checks to catch connect() errors
...
bit of cleanup on win vs. non-win code
2008-03-20 18:08:12 +00:00
taylor
23b82f671f
fix timeout that messed up Linux build chat connects
...
disable banners for now since it messes up Windows builds
various bits of cleanup and old debug code removal
2008-02-23 20:11:37 +00:00
taylor
22ba117494
fix malloc/free/strdup to use vm_* versions
2008-02-23 20:09:50 +00:00
taylor
d4f9fe36b2
since we are polling, "0" is a valid return and we need to wait until we actually get data (screwed up login packet order)
2007-10-17 21:01:33 +00:00
taylor
c5235c6428
FS2NetD v.2 (still a work in progress, but is ~98% complete)
2007-10-15 06:43:23 +00:00