summaryrefslogtreecommitdiff
path: root/src/net_query.c
AgeCommit message (Collapse)Author
2014-10-24Replace strdup() with M_StringDuplicate().Simon Howard
strdup() can theoretically fail and return NULL. This could lead to a crash or undesirable behavior. Add M_StringDuplicate() which does the same thing but exits with an error if a string cannot be allocated. This fixes #456. Thanks to Quasar for the suggestion.
2014-05-05Clean up file headers.Simon Howard
This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
2013-08-31Add notification window to the waiting screen to show whether the serverSimon Howard
was added to the global master server. Subversion-branch: /branches/v2-branch Subversion-revision: 2629
2012-10-28Merge from trunk.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2537
2012-10-28Add functions for network signature requests. These request the signedSimon Howard
messages from the master server, to be used at the start and end of recording a secure demo. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2535
2011-10-14Fix query output for non-Doom games.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2422
2011-09-18Hook query code into setup tool, and add search results window.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2383
2011-09-17Merge from trunk.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2381
2011-09-17Change query loop to sleep for 1ms rather than 50ms intervals, so thatSimon Howard
precision is not lost in ping times. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2380
2011-09-17Refactor query code so that it is possible to query by polling, ratherSimon Howard
than blocking on a query function. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2379
2011-09-17Fix ping calculation with LAN search.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2378
2010-12-10Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 2214
2010-12-10Merge from trunk. This is slightly out of date as I did the mergeSimon Howard
several days ago. Subversion-branch: /branches/raven-branch Subversion-revision: 2212
2010-12-10Specify master server port explicitly, so that server registration worksSimon Howard
when using -port. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2203
2010-12-04Add ping time to query output.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2192
2010-12-02Make multiple query attempts to servers before giving up. Display aSimon Howard
warning if the master server does not respond. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2187
2010-12-02More refactoring of querying code, to not be specific to the purpose ofSimon Howard
printing out a list. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2184
2010-12-02Refactor query code and add a -masterquery command line parameter toSimon Howard
query the master server. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2182
2010-12-02Register servers with Internet master server.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2181
2008-09-10Split off game mode/mission/version definitions into common code, alongSimon Howard
with various netgame constants. Subversion-branch: /branches/raven-branch Subversion-revision: 1218
2006-10-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
2006-09-17Split off query data into a net_querydata_t structure in net_structrw.cSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 612
2006-09-17Fix local LAN queries.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 611
2006-05-29Add -autojoin command line parameter to automatically search a local LAN Simon Howard
for a server and join it. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 544
2006-04-09Broadcast searches (currently broken)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 467
2006-04-06Add the ability to query the current state of servers, and '-query'Simon Howard
command line option to do so. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 464