CHANGELOG 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368
  1. 2005-05-28 Andre' Schulz <chickenman@exhale.de>
  2. * plugins/libd3.c
  3. added 3 variables to private data
  4. fixed port byte-order in "servers" packet
  5. minor change
  6. bumped version number to 0.1.1
  7. * masterserver.h
  8. bumped version number to 0.4.1
  9. * README
  10. added a note on how to resolve port collision of Q3 and EF plugins
  11. * NEWS
  12. added info on 0.4.1 release
  13. 2005-05-26 Andre' Schulz <chickenman@exhale.de>
  14. * docs/PROTOCOLS
  15. added Enemy Territory section
  16. minor changes and fixes
  17. * plugins/Makefile
  18. added libet and librw targets
  19. * plugins/libet.c
  20. new
  21. * plugins/librw.c
  22. new
  23. * plugins/libexample.c
  24. bumped version number to 0.4
  25. added some comments
  26. 2005-05-21 Andre' Schulz <chickenman@exhale.de>
  27. * README
  28. give credit to <XL*g0b>
  29. bumped version number to 0.4
  30. added Doom 3 specific information
  31. miscellaneous changes
  32. added STVEF1 specific information
  33. added warning on STVEF1 and Q3 port collision
  34. * masterserver.c
  35. update copyright notice
  36. minor changes
  37. * docs/PROTOCOLS
  38. added Half-Life section
  39. * plugins/libd3.c
  40. minor changes
  41. fixed a memory leak
  42. * plugins/libef.c
  43. works now
  44. rewrote the packet assembler
  45. other bug fixes and changes
  46. fixed a memory leak
  47. * plugins/libq3.c
  48. rewrote packet assembler
  49. miscellaneous fixes and changes
  50. bumped version number to 0.8
  51. * tests/Makefile
  52. added test-ef-heartbeat-getservers target
  53. added test-ef-getmotd target
  54. * tests/test-q3-heartbeat-query.c
  55. removed a debug message
  56. * tests/test-q3-heartbeat-getservers.c
  57. zero packet buffer before using it
  58. * NEWS
  59. updated for 0.4 release
  60. * masterserver.h
  61. bumped version number to 0.4
  62. * tests/test-ef-getmotd.c
  63. new
  64. * tests/test-q3-getmotd.c
  65. zero buffer before using it
  66. make challenge error message more verbose
  67. * tests/test-ef-heartbeat-getservers.c
  68. new
  69. * plugins/libh2.c
  70. bumped version number to 0.4
  71. * plugins/libq2.c
  72. bumped version number to 0.4
  73. * plugins/libqw.c
  74. bumped version number to 0.2
  75. 2005-05-17 Andre' Schulz <chickenman@exhale.de>
  76. * plugins/libef.c
  77. new
  78. 2005-05-15 Andre' Schulz <chickenman@exhale.de>
  79. * docs/PROTOCOLS
  80. added "statusResponse" packet of a populated server to STVEF1 section
  81. added "getInfo" packet with challenge to Doom3 section
  82. minor changes
  83. * plugins/Makefile
  84. add libef target
  85. * plugins/libd3.c
  86. minor changes and fixes
  87. 2005-05-14 Andre' Schulz <chickenman@exhale.de>
  88. * docs/PROTOCOLS
  89. added "getservers" packet size information to STVEF1
  90. * plugins/libd3.c
  91. fixed a glitch in the infoResponse parser
  92. minor changes
  93. * plugins/libq3.c
  94. use strdup() instead of calloc() and strncpy()
  95. * tests/test-d3-heartbeat-getServers.c
  96. new
  97. 2005-05-09 Andre' Schulz <chickenman@exhale.de>
  98. * plugins/libd3.c
  99. changed getinfo string
  100. added challenge and fs_game variables to private data
  101. hopefully fixed the infoResponse variables parser
  102. * plugins/libq2.c
  103. minor change
  104. * plugins/libq3.c
  105. fixed some off-by-one errors
  106. * plugins/libqw.c
  107. minor change
  108. 2005-04-29 Andre' Schulz <chickenman@exhale.de>
  109. * logging.c
  110. added vim modeline
  111. * masterserver.c
  112. added vim modeline
  113. * plugins/libd3.c
  114. added vim modeline
  115. minor changes
  116. * plugins/libexample.c
  117. added vim modeline
  118. minor changes
  119. * plugins/libh2.c
  120. added vim modeline
  121. minor changes
  122. * plugins/libq2.c
  123. added vim modeline
  124. minor changes
  125. * plugins/libq3.c
  126. added vim modeline
  127. minor changes
  128. new statusResponse parser
  129. new getmotd parser
  130. * plugins/libqw.c
  131. added vim modeline
  132. minor changes
  133. 2005-04-22 Andre' Schulz <chickenman@exhale.de>
  134. * masterserver.c
  135. zero the incoming packet buffer before using it
  136. fixed an off-by-one error in recvfrom() call
  137. * plugins/libd3.c
  138. remove dead code
  139. * plugins/libh2.c
  140. remove dead code
  141. * plugins/libq2.c
  142. remove dead code
  143. * plugins/libq3.c
  144. remove dead code
  145. simplified protocol number parsing in process_getservers()
  146. minor changes
  147. * plugins/libqw.c
  148. remove dead code
  149. 2005-04-21 Andre' Schulz <chickenman@exhale.de>
  150. * docs/PROTOCOLS
  151. updates all over the place
  152. * Makefile
  153. use $(libdir) instead of hardcoded paths
  154. * common.mk
  155. use $(prefix) instead of hardcoded paths
  156. * masterserver.c
  157. added -u and -g cmdline options to change user and group
  158. give_up_root_privileges() renamed to change_user_and_group_to()
  159. made help text more verbose
  160. use the new API
  161. minor changes and fixes
  162. * masterserver.h
  163. removed plugin_name data type
  164. introducing port_t
  165. * plugins/Makefile
  166. use $(libdir) instead of hardcoded paths
  167. * plugins/libd3.c
  168. use the new port_t data type
  169. * plugins/libexample.c
  170. use the new port_t data type
  171. * plugins/libh2.c
  172. use the new port_t data type
  173. * plugins/libq2.c
  174. use the new port_t data type
  175. * plugins/libq3.c
  176. use the new port_t data type
  177. * plugins/libqw.c
  178. use the new port_t data type
  179. add packetlen to process()
  180. * tests/Makefile
  181. added test-d3-heartbeat-getServers
  182. minor changes and fixes
  183. * tests/test-q2-heartbeat-query.c
  184. removed hardcoded number of servers; now taken from command line
  185. more verbose error message on test failure
  186. * tests/test-q2-shutdown.c
  187. lots of fixes and changes
  188. should work now =)
  189. 2005-04-19 Andre' Schulz <chickenman@exhale.de>
  190. * docs/PROTOCOLS
  191. updated UT section
  192. 2004-12-20 Andre' Schulz <chickenman@exhale.de>
  193. * masterserver.h
  194. added packet length to process()
  195. * masterserver.c
  196. minor changes
  197. added packet length parameter to process()
  198. * plugins/Makefile
  199. added libd3
  200. * plugins/libh2.c
  201. added packet length to process()
  202. * plugins/libq2.c
  203. added packet length to process()
  204. * plugins/libq3.c
  205. added packet length to process()
  206. * plugins/libd3.c
  207. new
  208. * tests/test-q2-ping.c
  209. clear reply buffer before using it
  210. more verbose error message on test failure
  211. 2004-11-30 Andre' Schulz <chickenman@exhale.de>
  212. * common.mk
  213. add -rdynamic to FreeBSD CFLAGS
  214. * masterserver.c
  215. fixed wrong FreeBSD header <sys/limits.h>, should be <limits.h>
  216. * plugins/libq3.c
  217. minor fix
  218. * docs/PROTOCOLS
  219. added Doom 3 packets
  220. (newVersion, heartbeat, srvAuth, auth, challenge, challengeResponse)
  221. 2004-11-29 Andre' Schulz <chickenman@exhale.de>
  222. * Makefile
  223. put commonly needed options in common.mk
  224. * common.mk
  225. new
  226. added Solaris support
  227. * masterserver.c
  228. added ifdef for Solaris and FreeBSD support
  229. * plugins/Makefile
  230. use common.mk
  231. * tests/Makefile
  232. use common.mk
  233. * tests/test-q2-heartbeat-query.c
  234. increase timeout to 15 seconds
  235. use memcpy() instead of casting and shifting (fixes endianess issue)
  236. minor changes
  237. * tests/q2-test-ping.c
  238. minor change
  239. * tests/test-q3-heartbeat-getservers.c
  240. use memcpy() instead of casting and shifting (fixes endianess issue)
  241. minor changes
  242. 2004-11-20 Andre' Schulz <chickenman@exhale.de>
  243. * README
  244. give credit to <shr1k3@gmx.at> for FreeBSD patch
  245. * plugins/libq3.c
  246. minor fixes and cleanups
  247. sanity check packets to prevent bad stuff from happening
  248. * tests/test-q2-shutdown.c
  249. minor fix
  250. * Makefile
  251. fix FreeBSD CFLAGS
  252. 2004-11-19 Andre' Schulz <chickenman@exhale.de>
  253. * masterserver.c
  254. minor fixes and cleanups
  255. no longer trying to load files without .so suffix
  256. fixed load_plugins()
  257. changed ifdef option to __linux__
  258. * plugins/libh2.c
  259. changed email address
  260. * plugins/libq2.c
  261. changed email address
  262. * plugins/libq3.c
  263. changed email address
  264. include math.h
  265. simplified process_getservers()
  266. * plugins/libqw.c
  267. changed email address
  268. * tests/Makefile
  269. add -lm to CFLAGS
  270. * tests/test-q3-heartbeat-getservers.c
  271. include math.h
  272. read number of servers from command line
  273. increased timeout to 15 seconds
  274. 2004-11-17 Andre' Schulz <chickenman@exhale.de>
  275. * masterserver.c
  276. fixed FreeBSD ifdef section
  277. really install the SIGINT handler
  278. 2004-11-16 Andre' Schulz <chickenman@exhale.de>
  279. * logging.c
  280. ! undo last commit !
  281. * logging.h
  282. ! undo last commit !
  283. * masterserver.c
  284. ! undo last commit !
  285. added SIGINT handler function sigint_handler()
  286. using EXIT_* as return values when exiting the program
  287. changed email address to <chickenman@exhale.de>
  288. minor changes and fixes
  289. Thanks to <shr1k3@gmx.at> for the following:
  290. FreeBSD friendliness fixes; mostly header dependencies
  291. ifdef'd SO_BINDTODEVICE section out for FreeBSD
  292. * masterserver.h
  293. ! undo last commit !
  294. added global variable master_shutdown (is set on SIGINT reception)
  295. * Makefile
  296. remove -pedantic from DEBUG_CFLAGS
  297. add FreeBSD support; Thanks <shr1k3@gmx.at>!
  298. * plugins/libh2.c
  299. FreeBSD friendliness fixes (header dependencies)
  300. Thanks <shr1k3@gmx.at>!
  301. * plugins/libq2.c
  302. FreeBSD friendliness fixes (header dependencies)
  303. Thanks <shr1k3@gmx.at>!
  304. * plugins/libq3.c
  305. FreeBSD friendliness fixes (header dependencies)
  306. Thanks <shr1k3@gmx.at>!
  307. * plugins/libqw.c
  308. FreeBSD friendliness fixes (header dependencies)
  309. Thanks <shr1k3@gmx.at>!
  310. 2004-11-10 Andre' Schulz <chickenman@exhale.de>
  311. * Makefile
  312. added -pedantic to DEBUG_CFLAGS
  313. * logging.c
  314. converted comments to ISO C style
  315. * logging.h
  316. converted comments to ISO C style
  317. * masterserver.c
  318. converted comments to ISO C style
  319. added SIGINT handler function sigint_handler()
  320. using EXIT_* as return values when exiting the program
  321. changed email address to <chickenman@exhale.de>
  322. minor changes and fixes
  323. * masterserver.h
  324. converted comments to ISO C style
  325. added global variable master_shutdown (is set on SIGINT reception)
  326. * docs/PROTOCOLS
  327. added description of player information block to QW section
  328. 2004-10-24 Andre' Schulz <andre@malchen.de>
  329. * README
  330. fixed/added some stuff
  331. * logging.h
  332. removed variable names in function prototypes
  333. * masterserver.c
  334. moved header files from masterserver.h to masterserver.c
  335. call plugin specific free_privdata() function to fix a memory leak
  336. loading an unlimited number of plugins is now possible
  337. * masterserver.h
  338. removed all header files
  339. added free_privdata() to plugin API
  340. removed variable names in function prototypes
  341. * docs/PROTOCOLS
  342. added QuakeWorld packets
  343. added RtCW packets
  344. minor changes in Doom3 section
  345. * plugins/libexample.c
  346. removed variable names in function prototypes
  347. added free_privdata()
  348. * plugins/libh2.c
  349. added header files
  350. removed variable names in function prototypes
  351. minor changes
  352. * plugins/libq2.c
  353. added header files
  354. removed variable names in function prototypes
  355. minor changes
  356. * plugins/libq3.c
  357. added header files
  358. removed variable names in function prototypes
  359. minor changes
  360. added free_privdata() function to fix a memory leak
  361. * plugins/libqw.c
  362. added header files
  363. removed variable names in function prototypes
  364. minor changes
  365. * tests/test-q2-heartbeat-query.c
  366. increased timeout to 10 seconds
  367. * tests/test-q3-heartbeat-getservers.c
  368. increased timeout to 10 seconds
  369. 2004-07-29 Andre' Schulz <andre@malchen.de>
  370. * docs/PROTOCOLS
  371. added getIpAuthorize packet to RtCW section
  372. 2004-07-24 Andre' Schulz <andre@malchen.de>
  373. * docs/PROTOCOLS
  374. added RtCW section
  375. 2004-07-23 Andre' Schulz <andre@malchen.de>
  376. * docs/PROTOCOLS
  377. added ports for QW and HW
  378. added QuakeForge link
  379. 2004-06-10 Andre' Schulz <andre@malchen.de>
  380. * docs/PROTOCOLS
  381. added "getIpAuthorize", "ipAuthorize", "ping" and "disconnect" packets
  382. 2004-05-01 Andre' Schulz <andre@malchen.de>
  383. * masterserver.h
  384. removed <math.h> inclusion
  385. * tests/Makefile
  386. added test-q3-getmotd target
  387. * tests/test-q2-heartbeat-query.c
  388. replaced all error messages with perror() calls
  389. disable stream buffering for cosmetic reasons
  390. * tests/test-q2-ping.c
  391. replaced all error messages with perror() calls
  392. disable stream buffering for cosmetic reasons
  393. * tests/test-q2-shutdown.c
  394. replaced all error messages with perror() calls
  395. disable stream buffering for cosmetic reasons
  396. * tests/test-q3-heartbeat-getservers.c
  397. fixes/changes all around
  398. * tests/test-q3-getmotd.c
  399. added
  400. 2004-04-30 Andre' Schulz <andre@malchen.de>
  401. * plugins/libq3.c
  402. minor clean up
  403. realloc() failure for q3m.list shouldn't be fatal anymore
  404. * tests/Makefile
  405. added test-q3-heartbeat-getservers target
  406. * tests/test-q3-heartbeat-getservers.c
  407. added
  408. 2004-04-29 Andre' Schulz <andre@malchen.de>
  409. * docs/PROTOCOLS
  410. updated STEF1 and UT section
  411. 2004-04-27 Andre' Schulz <andre@malchen.de>
  412. * tests/Makefile
  413. fixed ... kinda
  414. * tests/test-q2.c
  415. split up into three separate tests and deleted
  416. * tests/test-q2-ping.c
  417. added; was part of test-q2.c
  418. * tests/test-q2-heartbeat-query.c
  419. added; was part of test-q2.c
  420. * tests/test-q2-shutdown.c
  421. added; was part of test-q2.c
  422. * docs/PROTOCOLS
  423. minor fix
  424. 2004-04-26 Andre' Schulz <andre@malchen.de>
  425. * docs/PROTOCOLS
  426. merge and translation done
  427. * docs/PROTOKOLLE
  428. deleted
  429. * docs/PROTOKOLLE.uk_us
  430. deleted
  431. * README
  432. added more information on LAN usage
  433. * masterserver.h
  434. version number bumped to 0.3.3
  435. * plugins/libh2.c
  436. version number bumped up to 0.3.3
  437. * plugins/libq2.c
  438. version number bumped up to 0.3.3
  439. * NEWS
  440. added 0.3.3 release information
  441. 2004-04-19 Andre' Schulz <andre@malchen.de>
  442. * plugins/libq2.c
  443. fixed "query" string again by deleting \n and setting size to 5
  444. * plugins/libh2.c
  445. fixed "query" string again by deleting \n and setting size to 5
  446. 2004-04-06 Andre' Schulz <andre@malchen.de>
  447. * docs/PROTOCOLS
  448. merged more of PROTOKOLLE and PROTOKOLLE.uk_us
  449. 2004-03-01 Andre' Schulz <andre@malchen.de>
  450. * README
  451. added info on LAN party/DNS name stuff
  452. * docs/PROTOCOLS
  453. created
  454. merged some of PROTOKOLLE and PROTOKOLLE.uk_us
  455. 2004-02-09 Andre' Schulz <andre@malchen.de>
  456. * plugins/libqw.c
  457. renamed _init() function to init_plugin()
  458. added __attribute__ ((constructor)) to init_plugin() declaration
  459. * plugins/libq2.c
  460. renamed _init() function to init_plugin()
  461. added __attribute__ ((constructor)) to init_plugin() declaration
  462. * plugins/libh2.c
  463. renamed _init() function to init_plugin()
  464. added __attribute__ ((constructor)) to init_plugin() declaration
  465. * plugins/libq3.c
  466. renamed _init() function to init_plugin()
  467. added __attribute__ ((constructor)) to init_plugin() declaration
  468. * plugins/Makefile
  469. removed -rdynamic from CFLAGS
  470. replaced $(LD) with $(CC) in %.so target
  471. * plugins/libexample.c
  472. renamed _init() function to init_plugin()
  473. added __attribute__ ((constructor)) to init_plugin() declaration
  474. minor fixes and changes
  475. 2004-02-01 Andre' Schulz <andre@malchen.de>
  476. * plugins/libh2.c
  477. removed H2M_PORT definition
  478. minor stuff fixed/changed/cleaned up
  479. version number bumped up to 0.3.2
  480. * plugins/libq3.c
  481. minor stuff fixed/changed/cleaned up
  482. version number bumped up to 0.7.2
  483. * plugins/libq2.c
  484. minor stuff fixed/changed/cleaned up
  485. version number bumped up to 0.3.2
  486. * plugins/libqw.c
  487. minor stuff fixed/changed/cleaned up
  488. version number bumped up to 0.1.1
  489. * masterserver.h
  490. version number bumped up to 0.3.2
  491. * tests/test-q2.c
  492. minor fixes
  493. * NEWS
  494. added info about 0.3.2 release
  495. 2004-01-28 Andre' Schulz <andre@malchen.de>
  496. * masterserver.c
  497. forgot to comment out some log level related code
  498. * tests/test-q2.c
  499. timeouts implemented
  500. fixed and improved test_query()
  501. created test_shutdown()
  502. test summary
  503. 2004-01-20 Andre' Schulz <andre@malchen.de>
  504. * plugins/libh2.c
  505. fixed "query" string by deleting \0 and setting size to 6
  506. 2004-01-15 Andre' Schulz <andre@malchen.de>
  507. * tests/test-q2.c
  508. fixed some stuff
  509. * tests/Makefile
  510. changed some stuff
  511. 2004-01-14 Andre' Schulz <andre@malchen.de>
  512. * README
  513. give credit to fatty <fatty@gmx.ch>
  514. 2004-01-13 Andre' Schulz <andre@malchen.de>
  515. * plugins/libq2.c
  516. fixed "query" string by deleting \0 and setting size to 6
  517. this broke Gamespy queries
  518. thanks to fatty <fatty@gmx.ch>
  519. 2004-01-12 Andre' Schulz <andre@malchen.de>
  520. * Makefile
  521. added "check" target
  522. * tests/Makefile
  523. added
  524. 2004-01-11 Andre' Schulz <andre@malchen.de>
  525. * tests/test-q2.c
  526. merged q2 header into packets
  527. test_query() created
  528. 2004-01-07 Andre' Schulz <andre@malchen.de>
  529. * tests/test-q2.c
  530. updated
  531. 2004-01-06 Andre' Schulz <andre@malchen.de>
  532. * masterserver.h
  533. FBSD friendliness
  534. include netinet/in.h before arpa/inet.h
  535. include sys/types.h before everything else
  536. * masterserver.c
  537. not including sys/types.h anymore
  538. 2003-12-26 Andre' Schulz <andre@malchen.de>
  539. * docs/PROTOKOLLE
  540. added more heretic2 packet dumps
  541. added another heretic2 info packet
  542. * plugins/libh2.c
  543. fixed process() function (broken for quite some time doh!)
  544. removed version defines
  545. bumped version number up to 0.3.1
  546. more verbose error messages
  547. minor fixes all over the place
  548. * logging.c
  549. added variable _log_level
  550. * logging.h
  551. disabled all log level code
  552. * masterserver.c
  553. disabled all log level code
  554. * plugins/libq2.c
  555. removed version defines
  556. bumped version number up to 0.3.1
  557. minor fixes all over the place
  558. * plugins/libqw.c
  559. disabled some unused code
  560. minor fixes
  561. * tests/test-q2.c
  562. new
  563. 2003-12-23 Andre' Schulz <andre@malchen.de>
  564. * docs/PROTOKOLLE
  565. added heartbeat, shutdown and info packet dumps for heretic2
  566. 2003-12-20 Andre' Schulz <andre@malchen.de>
  567. * logging.h
  568. add log level checking to macros
  569. * masterserver.c
  570. added -L option to select log level
  571. reformatted some lines to 80 chars width
  572. * plugins/libh2.c
  573. unified heartbeat message
  574. * plugins/libq2.c
  575. unified heartbeat message
  576. * plugins/libq3.c
  577. unified heartbeat message
  578. minor stuff
  579. * plugins/libqw.c
  580. removed some dead code
  581. real vars in qwm_private_data_t
  582. unified heartbeat message
  583. 2003-11-18 Andre' Schulz <andre@malchen.de>
  584. * plugins/libqw.c
  585. added packet definitions
  586. 2003-11-17 Andre' Schulz <andre@malchen.de>
  587. * plugins/libh2.c
  588. removed superfluous if statement
  589. corrected description at line 1
  590. * plugins/libq2.c
  591. removed superfluous if statement
  592. * plugins/libq3.c
  593. removed superfluous if statement
  594. * plugins/libexample.c
  595. removed version #defines
  596. 2003-11-16 Andre' Schulz <andre@malchen.de>
  597. * docs/PROTOKOLLE
  598. added STEF1 section
  599. updated Quake3, Quake2, Heretic2 section
  600. * plugins/libqw.c
  601. removed superfluous stuff
  602. updates all around
  603. 2003-11-15 Andre' Schulz <andre@malchen.de>
  604. * plugins/Makefile
  605. small changes
  606. added libqw
  607. * plugins/libqw.c
  608. removed process_{statusResponse,getmotd}()
  609. added process_ping()
  610. added process_shutdown()
  611. changes in process()
  612. 2003-11-14 Andre' Schulz <andre@malchen.de>
  613. * plugins/libqw.c
  614. new
  615. 2003-10-30 Andre' Schulz <andre@malchen.de>
  616. * masterserver.c
  617. removed useless stuff from error messages
  618. made memory related error messages more verbose
  619. 2003-10-26 Andre' Schulz <andre@malchen.de>
  620. * masterserver.c
  621. print help text if unknown option was given on cmdline
  622. 2003-10-25 Andre' Schulz <andre@malchen.de>
  623. * plugins/libq3.c
  624. deleted all code which had something to do with options in getservers packets
  625. rewrote most of process_getservers()
  626. version number bumped to 0.7.1
  627. made error messages more verbose
  628. other minor changes
  629. * masteserver.c
  630. version number bumped to 0.3.1
  631. * README
  632. updates all around
  633. 2003-10-24 Andre' Schulz <andre@malchen.de>
  634. * masterserver.c
  635. fixed: skipped one server during removal in plugin_heartbeat_thread()
  636. fixed: num_msgs got set to -1 in plugin_thread()
  637. minor changes
  638. * logging.h
  639. minor changes
  640. * plugins/libq3.c
  641. fixed off-by-one and other bugs in process_statusResponse()
  642. fixed bad abort condition in process_getservers() for-loop
  643. 2003-10-22 Andre' Schulz <andre@malchen.de>
  644. * docs/PROTOKOLLE
  645. small update to q3 section
  646. date format changed to ISO 8601
  647. * README
  648. date format changed to ISO 8601
  649. 2003-10-20 Andre' Schulz <andre@malchen.de>
  650. * logging.c
  651. log_init() now returns an int
  652. * logging.h
  653. changed log_init() return type to int
  654. * masterserver.c
  655. got rid of most fprintf() calls in favor of our own logging code
  656. version number bumped to 0.3
  657. fixed a bug when binding to more than one interface
  658. minor changes
  659. much faster replacement code in delete_server()
  660. * plugins/libh2.c
  661. removed an unused variable
  662. * plugins/libq2.c
  663. removed an unused variable
  664. * plugins/libq3.c
  665. fixed not sending server list if no options given in getservers packet
  666. deleted some superfluous DEBUG() messages
  667. added getmotd INFO() message
  668. * plugins/libexample.c
  669. minor changes
  670. * NEWS
  671. added info on 0.3 release
  672. * Makefile
  673. added RMDIR
  674. 2003-10-19 Andre' Schulz <andre@malchen.de>
  675. * masterserver.c
  676. fixed a bug with sockets in plugin_thread()
  677. fewer messages when not in debug mode
  678. fixed a memory problem in socket creation routines
  679. * plugins/libh2.c
  680. fixed
  681. split up the process() function
  682. * plugins/libq2.c
  683. fixed
  684. split up the process() function
  685. * plugins/libq3.c
  686. minor changes
  687. * plugins/libexample.c
  688. changed code to work with the API changes
  689. 2003-10-18 Andre' Schulz <andre@malchen.de>
  690. * masterserver.c
  691. rewrote cmdline parser with getopt()
  692. standard behavior is now to _not_ fork into background
  693. binding to 1 interface works now
  694. split ERROR() macro up in ERROR() and ERRORV()
  695. this fixes a compile problem with gcc 2.95.3 (and maybe others)
  696. minor changes and fixes
  697. multi port support is in!
  698. 2003-10-13 Andre' Schulz <andre@malchen.de>
  699. * plugins/libq3.c
  700. fixed a bug in process_getservers() parser
  701. added missing \n to some log messages
  702. 2003-10-12 Andre' Schulz <andre@malchen.de>
  703. * plugins/libq3.c
  704. eliminated strtok() in process_getservers()
  705. added missing error handling to [mc]alloc() calls
  706. some minor changes/fixes
  707. 2003-09-17 Andre' Schulz <andre@malchen.de>
  708. * plugins/libq3.c
  709. calculate getstatus msg_out_length dynamically
  710. 2003-09-11 Andre' Schulz <andre@malchen.de>
  711. * plugins/libq3.c
  712. q3_pkt_heartbeat_len++
  713. 2003-09-07 Andre' Schulz <andre@malchen.de>
  714. * plugins/libq3.c
  715. new statusResponse parser
  716. preliminary motd support
  717. now sending getstatus with challenge
  718. added cleanup()
  719. * docs/PROTOKOLLE
  720. tiny correction in "motd"
  721. * masterserver.h
  722. added cleanup() to masterserver_plugin struct
  723. * masterserver.c
  724. small change due to cleanup() in plugin
  725. 2003-08-27 Andre' Schulz <andre@malchen.de>
  726. * plugins/libq3.c
  727. revert s/strncmp/strcmp/ changes in process()
  728. added "\n" to q3_pkt_heartbeat
  729. player info parser almost completed
  730. create challenge in send_getstatus()
  731. * masterserver.c
  732. clear the incoming packet buffer
  733. 2003-08-26 Andre' Schulz <andre@malchen.de>
  734. * plugins/libq3.c
  735. s/strncmp/strcmp/
  736. q3m_player_data_t struct added
  737. began work on player data parser
  738. rewrote and renamed process_infoResponse() to process_statusResponse()
  739. rewrote and renamed send_getinfo() to send_getstatus()
  740. * plugins/libq2.c
  741. s/strncmp/strcmp/
  742. * plugins/libh2.c
  743. s/strncmp/strcmp/
  744. 2003-08-25 Andre' Schulz <andre@malchen.de>
  745. * plugins/libq2.c
  746. fix s/nr_servers/num_servers/ breakage
  747. * plugins/libh2.c
  748. fix s/nr_servers/num_servers/ breakage
  749. * plugins/libq3.c
  750. error handling of [m|re|c]alloc()
  751. rewrote q3m_private_data_t to reflect s/getinfo/getstatus/ change
  752. * masterserver.c
  753. error handling of calloc() at start of plugin_thread()
  754. small optimization of cleanup loop at end of plugin_thread()
  755. 2003-08-24 Andre' Schulz <andre@malchen.de>
  756. * plugins/libq3.c
  757. getserversResponse packet assembler mostly done
  758. version number bumped to 0.7
  759. * docs/PROTOKOLLE
  760. tiny change
  761. * docs/PROTOKOLLE.uk_us
  762. tiny change
  763. 2003-08-23 Andre' Schulz <andre@malchen.de>
  764. * plugins/libq3.c
  765. s/nr_servers/num_servers/
  766. parser for infoResponse packets rewritten using strtok()
  767. parser for getservers packets done
  768. began getserversResponse packet assembler overhaul
  769. process() split up into several functions
  770. new function process_heartbeat()
  771. new function send_getinfo()
  772. new function process_getservers()
  773. new function process_infoResponse()
  774. added _options bit field to q3m_private_data_t
  775. * masterserver.c
  776. s/nr_servers/num_servers/
  777. free() private_data of plugins during cleanup
  778. * masterserver.h
  779. s/nr_servers/num_servers/ in struct masterserver_plugin for consistency
  780. 2003-08-22 Andre' Schulz <andre@malchen.de>
  781. * plugins/libq3.c
  782. replaced snprintf() with memcpy()
  783. killed unsigned char ip, port
  784. 2003-06-09 Andre' Schulz <andre@malchen.de>
  785. * docs/PROTOKOLLE
  786. Q3: "heartbeat" and "getservers" updated
  787. * plugins/libq3.c
  788. private_data added
  789. send "getinfo" on every "heartbeat" (this is not right; will fix later)
  790. "infoResponse" packet parser
  791. 2003-04-26 Andre' Schulz <andre@malchen.de>
  792. * plugins/libq3.c
  793. version number bumped to 0.6
  794. * plugins/libq2.c
  795. works now with the new masterserver_plugin struct
  796. less "chatty"
  797. version number bumped to 0.3
  798. * plugins/libh2.c
  799. overwritten with libq2.c; works now, too
  800. 2003-04-20 Andre' Schulz <andre@malchen.de>
  801. * masterserver.c
  802. INFO() message typo fixed in plugin_heartbeat_thread()
  803. * plugins/libq3.c
  804. new code works
  805. 2003-04-17 Andre' Schulz <andre@malchen.de>
  806. * masterserver.c
  807. msg_out and msg_out_length changes
  808. * masterserver.h
  809. char *msg_out -> char **msg_out
  810. int msg_out_length -> int *msg_out_length
  811. int num_msgs added
  812. math.h include
  813. * plugins/libq3.c
  814. now only sending 112 servers per packet
  815. 2003-03-14 Andre' Schulz <andre@malchen.de>
  816. * masterserver.c
  817. transferred some code from main() into functions:
  818. int load_plugins(char *, void* [])
  819. void give_up_root_privileges(void)
  820. removed unused commented out code
  821. * docs/PROTOKOLLE
  822. "ping" and "ack" packets added to Quake2
  823. * plugins/libq2.c
  824. answer "ping" packets
  825. msg_out_length+1 in calloc() for query/ping packet msg_out
  826. thx to valgrind
  827. version number bumped up to 0.2
  828. * plugins/libq3.c
  829. fixed snprintf() off-by-one bugs
  830. msg_out_length+1 in calloc() for getservers packet msg_out
  831. thx to valgrind
  832. 2003-03-08 Andre' Schulz <andre@malchen.de>
  833. * plugins/libq2.c
  834. preliminary q2 plugin
  835. * plugins/libq3.c
  836. substituted the "4" on lines 82 and 137 with q3_pkt_header_len
  837. failing to reallocate the serverlist is now fatal
  838. added Q3M_PROTOCOL for future use
  839. * masterserver.c
  840. commented out INFO() messages in plugin_thread()
  841. removed unused commented out code in plugin_thread(),
  842. plugin_heartbeat_thread(), delete_server()
  843. check realloc return value in delete_server()
  844. check calloc return value in register_plugin()
  845. * masterserver.h
  846. added protocol variable in masterserver_plugin struct for future use
  847. 2003-03-03 Andre' Schulz <andre@malchen.de>
  848. * masterserver.c
  849. when removing a dead server show its ip adress and port
  850. 2003-03-02 Andre' Schulz <andre@malchen.de>
  851. * docs/PROTOKOLLE
  852. more packet dumps
  853. 2003-03-01 Andre' Schulz <andre@malchen.de>
  854. * docs/PROTOKOLLE
  855. included packet dumps for better understanding
  856. 2003-02-24 Andre' Schulz <andre@malchen.de>
  857. * plugins/libexample.c
  858. don't fill next and mutex variables in masterserver_plugin struct
  859. * plugins/libh2.c
  860. don't fill next and mutex variables in masterserver_plugin struct
  861. * plugins/libq3.c
  862. don't fill next and mutex variables in masterserver_plugin struct
  863. * masterserver.h
  864. next and mutex variables moved down in masterserver_plugin struct
  865. (they don't have to be declared in plugins anymore)
  866. * masterserver.c
  867. init pthread mutex in masterserver_plugin struct in register_plugin()
  868. 2003-02-21 Andre' Schulz <andre@malchen.de>
  869. * plugins/libq3.c
  870. reformat to 80 chars width
  871. missed some fprintf()s; converted to fitting log macro
  872. changed Q3_HEADER from preprocessor define to static char
  873. created static char packet variables
  874. some minor changes/fixes
  875. * plugins/libh2.c
  876. deleted and recreated from the new libq3.c
  877. small bugfixes
  878. * plugins/libexample.c
  879. minor change to version info
  880. * masterserver.h
  881. minor change to version info
  882. * README
  883. minor changes
  884. * Makefile
  885. change PREFIX to /usr
  886. * masterserver.c
  887. forgot to set pointer to next entry in linked list =)
  888. added cmdline option -p and --plugin-dir to configure plugin directory
  889. 2003-02-20 Andre' Schulz <andre@malchen.de>
  890. * plugins/libh2.c
  891. copied code from libq3.c and customized it for heretic2
  892. * README
  893. added qstat credits
  894. * docs/PROTOKOLLE
  895. minor changes in quake2 and heretics sections
  896. 2003-02-19 Andre' Schulz <andre@malchen.de>
  897. * logging.h
  898. s/SUBNAME/LOG_SUBNAME/
  899. * masterserver.c
  900. s/SUBNAME/LOG_SUBNAME/
  901. * plugins/libq3.c
  902. s/SUBNAME/LOG_SUBNAME/
  903. * plugins/libh2.c
  904. s/SUBNAME/LOG_SUBNAME/
  905. * plugins/libexample.c
  906. s/SUBNAME/LOG_SUBNAME/
  907. 2003-02-08 Andre' Schulz <andre@malchen.de>
  908. * masterserver.c
  909. using snprintf instead of sprintf
  910. * plugins/libq3.c
  911. using snprintf instead of sprintf
  912. * README
  913. logging code credit to Viktor
  914. * logging.c / logging.h
  915. added to cvs
  916. 2003-02-06 Andre' Schulz <andre@malchen.de>
  917. * masterserver.c
  918. slight change to GPL disclaimer
  919. * logging.c
  920. GPL disclaimer added
  921. * plugins/libexample.c
  922. GPL disclaimer added
  923. * plugins/libh2.c
  924. GPL disclaimer added
  925. * plugins/libq3.c
  926. GPL disclaimer added
  927. 2003-02-04 Andre' Schulz <andre@malchen.de>
  928. * masterserver.h
  929. MASTERSERVER_VERSION split up into:
  930. MASTERSERVER_MAJOR_VERSION
  931. MASTERSERVER_MINOR_VERSION
  932. * plugins/libq3.c
  933. Q3M_PLUGIN_VERSION split up into:
  934. Q3M_PLUGIN_VERSION_MAJOR
  935. Q3M_PLUGIN_VERSION_MINOR
  936. * plugins/libh2.c
  937. H2M_PLUGIN_VERSION split up into:
  938. H2M_PLUGIN_VERSION_MAJOR
  939. H2M_PLUGIN_VERSION_MINOR
  940. * plugins/libexample.c
  941. EXAMPLE_PLUGIN_VERSION split up into:
  942. EXAMPLE_PLUGIN_VERSION_MAJOR
  943. EXAMPLE_PLUGIN_VERSION_MINOR
  944. P.S.: string version defines are a pain in the ass
  945. 2002-12-30 Andre' Schulz <andre@malchen.de>
  946. * masterserver.h
  947. added ERROR, PRINT and DEBUG defines
  948. 2002-12-19 Andre' Schulz <andre@malchen.de>
  949. * docs/PROTOKOLLE
  950. some corrections
  951. quake2 section updated
  952. unreal tournament section created
  953. added a link to q2 net specs
  954. 2002-12-03 Andre' Schulz <andre@malchen.de>
  955. * masterserver.c:
  956. daemonizing implemented
  957. binding to specific interfaces implemented (and root privilege dropping)
  958. catch opendir() errors
  959. catch dlopen() errors
  960. * masterserver.h:
  961. version number bumped up to 0.2