Commit Graph

224 Commits

Author SHA1 Message Date
Eric S. Raymond
9f4c02a020 Fix quoting problem. 2007-05-02 17:48:19 +00:00
Eric S. Raymond
6e601aa4d2 Fix really stupid bug. 2007-05-02 17:43:59 +00:00
Eric S. Raymond
9a09db3134 change_textdomain gets a --dryrun option like upconvert. 2007-05-02 11:38:34 +00:00
Eric S. Raymond
2c25b3321b Fix a syntax error. 2007-05-02 11:19:51 +00:00
Eric S. Raymond
98d7f72ac9 Syntax is correct, now try (mildly dangerous) testing. 2007-05-02 11:00:37 +00:00
Eric S. Raymond
37941149ed Checkpoint before moving to pure shell. 2007-05-02 10:34:30 +00:00
Eric S. Raymond
90a91e6ed1 Fix a wrong usage message. 2007-05-02 02:47:24 +00:00
Eric S. Raymond
a5e3674d1e Fix some confusing naming. 2007-05-02 02:24:42 +00:00
Eric S. Raymond
7162f6854f Give the Python client the ability to download whole sets of campaigns...
...selected by a regular-expression name argument.
2007-05-02 02:01:59 +00:00
Eric S. Raymond
39ea75b4da -p option can now handle 1.2.x and 1.3.x as well as a port number. 2007-05-01 14:55:49 +00:00
Elias Pschernig
483b8e081c Fixed upload option in campaign server python script. 2007-05-01 14:22:49 +00:00
Elias Pschernig
21949f008b Added a python version of the campaign server client,
which can be used to list, download and (untested) upload campaigns.
2007-05-01 13:26:17 +00:00
Nils Kneuper
31abfc2471 fixed/changed wescamp import to work as expected 2007-05-01 10:39:47 +00:00
Nils Kneuper
316b1b75d6 fixed another small glitch 2007-05-01 10:12:43 +00:00
Nils Kneuper
aac9de1a29 fixed some probs with wescamp_import 2007-05-01 10:06:50 +00:00
Elias Pschernig
d9349414a4 Added a Python WML parser
(originally contained in CampGen), which might be useful to Python tool writers.
2007-04-30 20:38:31 +00:00
Eric S. Raymond
20ce375243 Initial commit of WesCamp importer. 2007-04-30 14:56:15 +00:00
Eric S. Raymond
d2a34435c8 upconvert seems to do the work of mapconv.py now, so I'm deleting this.
All future logic for converting WML or maps between versions should go in 
upconvert rather than a frestanding utility.
2007-04-23 22:21:25 +00:00
Moritz Göbelbecker
64446eb9b2 Converted some files I previously missed
Undo some unintentional conversions

Fix conversion table
2007-04-22 21:09:45 +00:00
Moritz Göbelbecker
485805fc5c Added utility (mapconv.py) to convert maps to the new (1.3.2) format 2007-04-22 18:36:51 +00:00
Elias Pschernig
0dec55d4be added short instructions to the crosscompile script 2007-04-22 16:43:40 +00:00
Nils Kneuper
e631c3797b moved stip_image_profiles.sh into the "base" utils folder 2007-04-06 09:06:53 +00:00
Eric S. Raymond
e9b4af2f99 Add some documentation.
Move unit.pl back to the main tools directory, as it needs the wml Perl module.
2007-04-06 00:22:22 +00:00
Eric S. Raymond
69f3aa45e8 Move WML-hacking tools from top-level utils directory to data/tools.
This is a clutter-reduction step, separating the packaging and code-integrity 
checks from the stuff for maintaining mainline campaigns.

