Commit graph

2123 commits

Author SHA1 Message Date
Ignacio R. Morelle
912456bf29 send_server_command: Fix issues with screen stuff command not working
At least on baldras' version of screen, the stuff command argument here
absolutely needs to be wrapped in single or double quotes to work.

I actually fixed this months ago but forgot to commit.
2014-06-12 18:15:03 -04:00
Ignacio R. Morelle
1a1ccea4cb update_server: 1.11 is the 1.12 branch 2014-06-12 17:21:34 -04:00
Ignacio R. Morelle
090f8bf0cb update_server: Build from master if the $VERISON is not recognized 2014-06-12 17:21:34 -04:00
Ignacio R. Morelle
e122da96e4 update_server: Use $HOME/source for SOURCE_ROOT
... instead of hardcoding a path in /usr. This should let server2 and
server3 use an unmodified copy of the script.
2014-06-11 22:53:38 -04:00
aquileia
ca1e632b62 Remove remove-potcdate.sin from wescamp-import
If we delete the remove-potcdate.sin scripts, we may as well remove the paragraph importing them.
2014-06-10 20:32:10 +02:00
Chris Beck
02d8d0a07d add warning about memory leaks reported by cppcheck 2014-06-09 11:39:21 -04:00
Ignacio R. Morelle
284300cde9 update_server: Rewrote about 50% of the script, now works with RO checkouts
* Using scons -Y to point scons to a source tree that might be
   read-only for the user building campaignd/wesnothd (as is the case on
   baldras).
 * Renamed or changed several variables for clarity.
 * As a side-effect, links within the server instance dir are now
   absolute rather than relative (/home/wesnoth/build/foo/bar instead of
   ../../build/foo/bar).
 * ~/builds-int/<version> is the intermediate build directory
 * ~/builds/<build-id> remains as the target directory
 * /usr/src/wesnoth is the source directory base (we need to handle
   basilic and gonzo separately later)

I'm fairly sure nobody other than me could possibly demand a more
detailed description of this commit.
2014-06-08 22:52:06 -04:00
aquileia
1715ab3145 gitignore: Include more rules from subdirectories
That is: data/lua/, scons/, and utils/
2014-06-09 01:00:45 +02:00
Ignacio R. Morelle
983f14663d Move unused script to utils/ 2014-03-18 03:05:10 -03:00
Ignacio R. Morelle
b6ce79e634 update_server: The 1.12 branch now exists 2014-03-10 17:00:10 -03:00
Nils Kneuper
e73bd5e536 add steps for running pofix.py 2014-03-02 09:53:30 +01:00
Ignacio R. Morelle
62d3783f41 pofix: I forgot to add a conversion annotation 2014-03-02 00:59:16 -03:00
Mark de Wever
f7de93c685 Update valgrind suppression file.
Don't complain when strtod is called from luaO_str2d.
2014-02-23 15:19:16 +01:00
Ignacio R. Morelle
2237bde02e editor: Fix a filechooser dialog caption to use Title Case 2014-02-22 22:07:24 -03:00
Ignacio R. Morelle
400b2b28c7 pofix: Add UI string case fix
See commit 0ed8c1a837.
2014-02-22 22:07:24 -03:00
Ignacio R. Morelle
d4fad10ab6 run_server: 30 threads for 1.10, not 1.9 2014-02-21 06:02:03 -03:00
Ignacio R. Morelle
0540b987c2 run_server: Use more threads for 1.9 (32), less threads for 1.8 (8) 2014-02-21 05:52:25 -03:00
Ignacio R. Morelle
8aa1c0e1f2 run_campaignd: Use 4 threads for 1.9 or 1.12 only 2014-02-21 05:50:03 -03:00
Ignacio R. Morelle
fc250334ca Remove empty directory tree containing nothing but .gitignore files 2014-02-08 08:05:02 -03:00
Ignacio R. Morelle
230fa23f9e Update run_campaignd script from production 2014-02-08 08:04:17 -03:00
Ignacio R. Morelle
7e7a32447e Update run_server script from production 2014-02-08 08:02:45 -03:00
Ignacio R. Morelle
01a6a3bb1d Update new_release script from production 2014-02-08 08:00:35 -03:00
Ignacio R. Morelle
6cad834573 Updated logfilter_irc* scripts with the current production versions 2014-02-08 07:59:25 -03:00
Ignacio R. Morelle
c6c0979800 Update create_symlinks script from production 2014-02-08 07:57:49 -03:00
Ignacio R. Morelle
639e78c4c1 Update tail_log_irc script from production
Removed a "fix the script" message.
2014-02-08 07:56:57 -03:00
Ignacio R. Morelle
ffc43a10e4 Update send_server_command with code changes from production
They mostly seem to be code cleanups or style changes, plus the hack to
try to start the irc echo for the old instance after restarting... which
doesn't seem to be working.
2014-02-08 07:55:23 -03:00
Ignacio R. Morelle
425cce189f Long overdue update to the update_server script to match production
* Added code for handling 1.8 and 1.10
 * Don't use libana for Wesnoth versions that include it (1.9.x)
 * We now use Git, not SVN. The downstream repository is managed
   externally, so we need to update a git-new-workdir checkout every
   time we want to build.
 * Other nondescript changes

