Commit Graph

214 Commits

Author SHA1 Message Date
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
Yann Dirson
c4e66b5713 added --zip flag to splittree,
to make zip files instead of moving the tree parts somewhere else
2005-01-09 21:50:17 +00:00
Yann Dirson
8eca883955 1st revision of a tree-splitting script for PDA packaging 2004-12-28 07:40:46 +00:00
Yann Dirson
f31ea38d9c fixed wmlxgettext to support multiple strings on a single line 2004-11-25 10:34:47 +00:00
Yann Dirson
999397d697 get rid of scripts related to pre-gettext translations 2004-11-25 08:56:54 +00:00
Yann Dirson
34b10e6a73 missing (albeit cosmetic) newline in output 2004-11-14 22:24:49 +00:00
Yann Dirson
24e7ffda5f make wmlxgettext output strings sorted as "msgcat --sort-by-file" would do 2004-11-14 22:19:49 +00:00
Yann Dirson
31aee272d6 oops, do not drop all line-endings allogether ! 2004-11-09 00:34:35 +00:00
Yann Dirson
08cee34459 behave properly when WML files have msdos line-endings in multiline strings 2004-11-09 00:27:46 +00:00
Yann Dirson
840ad864aa behave properly when WML files have msdos line-endings in multiline strings 2004-11-09 00:06:42 +00:00
Yann Dirson
db776d266a move menu strings into wesnoth-lib textdomain 2004-10-31 00:36:51 +00:00
Yann Dirson
932f492915 correctly handle the special case of final newlines in strings,
so wmlxgettext does the right thing
2004-10-21 21:14:21 +00:00
Yann Dirson
490c64ac95 add --directory option to wmlxgettext...
so that running out of source tree works as expected
2004-10-21 19:54:39 +00:00
Yann Dirson
145540f989 fixed wmlxgettext for header generation 2004-10-17 12:47:50 +00:00
Cédric Duval
bec7be4bee Fixed wmlxgettext not finding cfg files when updating pots. 2004-10-14 13:07:05 +00:00
Yann Dirson
397b97861e better handling of trailing spaces in magic unit attributes 2004-10-03 21:38:48 +00:00
Cédric Duval
5dfd130bf3 Greek migration. 2004-10-03 12:35:24 +00:00
Cédric Duval
0ee649515d Reflecting new paths. 2004-09-14 23:03:40 +00:00
Yann Dirson
b35fbd6b2e allow wmlxgettext to extract several strings from a single input line 2004-09-05 16:23:22 +00:00
Yann Dirson
47a421f7ac improved wmlxgettext to catch strings in other places than attribute assignments 2004-09-05 16:13:06 +00:00
Yann Dirson
8f8c3ab303 fixed po2po to avoid missing messages, and avoid confusing cvs 2004-09-04 12:34:30 +00:00
Yann Dirson
c83212c764 be more selective about "make" command to run, to reduce noise 2004-09-04 08:55:22 +00:00
Yann Dirson
587cf563d4 fixed for the new po layout 2004-09-04 07:02:56 +00:00
Yann Dirson
5857299d29 allow po2po to run on several langs, all by default 2004-09-03 09:16:47 +00:00
Yann Dirson
1521060e17 run po2po wesnoth wesnoth-editor to fill the blanks 2004-09-03 01:00:36 +00:00
Yann Dirson
2553915410 updated pot; imported those languages that were still in cfg files 2004-09-03 00:38:17 +00:00
Isaac Clerencia Perez
9110ff7279 Removed data/tutorial.cfg and data/tutorial2.cfg from wml2po.pl script ...
...as they no longer exist
2004-08-15 21:21:27 +00:00
Yann Dirson
0fa21008d1 fixed position of -z flag 2004-08-15 10:14:02 +00:00
Yann Dirson
991a71133f use -z4; support for merging changes between arbitrary tags 2004-08-13 20:38:05 +00:00
Yann Dirson
f30eb6e11d minor fix to import stats 2004-08-11 21:11:12 +00:00
Yann Dirson
6192e52096 automagically get weapon and ability strings 2004-08-10 21:28:47 +00:00
Yann Dirson
56e082fcde import IDs for weapon stuff, although the strings are not in po/ yet 2004-08-09 23:15:13 +00:00
Yann Dirson
256eb903e8 exclude duplicates of imported messages from stats 2004-08-09 22:17:28 +00:00
Yann Dirson
06d41fea7d ignore commented-out strings in wml; framework to dump remaining english strings 2004-08-09 21:50:48 +00:00
Yann Dirson
7492ccf2a0 fixed lookup of multiline strings on import 2004-08-09 20:55:54 +00:00
Yann Dirson
420406da77 understand quoted ids in wml 2004-08-09 20:55:02 +00:00
Yann Dirson
62fd4153e1 new wmlxgettext to extract translatable strings 2004-08-09 18:45:28 +00:00
Yann Dirson
af20ef62a5 keep stats on migrated strings; move po/wml conversion stuff into wmltrans.pm 2004-08-09 18:42:45 +00:00
Yann Dirson
e6da13d052 support end-of-line comments 2004-08-08 21:27:14 +00:00
Yann Dirson
f9db07ca5a small script to automate testing of the wml->po migration 2004-08-08 21:03:45 +00:00
Yann Dirson
ee9da91616 ignore commented-out lines in wml files 2004-08-08 21:01:17 +00:00
Yann Dirson
5b093f505c small bugfixes, commented out debug traces 2004-08-08 14:30:41 +00:00
Yann Dirson
aa40a81c09 new script to automate inter-branch merges 2004-08-08 12:23:52 +00:00
Yann Dirson
1c176d6398 regexp fix 2004-08-08 10:19:12 +00:00
Yann Dirson
694eafb701 catch scenario objectives, fix bug in multiline handling 2004-08-08 00:16:18 +00:00
Yann Dirson
55bb09bb4c support for reading multi-line strings from wml files 2004-08-07 22:21:06 +00:00
Yann Dirson
0af957f930 get some (single-line) ids from wml files 2004-08-07 21:17:23 +00:00
Yann Dirson
0f027339de more comments in code 2004-08-07 19:27:07 +00:00
Yann Dirson
9489c358d6 mark newly imported translations as fuzzy 2004-07-20 12:07:03 +00:00
Yann Dirson
e7e755d87f added support for _-tagged strings in english.cfg 2004-07-20 12:04:33 +00:00
Yann Dirson
63298a647e implement import of translations into pofiles 2004-07-01 10:07:08 +00:00
Yann Dirson
d2ac52ebc3 first pass: read pofile and output it without a change 2004-07-01 09:16:05 +00:00
Yann Dirson
6f03169904 handle multiline strings 2004-06-28 12:29:27 +00:00
Yann Dirson
ef1e99ec79 TODO++ 2004-06-28 09:56:55 +00:00
Yann Dirson
b4bfc84784 now produce a stripped english.cfg when conversion is done 2004-06-28 09:53:53 +00:00
Yann Dirson
69b52a9628 added wml2gettext tool to automate migration 2004-06-28 08:44:21 +00:00
Mark Michelsen
365934479e WesLang doesn't clean sourcecode when done anymore 2004-05-26 12:34:37 +00:00
Mark Michelsen
e27dfa6d84 Small changes to package description in Slacknoth 2004-05-22 12:13:33 +00:00
Mark Michelsen
6bf4fdcc76 Added weslang script to simplify translations updates 2004-05-22 11:35:39 +00:00
Mark Michelsen
e6b9655549 Added '-fno-omit-frame-pointer' to slacknoth script 2004-04-29 15:31:33 +00:00
Mark Michelsen
b5d80b105f Minor modifications to 'slacknoth' 2004-04-19 21:46:09 +00:00
Mark Michelsen
8f6b3ebe62 Made slacknoth automatically fetch the current year through the 'date' command 2004-04-08 13:34:35 +00:00
Mark Michelsen
25b053052c Insignificant changes to 'slacknoth' script 2004-04-08 00:40:51 +00:00
Mark Michelsen
53ae9689a1 Insignificant changes to 'slacknoth' script 2004-04-08 00:39:25 +00:00
Mark Michelsen
33650954b1 Slacknoth now ignores an insignificant makefile error 2004-03-19 21:50:26 +00:00
Mark Michelsen
38e8898499 Added package info creation to slacknoth script 2004-03-09 11:35:13 +00:00
Mark Michelsen
42dc1517e1 Slacknoth script now does a 'make clean' before compiling source 2004-03-06 00:05:33 +00:00
Mark Michelsen
8a992f9fda slacknoth script now strips binaries (how could I forget that?) 2004-03-02 17:00:57 +00:00
uid68850
8578eac0f9 Re-added new functional Slackware package creation script (slacknoth) 2004-01-10 18:07:06 +00:00
uid68850
1bb689df58 Removed out-of-date and non-functional Slackware packager script 'slacknoth' 2004-01-09 22:32:18 +00:00
uid66289
a55be98487 v0_6rc1, part2 2003-12-23 20:39:37 +00:00
Pauli Manninen
ea088e8b79 Beautification on in-written changelog 2003-11-19 05:07:18 +00:00
Pauli Manninen
6343223a64 updates 2003-11-19 05:03:21 +00:00
Pauli Manninen
98884f4bfc Improvements and fixes to random map generator (contributed by Cowboy) 2003-11-18 07:31:53 +00:00
Pauli Manninen
a8eeb41be1 new directories and documentation
* added doc/, doc/man/ and utils/
* moved man-pages to doc/man/
* updated Makefile for above change
* moved slacknoth to utils/
* added random_map.pl (by Cowboy) to utils/
2003-11-17 07:40:53 +00:00