I've also added documentation comments to some scripts.
2007-04-06 00:02:43 +00:00
Eric S. Raymond
8e60c8463d Move tools stuff into utils (Ivanovic's suggestion).
This directory is going to go away.
2007-04-05 23:17:46 +00:00
Nils Kneuper
2848f39f85 updated the ports to point to the real dev server 2007-03-24 11:56:09 +00:00
David Philippi
739452000d applied patch #671 2007-02-07 18:10:07 +00:00
Elias Pschernig
3e33922e94 Added a comment what it does to the unused functions script committed before. 2007-01-26 16:39:17 +00:00
Elias Pschernig
2b6f124c1e Corrected a typo. 2007-01-26 16:24:39 +00:00
Elias Pschernig
643e4073cf Added a small script to use gcc and nm to find possibly unused functions. 2007-01-26 16:19:10 +00:00
Isaac Clerencia Perez
8bf1727dab Merged 2006-12-13T10:18:32Z!crazy-ivanovic@gmx.net into trunk 2006-12-13 10:19:48 +00:00
Nils Kneuper
b98b681d80 merged switch to from pngcrush to optipng (2006-12-09T14:56:17Z!crazy-ivanovic@gmx.net) to trunk 2006-12-09 15:23:00 +00:00
Nils Kneuper
92d4a22a0e added script to remove ICC profiles 2006-12-08 19:51:17 +00:00
Gunter Labes
6b49a87ce9 added optimization back 2006-11-11 18:19:40 +00:00
Elias Pschernig
9c0968edcf added libwesnoth-core.a files for editor cross-compilation 2006-11-11 18:10:37 +00:00
Gunter Labes
3d9f3f0a31 silly neatening 2006-11-11 18:00:16 +00:00
Elias Pschernig
f6bda93eaa added wesnoth_editor.exe to cross-compilation script 2006-11-11 17:41:54 +00:00
Isaac Clerencia Perez
3a994b8bc6 Merged 2006-10-09T16:39:28Z!lari.nieminen@iki.fi into trunk 2006-10-10 06:29:59 +00:00
Josef Redinger
b0df981c46 add script for removing profile key...
and clean png files from comments and profiles
2006-09-27 14:28:53 +00:00
Elias Pschernig
ccdd1ed0ae Added python support to the cross-compiled windows .exe. 2006-09-04 19:41:58 +00:00
Gunter Labes
7b7cac71b8 added some svn:ignore entries 2006-09-02 01:32:24 +00:00
Nils Kneuper
b9cf872e53 fixed script to work with recent versions of diff 2006-07-02 10:56:20 +00:00
Gunter Labes
f09b011e84 script to find unused sounds provided by TSC 2006-06-20 23:30:18 +00:00
Gunter Labes
26a59533ee partly applied two patches by Jens Seidel and ran codeclean 2006-06-11 15:21:54 +00:00
Scott Klempner
ab691737e7 added textdomain wesnoth-httt to httt_utils.cfg 2006-06-10 16:44:08 +00:00
Gunter Labes
488e861307 more line ending clean-ups 2006-06-06 00:05:03 +00:00
Gunter Labes
c86f886940 replaced CVS with SVN in the MANUAL files
(hope it didn't break any translation)

updated the INSTALL file (we don't use sdl-net since a while, right?)
removed the cvsmerge utility
2006-06-05 13:37:46 +00:00
Gunter Labes
b77c9ffaa7 scons script to cross-compile wesnoth for windows 2006-05-29 21:37:21 +00:00
Scott Klempner
a404b52d91 updated help text for new port 2006-05-07 02:40:47 +00:00
Scott Klempner
e3f0fb3e0e changed campaign server perl client default port to 15003 2006-05-07 02:37:17 +00:00
Gunter Labes
c6447a7b9a added "po" to the directories utils/wesnoth-fixperms uses and ran it again 2006-02-16 16:19:23 +00:00
András Salamon
58429bd7ce new utilities for font analysis 2006-01-17 14:52:24 +00:00
András Salamon
6e8679bef8 update prkill, print less zero values, faster for non-drain units 2005-12-06 21:18:23 +00:00
Bruno Wolff III
9141130ed9 I added a passphrase changing function on the server
(but not the normal client) so that campaigns can have their
passphrases reset by admins without shutting the server down. I also
add two perl scripts for changing passphrases and for deleting
campaigns.
2005-11-19 18:14:41 +00:00
András Salamon
0fe75098e2 prkill-1.11, now stops drain going over max hp,
...calculates probability function for the case where a unit was killed
2005-11-01 19:12:02 +00:00
András Salamon
40327cdfb2 Add ISSUES, ensure eol at eof, more detailed comments,
...create manifest of new files on stdout.
2005-10-24 08:26:42 +00:00
András Salamon
d53c05e3a2 mkdos, a script to create DOS versions...
...of all the text files distributed with the game: the various
translations of the MANUAL, the changelog, the license information in
COPYING, the instructions in INSTALL, and the README.  Changes
sequences of lines to DOS-style single paragraphs, and attempts to
preserve displayed text and tables.  The resulting files should be
ready to be shipped with the Windows package, and for most people
these files will be shown in NotePad when double-clicked.
2005-10-23 17:15:45 +00:00
András Salamon
d3f71fa607 Script to identify possibly unused images.
Run inside the top level source directory to produce a pseudo-diff
highlighting possible unused images.  Many image filenames (eg. for
terrains) are actually constructed by the code, so these are not
actually unused.
2005-10-23 14:36:43 +00:00
András Salamon
4974fac59a prkill 1.10, helper script to calculate probabilities to kill in a skirmish.
This is more general than the in-game code in Damage Calculations
since it handles berserk.  It computes the joint conditional
probability function of the hitpoints each unit will have at the end
of the skirmish.  The algorithm is currently slow: O(r*(n+N)*(h*H))
operations (n and N are number of swings per round, h and H are
hitpoints, and r is 30 if berserk is in effect otherwise 1).  Hence,
probably not yet suitable for AI use.
2005-10-22 17:16:01 +00:00
David White
1597d9ced1 added script which can be used to analyze unit statistics 2005-10-18 23:46:36 +00:00
Bruno Wolff III
47d564d73a I made some performance related changes to wml.pm and wml_net.pm.
The change to wml.pm cut my memory use in half, but arrays or chars still
suck compared to strings (on the order of x50) when space is important.
2005-10-18 06:55:14 +00:00
Bruno Wolff III
3d7ae7bd28 webtgz.pl wasn't handling escaped data in downloaded file contents.
This was causing problems for binary files.
2005-10-17 13:03:08 +00:00
Bruno Wolff III
b9d0343dc5 I added a couple of undef's to webtgz.pl to allow for memory to be released
(though I am not sure perl really will give any back to the OS) before doing
the copy of the cached file, as that step doesn't need the undef'd data and
can take a while to run.
2005-10-14 18:16:42 +00:00
Bruno Wolff III
32588979cc Because the translation heuristic is imperfect...
...it will sometimes pick up the same language twice for a given
campaign. (Currently Invasion of Eliador has this issue with sv.) This
isn't a problem on the campaign server side.  However it looks bad on
the web page. So I now have the campaign list suppressing duplicate
langauges.

I also fixed a bug where the languages weren't sorted the intended way.
2005-10-13 01:30:09 +00:00
Bruno Wolff III
568059bf5a I changed weblist.pl to show campaign sizes in KB instead of bytes. 2005-10-13 00:29:30 +00:00
Bruno Wolff III
8046debdbb I changed weblist.pl and webtgz.pl to display the standard wesnoth logo banner
(except for when webtgz.pl successfully returns a tgz file).
I also changed webtgz.pl to only request campaign info for the campaign of
interest. In the future (after getting campaign summary info loaded for old
campaigns on the campaign server) this request won't be needed at all and will
be removed.
2005-10-12 13:38:51 +00:00
Isaac Clerencia Perez
b7eb990818 Utility to fix executable perms in MANUAL* and images, data and src dirs 2005-10-11 19:11:57 +00:00
Bruno Wolff III
46f2b08160 I found a problem with weblist.pl not separating languages properly
and fixed this.
2005-10-11 02:03:31 +00:00
Bruno Wolff III
1e8ee63e14 I updated weblist.pl to display translation information. 2005-10-11 01:57:19 +00:00
Bruno Wolff III
6cb07b52da campaign server updated to keep track of upload time and to store overview...
...attributes in the campaign WML as well as the config WML, so that
when campaigns are downloaded the overview information is sure to
match the campaign.  The two web interface perl scripts have been
added to utils as weblist.pl and webtgz.pl.
2005-10-07 18:26:28 +00:00
András Salamon
9a977b5fae wxdiff: word diff between original and translation, intended for en_US vs en_GB 2005-09-27 09:28:11 +00:00
Isaac Clerencia Perez
ef0931d54a Ruby script to do some compression for png images,
it's only using pngrewrite just now, pngcrush support will be added as soon
as pngcrush is fixed :)
2005-09-27 09:24:14 +00:00
Isaac Clerencia Perez
e0e50ffffd Comment out language_defs for not included translations 2005-09-19 18:24:35 +00:00
Isaac Clerencia Perez
306d0f7036 Erase FreeSans.ttf 2005-09-19 15:19:06 +00:00
Isaac Clerencia Perez
df319cca3e Remove tdh maps correctly 2005-09-19 15:10:39 +00:00
Isaac Clerencia Perez
c4dad53ca1 Update the script to remove the needed tdh stuff 2005-09-19 01:00:49 +00:00
Isaac Clerencia Perez
ea92713185 Script to help with 1.0.x releases 2005-09-19 00:46:01 +00:00
András Salamon
bb18c235bf campsum: show summary of changed campaigns at server 2005-09-14 15:10:55 +00:00
Dave White
a80f4c199f fixed bad handling of binary files in the perl campaigns client 2005-09-11 18:58:22 +00:00
András Salamon
c769a3fee9 make client a real script for us Unix-y types 2005-09-11 15:41:38 +00:00
Dave White
5663963f04 added Perl-based command line tool to access the campaign server 2005-07-23 01:59:32 +00:00
András Salamon
37b11bbc6c revert regression 2005-07-22 14:19:33 +00:00
András Salamon
60eba111d9 fix missing end of line at end of file and add this to codeclean 2005-07-22 10:29:00 +00:00
András Salamon
1c827e4fb1 utility to extract source file lists from Makefile.am, for other build systems 2005-07-17 20:12:00 +00:00
András Salamon
3d403f1465 support for Makefile.am.in -> Makefile.am using plain files with sources 2005-07-16 00:55:32 +00:00
András Salamon
12921f30da add support to po2po for build directory other than source directory 2005-07-16 00:50:26 +00:00
András Salamon
0e4acc4dc1 adding basic WML summarizer 2005-07-11 11:02:38 +00:00
András Salamon
82cbd875cf update with Dave's new email address 2005-06-29 20:12:16 +00:00
András Salamon
9e7fddeac9 add codeclean utility to clean source code files 2005-06-04 18:19:11 +00:00
Yann Dirson
4568cd1180 add a script to help automatic handling of the completion ratios
...in the language list presented to the user
2005-06-04 16:58:07 +00:00
Guillaume Melquiond
62737cddea Remove awfully outdated (and hence unusuable) files. 2005-05-31 20:55:29 +00:00
Yann Dirson
dda5cb55ba made wmlxgettext to restore the textdomain on #enddef,
...to match the new preprocessor behaviour
2005-05-08 12:30:04 +00:00
Yann Dirson
876d57c1d6 d'oh - revert last change, we may need a stack after all 2005-05-08 12:14:40 +00:00
Yann Dirson
d9ce1d893b no need to use a stack 2005-05-08 11:59:04 +00:00
Yann Dirson
e0c6daf64c Added --domain (and --initialdomain) to wmlxgettext,
...to select the single textdomain to extract from the files.  It is
not really complete (not knowing about the WML scope of #textdomain,
and assuming textual scope), but sufficient for now.  Changed default
string-extraction rules to use --domain.  Added #textdomain in
"library" wml files from standard campaigns, in places where it would
be missing should those files be #included from different campaigns,
but mostly so their strings get extracted.
2005-05-04 22:56:15 +00:00
Yann Dirson
1c412ada6d removed obsolete import scripts for obsolete translations 2005-03-15 22:27:04 +00:00
Yann Dirson
fdb9d25e79 be sure to refresh po files after the move 2005-02-22 20:17:39 +00:00
Yann Dirson
213b602d60 refuse to run po2po if the source was not configured;
reinstate --use-first in msgcat call to avoid spurious conflicts in
header, since I do not see what was the problem that caused me to
remove it
2005-02-12 14:19:45 +00:00
Yann Dirson
b4a1060500 remove empty dirs after moving installed files into zips 2005-01-23 20:39:46 +00:00
Yann Dirson
73fd61768f do not zip music and translations ; add a coredata zip 2005-01-23 15:54:59 +00:00