(Apologies for the horrible commit message, but it looks like there was
more than my own changes awaiting to be committed.)
2014-02-08 07:48:41 -03:00
Ignacio R. Morelle
164d632b54 New wesnoth-defaults utility script
I wrote this a long time ago and have been using it to ease testing of
Wesnoth's default configuration under different conditions ever since.

It creates a new configuration and data directory under /tmp that only
exists for the duration of the Wesnoth session, and disables WML cache
functionality.

This is extremely useful for quickly testing and debugging functionality
dependant on user configuration settings.
2014-01-07 02:39:31 -03:00
Alexander van Gessel
e01fa5e73c Don't skip tags because there's a comment containing an equals sign
There used to be an issue with this fix, but I can no longer reproduce it.
2013-12-06 14:29:41 +01:00
flix
516154c3d1 Refactor ai-test-suite (python script). 2013-10-07 20:25:41 +02:00
Alexander van Gessel
ee9990d802 Fix indentation in pofix 2013-09-02 17:13:58 +02:00
Nils Kneuper
e2ab97f187 fixed pofix.py to work with python-3.2 2013-09-01 11:21:11 +02:00
Thibault Févry
b78f8310ab Make the code more readable/pythonic. 2013-08-24 19:55:40 +02:00
Thibault Févry
d5f3b8c811 Ran reindent on tab-indented files. 2013-08-24 19:38:58 +02:00
Thibault Févry
a555469943 Fix typos in util/gdb 2013-08-24 19:34:22 +02:00
Thibault Févry
8241e0c419 Fix typos in utils/wiki_grabber.py 2013-08-24 19:18:49 +02:00
Alexander van Gessel
cdd37fc14e Delete the broken file list when it's no longer needed 2013-08-23 20:36:35 +02:00
Nils Kneuper
7632a361af fixed compate_images.py to run on my system
used libs/tools (Gentoo ~amd64 system):
* dev-python/pillow-2.0.0-r1
* dev-lang/python-3.2.5-r2 (selected as main python implementation using
  eselect)
2013-08-22 20:12:38 +02:00
Alexander van Gessel
70dc23cce4 Python syntax bumps 2013-08-22 12:54:51 +02:00
Nils Kneuper
c9f6847f66 applied utils/wesnoth-optipng
Overall statistics (only for files with a smaller recompressed size):
  Original size: 16720 KiB on 404 files
 Optimized size: 15237 KiB
   Total saving: 1482 KiB = 8% decrease
2013-06-23 10:07:53 +02:00
Alexander van Gessel
83fee1daed Use grep's -q option rather than &>/dev/null 2013-04-03 09:44:44 +02:00
Eric S. Raymond
043c4f9fd3 Remove $Id$ cookies. 2013-03-26 21:41:37 -04:00
Eric S. Raymond
7f85fa000c The git transition.
Most references to and dependencies on Subversion have been removed.
"+svn" is now "+dev". Files that can't be fixed yet have a FIXME-GIT
comment in them; most of these are in the website tests.
2013-03-26 10:44:47 -04:00
Mark de Wever
8016efa3fb Add the autorevision tool to Wesnoth.
This version used is 1.4 and is copied from [1].

[1] http://www.catb.org/esr/autorevision/
2013-03-15 20:27:05 +00:00
Simon Forsyth
2290e3d6b2 Use new log domain for ai test scripts to determine faction. 2013-01-17 04:13:49 +00:00
Mark de Wever
43b71f2ff0 New year copyright update. 2013-01-01 09:22:03 +00:00
J. Tyne
cb64ca895d Correcting attack predictions for swarm...
...when there are previous combats to account for.

(It passes the attack simulator check.)

The basic problem with the old system is that it treated the number of
strikes as an independent variable, even though it depends on the
number of hit points.

There is some additional overhead with this method, but I optimized
some things for the common case (no swarm), and benchmarking indicated
a negligible 1% increase in run time when no units had swarm.
2012-10-19 21:27:07 +00:00
J. Tyne
4633f8688b Downgrade some fatal errors to warnings in the attack prediction stand-alone. 2012-10-13 17:42:14 +00:00
J. Tyne
ca4eaca58c A more interesting set of test cases for attack prediction checking...
...and benchmarking.

Biggest change: the first unit, which has all checked specials, gets
to actually attack.

(Previously, its swarm special and low hit points resulted in no attacks.)
2012-10-13 13:48:39 +00:00
J. Tyne
2edf94b9a4 A more varied set of test cases for attack prediction timings...
...and verification.

The old set had several deficiencies, such as every unit with slow
also having only one attack and having the swarm special (so usually
no attacks). This set keeps the specials and stats on separate cycles.
2012-10-05 21:27:54 +00:00