Commit graph

57758 commits

Author SHA1 Message Date
aquileia
652cdfc90c manual: Clean up localized files 2015-08-06 14:52:51 +02:00
gfgtdf
2ca6169c7a Update changelog 2015-08-04 01:13:11 +02:00
Ignacio R. Morelle
20ec8f9893 Add myself to administration 2015-07-30 03:11:13 -03:00
Ignacio R. Morelle
cff164ef78 Update and reorganize Packagers section in the credits
Now the list is split between active and inactive packagers, and we also
list SDK maintainers (aquileia, loonycyborg).

Also restored alphabetical order, fixed comments and names, and added
aquileia, ancestral, mattsc, and vincent_c.
2015-07-30 03:10:46 -03:00
Ignacio R. Morelle
e1666ae9aa pofix: Add download path string fixes for the 1.12.4 release 2015-07-27 09:52:57 -03:00
gfgtdf
d625d49d37 Update check_victory
Backports d808b7c787


Now the game ends on all client at the same time even with victory_when_enemies_defeated_= no.

previously in mp the attribute victory_when_enemies_defeated only prevents victory for human sides but doesn't prevent defeats. This means in a simple 1vs1 Mp game with victory_when_enemies_defeated=no when side 1 gets defeated, Player 1 will get the "You have been defeated" message and for client 2 the game continues. I tested with adding victory_when_enemies_defeated =no in 2p_Arcanclave_Citadel.cfg.
When side 1 looses (leader killed) (during side 2' turn) the following happens:
[list=1]
[*]side 1 gets a "you get defeated", side 2 continues
[*]when side 1 checks "end scenario" side 2 gets a "side 1 has left the game... reassign controll to ai/human/idle/..."
[*]I clicked "controll by human" on client 2
[*]I ended side 2's turn and continued playing side 1 on client 2 and didnt get defeated
[/list]
I am sure that this is not the intended behaviour.

this commits also effects when "enemies defeated" is fired accodignly so it is fired on all clients at the same time like any synced event (previously using this event could casue OOS).
2015-07-26 20:46:53 +02:00
Kunal Mehta
c030e1bff1 Remove outdated and likely broken utils/mediawiki.py
This script apparently predates MediaWiki's api.php interface, and
resorts to screen-scraping, which most likely no longer works due to
changes in form submission.

Nothing else appears to be using it.
2015-07-26 17:16:33 +02:00
aquileia
04ae90e94e Remove superfluous .gitignore files
Three files had been omitted when porting the corresponding commit from master
2015-07-26 17:13:39 +02:00
Randypk
a5b9c89305 Bugfix 22987 - Game filter does not work.
Changed the search filter in the mulitplayer lobby to
search on era and mod as well as title and description.
2015-07-26 06:24:35 -03:00
Ignacio R. Morelle
ae58d70d03 scons: Clean up warning message 2015-07-22 02:06:10 -03:00
ln-zookeeper
1d5c799f5f Fixed troll sighting filter brokenness on easy 2015-07-11 12:26:06 +03:00
Ignacio R. Morelle
bf041d1e91 campaignd: Print version number and config file path on startup 2015-07-08 20:50:50 -03:00
Ignacio R. Morelle
432db9b0ac campaignd: Remember port number and report net configuration 2015-07-08 20:50:46 -03:00
Ignacio R. Morelle
b1d3f609e5 Use empty() method instead of size() for emptiness checks
Found by cppcheck.
2015-07-06 23:44:54 -03:00
Ignacio R. Morelle
11570ef4c0 Add changelog entry to note util::strftime() bug is not harmless 2015-07-06 23:07:21 -03:00
Ignacio R. Morelle
390c93a191 Fix end iterator dereference with specific util::strftime() input
A format string with a trailing '%' character at the end would cause an
implementation detail to dereference the end iterator of a string. Since
the underlying storage is a null-terminated string, this would be
harmless in practice.

Found by cppcheck.
2015-07-06 22:48:05 -03:00
Ignacio R. Morelle
40eee388b0 gui1: Elide pointless assignment
Found by cppcheck.
2015-07-06 22:38:12 -03:00
Ignacio R. Morelle
cfdeac8b6a Use prefix instead of postfix increment/decrement
Found by cppcheck.
2015-07-06 22:31:01 -03:00
Ignacio R. Morelle
bf83aecd08 Use prefix instead of postfix increment/decrement
Found by cppcheck.
2015-07-06 22:21:33 -03:00
Ignacio R. Morelle
83fad13973 Use empty() method instead of inefficient size() checks on linked lists
Found by cppcheck.
2015-07-06 22:19:04 -03:00
Ignacio R. Morelle
9542600413 gui2: Initialize variables
Found by cppcheck.
2015-07-06 22:12:46 -03:00
Ignacio R. Morelle
c534c6156f i18n: Use ctor initialization list instead of statement in ctor body
Found by cppcheck.
2015-07-06 21:54:31 -03:00
Ignacio R. Morelle
6c483d767c Use prefix instead of postfix increment/decrement
Found by cppcheck.
2015-07-06 21:54:09 -03:00
Ignacio R. Morelle
0c6482b7db ai: Use ctor initialization list instead of statements in ctor body
No functional changes.

Found by cppcheck.
2015-07-06 21:38:38 -03:00
Mark de Wever
1d1188fff3 Properly memset a variable.
Issue found by cppcheck.
2015-07-06 20:42:27 -03:00
Ignacio R. Morelle
8e60f2c44a Update changelog 2015-07-06 20:24:09 -03:00
Chris Beck
d881c7edba scons: silence clang-specific "pointer-bool" warning in lua source 2015-07-06 20:24:09 -03:00
Mark de Wever
88536b42de Fixes compilation of abs for C++11. 2015-07-06 20:24:09 -03:00
aquileia
25ea48379a vcproj: Add external/include and external/lib
As the vcproj format is poorly documented, we previously couldn't find an option to pass compiler/librarian/linker dependencies without manually adding them in the menu. After installing VC9, I found an option that is correctly ported to vcxproj (the new format since VC10) and allows to specify these additional dependencies.
2015-07-06 00:27:03 +02:00
gfgtdf
32862cf1a6 Fix Low Carryover
http://gna.org/bugs/?23674

We don't want to use the units and gold stored in the global variables if we already get them from normal carryover becasue that results in having them twice.
2015-07-03 16:26:10 +02:00
gfgtdf
cea832c8fa Fix LoW scenario12
without {PLAYABLE} those sides have controller=ai (default) and persistent=no (default for controller=ai) which breaks carryover.
2015-07-03 00:05:09 +02:00
gfgtdf
58fb30d5cc Update 11_Battle_of_the_Book.cfg 2015-07-02 01:12:13 +02:00
gfgtdf
0ec72492a3 Fix LoW scenario11 2015-07-01 23:32:39 +02:00
gfgtdf
029c26b1ce Update 10_Cliffs_of_Thoria.cfg 2015-07-01 23:02:22 +02:00
gfgtdf
97e7a86a56 Fix LoW scenario10 2015-07-01 21:52:40 +02:00
gfgtdf
bae8e89e65 Fix LoW scenario14 2015-07-01 18:07:00 +02:00
gfgtdf
02b8f5372e Fixes to LoW scenario3 2015-07-01 18:06:11 +02:00
gfgtdf
c2c405c196 Update 03_Kalian_under_Attack.cfg 2015-07-01 00:17:40 +02:00
gfgtdf
df4fb5c831 Fixes to LoW scenario7 2015-07-01 00:10:26 +02:00
gfgtdf
c2e76919b2 Fix LoW scenario7 2015-07-01 00:04:41 +02:00
Ignacio R. Morelle
2b116681d3 mp: Ignore formatting markup in era names 2015-06-28 02:46:27 -03:00
Ignacio R. Morelle
2765b538b7 cmake: Disable strict compilation by default
It's no good for users who are likely to hit issues with compilers not
used by the release team.
2015-06-27 20:25:19 -03:00
Ignacio R. Morelle
436e808528 wmllint: Recognize [background_layer] in [part] 2015-06-27 18:25:45 -03:00
Ignacio R. Morelle
a1e2903c59 wmllint: Quick and dirty hack to recognize [+tags] in [part] 2015-06-27 18:25:24 -03:00
Ignacio R. Morelle
3f74235311 wmliterator: Add function to detect [+tags] 2015-06-27 18:10:12 -03:00
Ignacio R. Morelle
42d19af0a7 Bump version 2015-06-25 20:47:10 -03:00
Ignacio R. Morelle
bebd642f7d Version 1.12.4 2015-06-25 20:08:11 -03:00
Ignacio R. Morelle
476c9b37f8 Update changelog entries for bug #23504 2015-06-25 18:45:33 -03:00
Ignacio R. Morelle
42cd28682d Remove broken Python port of wmlxgettext 2015-06-21 22:43:45 -03:00
loonycyborg
ee9b434b46 Remove "run now" option from windows installer
It causes wesnoth to be run with installer's privileges which is
security concern and also might result in confusing behavior wrt
location of stdout.txt and stderr.txt files.
2015-06-20 16:50:04 +03:00