1239 Commits

Author SHA1 Message Date
Zack Middleton
a09feb5ddd Fix unescaping Unvanquished ^P###o color codes 2018-03-21 00:23:21 -05:00
Zack Middleton
6d46b4d84e Unescape Quake 3 ^[a-zA-Z] color codes
Maybe GAME_COLOR_QUAKE3 flag should be split for numeric and alpha
depending on what other games support that reuse the flag.
2018-03-21 00:15:35 -05:00
Zack Middleton
6940634c49 Fix infinite loop when unescaping string with ^o, ref #194
If ^ was not considered part of a color sequence the loop would be
stuck and run forever. So don't leave ^ for next time when it was
just checked.
2018-03-21 00:07:13 -05:00
Zack Middleton
f262f35d93 Display error dialog when qstat is missing, ref #179
Fix master source down/timeout/error set in parse_master_output() being
overridden to source up in stat_master_input_callback().
2018-03-21 00:02:52 -05:00
Zack Middleton
e2639deb0e Fix crash if qstat is missing when querying a server, fix #179
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().
2018-03-20 22:51:42 -05:00
Thomas Debesse
1f90c8ec7d typo 2018-03-21 02:39:45 +01:00
Thomas Debesse
cc66f7b859
Merge pull request #202 from illwieckz/q2colors
enable q3 colors filtering for q2 strings too
2018-03-21 02:32:54 +01:00
Thomas Debesse
2989b81037 enable q3 colors filtering for q2 strings too
some q2-based games use them
2018-03-21 02:30:26 +01:00
Thomas Debesse
c394ec0bd8
Merge pull request #198 from illwieckz/utmaster
update unreal/ut master server list
2018-03-21 01:15:10 +01:00
Thomas Debesse
3dfb194967 update unreal/ut master server list 2018-03-21 01:11:27 +01:00
Zack Middleton
542a8df899 Fix compiling using gcc 2018-03-20 19:09:25 -05:00
Thomas Debesse
0c815cd3f4
Merge pull request #197 from illwieckz/teeworlds
add initial teeworlds support
2018-03-21 00:45:55 +01:00
Thomas Debesse
0e53a8f986 add initial teeworlds support 2018-03-21 00:45:13 +01:00
Thomas Debesse
448cf1e559
Merge pull request #196 from illwieckz/scripts
update scripts
2018-03-17 23:19:20 +01:00
Thomas Debesse
0dcc9b3fa7 update scripts
- script file extension considered harmful
- adding missing license on scripts
  they are brand new and not covered by GPL
