In the 'while (current)' loop in stat_servers_input_callback(), the
string list usually has a NULL string (input had newline with no text)
at the end of the server entry. However, there was no NULL string for
the error message when qstat command is not found resulting in a crash.
An alternate way to fix this would be to add a newline to error_msg in
start_qstat().
- xqf version is now computed at configure time using git tags
- a tool named tools/do_checkinstall is added to easily build a package
on checkinstall's supported systems
- now use more than one flag to unescape color codes
this way color escaping can be per-game configured
- also rewrite some flag names to unify the wording
- xonotic RGB color codes are now escaped
Hence, it's now possible to enable:
- GAME_COLOR_QUAKE3
- GAME_COLOR_SAVAGE
- GAME_COLOR_UNVANQUISHED
- GAME_COLOR_XONOTIC
* Enable more warnings.
* current_server_filter is unsigned, don't check if less than 0.
* current_server_filter was allowed for 0 (None) but wasn't suppose
to. The filter menu items are just greyed out (logic issue).
* Some callbacks access a varible but do nothing with it.
* PCX skin loading function returns signed char pointer but is used
as unsigned char pointer in src/skin.c.
gtk_file_chooser_set_filename(.., filename=NULL) internally calls
gtk_file_chooser_unselect_all(..) and then
gtk_file_chooser_select_filename(.., filename) which asserts that
filename is not NULL causing a warning.
gtk_file_chooser_set_filename(.., "") sets file chooser to current
working directory. Saving config after that will save the directory
in the config file.
When playing a sound in the preferences menu use the program specified
in the menu instead of the config file. This avoids having to save the
preferences before new sound player will be used for testing sounds.
After gamesxml2c was built, games.xml was converted to games.c.
However xqf may be built before gamesxml2c causing xqf build to fail
due to games.c not being generated yet. Also, modifying games.xml did
not automatically regenerate games.c or rebuild xqf's src/game.c which
includes it.
Add a custom build rule for generating games.c which depends on
games.xml and gamesxml2c. Specify that src/game.c depends on games.c
so src/game.c will be rebuilt if games.xml changes. Now games.xml
should always be converted and compiled into xqf.
travis-ci.org now uses Ubuntu Trusty (14.04 LTS) by default instead
of Precise (12.04 LTS). libgeoip-dev is available there. libgtk2.0-dev
is not installed by default.
Additional packages were installed from Vivid (15.04) but it was
retired to old-releases.ubuntu.com. There was a strange dependency
issue with libgomp1/gcc-4.9-base using vivid on old-releases so I
switched to Xenial (16.04 LTS).
- Dæmon engine both supports DPK and legacy PK3 paks
- DPK versionning and dependency mechanism is not implemented
- The code loads all DPK and PK3 found even if fs_legacypaks
is not enabled in game