2018-03-17 23:16:48 +01:00
Thomas Debesse
d6dcf1157d
Merge pull request #195 from illwieckz/checkinstall
version computation based on git, add checkinstall helper
2018-03-17 23:03:56 +01:00
Thomas Debesse
9f8d085b4c version computation based on git, add checkinstall helper
- 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
2018-03-17 23:03:04 +01:00
Thomas Debesse
9693aec4da
Merge pull request #194 from illwieckz/colorcode
better color code escaping code
2018-03-17 21:19:08 +01:00
Thomas Debesse
8f01b33404 better color code escaping code 2018-03-17 21:16:33 +01:00
Thomas Debesse
4a9340187e
Merge pull request #193 from illwieckz/levelshot
add reusable has_known_image_format function for levelshot finding
2018-03-17 19:52:37 +01:00
Thomas Debesse
ddbd17683c fix etl home path 2018-03-17 19:49:02 +01:00
Thomas Debesse
bac6a942f7 add reusable has_known_image_format function for levelshot finding 2018-03-17 19:47:12 +01:00
Thomas Debesse
c3fe2ae10f
Merge pull request #191 from illwieckz/dlcache
also look for xonotic map levelshot in data/dlcache
2018-03-17 19:09:05 +01:00
Thomas Debesse
c71ad39a28
Merge pull request #190 from illwieckz/colorflags
more color flags, introduce xonotic color codes
2018-03-17 19:08:53 +01:00
Thomas Debesse
9761d8e382
Merge pull request #192 from illwieckz/translation
make copyright translatable string date-independent
2018-03-17 19:08:33 +01:00
Thomas Debesse
4253acf9d3 make copyright translatable string date-independent 2018-03-17 19:08:15 +01:00
Thomas Debesse
2bceb9d4fc also look for xonotic map levelshot in data/dlcache 2018-03-17 19:05:03 +01:00
Thomas Debesse
fd45d3271f
Merge pull request #174 from XQFTransifexBot/master
Transifex translation update
2018-03-17 03:21:57 +01:00
XQFTransifexBot
9d2cb8fc8c Transifex translation update: sync with newer transifex url
Mode: default
Minimum percent translated: 0
Matched 8 languages
2018-03-17 03:16:09 +01:00
Thomas Debesse
bf3cea9764 more color flags, introduce xonotic color codes
- 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
2018-03-17 00:10:13 +01:00
Zack Middleton
187612396f Make Travis CI error on warning, fix #87
Ensures pull-requests don't add warnings.
2018-01-08 01:43:41 -06:00
Zack Middleton
dab048138a Fix gcc/clang warnings and related filter menu logic
* 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.
2018-01-08 01:41:18 -06:00
Zack Middleton
3ce4175399 Fix Gtk+ warning when clearing sound in preferences
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.
2018-01-08 00:07:57 -06:00
Zack Middleton
30506664b4 Fix unset sounds being cwd in perferences menu, ref #183
gtk_file_chooser_set_filename(.., "") sets file chooser to current
working directory. Saving config after that will save the directory
in the config file.
2018-01-08 00:07:57 -06:00
Zack Middleton
8be67722c0 Test sounds using current sound player, fix #178
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.
2018-01-08 00:07:15 -06:00
Zack Middleton
69f22862c7 Fix server properties rcon password field not being disabled
If a game does not specify GAME_RCON or GAME_ADMIN, disable editing rcon
password field in server properties window. Fixes clang warnings.
2018-01-07 22:11:43 -06:00
Zack Middleton
bee9f063aa Fix games.c not being generated or not updated in xqf binary
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.
2018-01-07 21:50:18 -06:00
Zack Middleton
9886f93f39 Fix building on Travis CI (external dependencies)
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).
2018-01-07 19:30:47 -06:00
Thomas Debesse
8f3fca7043 happy 20th birthday xqf 2018-01-07 18:50:12 +01:00
Thomas Debesse
62e3593624 some master label rename 2018-01-07 18:47:16 +01:00
Thomas Debesse
7dc96a5188
Merge pull request #188 from illwieckz/reorder
reorder game list alhabetically
2018-01-07 18:07:13 +01:00
Thomas Debesse
30fca3bf16 reorder game list alhabetically 2018-01-07 18:06:15 +01:00
Thomas Debesse
cd2a40c7eb
Merge pull request #187 from XQF/warsow
update warsow masters and protocol
2018-01-07 16:01:54 +01:00
Thomas Debesse
564533271c update warsow masters and protocol 2018-01-07 16:00:41 +01:00
Zack Middleton
7633e238e9 Update Turtle Arena support to 0.7 2017-11-04 02:06:05 -05:00
Thomas Debesse
12947cdf3e Merge pull request #186 from illwieckz/dpk
add dpk support for dæmon engine maps (unvanquished game)
2017-08-07 00:35:16 +02:00
Thomas Debesse
c0d710af7f add dpk support for dæmon engine maps (unvanquished game)
- 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
2017-08-07 00:04:58 +02:00
Thomas Debesse
74a0263a23 Merge pull request #185 from aufau/faufixes
Few minor patches/fixes
2017-05-27 00:19:12 +02:00
Witold Piłat
a3c11515ad Enable OS/CPU statistics for JK2 and JK3 2017-05-26 15:01:18 +02:00
Witold Piłat
4e90738f35 Support OpenJK JK3 client 2017-05-26 14:24:30 +02:00