Commit graph

3320 commits

Author SHA1 Message Date
Enno Rehling
bfc801b6b7 http://eressea.upb.de/mantis/view.php?id=1275
"Pferde verschwinden nach GIB 0"
fixed the give_horses function being used.
2007-09-21 23:49:39 +00:00
Enno Rehling
e3079f88cc adding a race parameter to spell syntax 2007-09-18 21:55:39 +00:00
Enno Rehling
7e3c531436 unicode function to convert latin1->utf8 2007-09-16 15:34:49 +00:00
Enno Rehling
05a8bd5b39 http://eressea.upb.de/mantis/view.php?id=1282
"Angriffe in zweite Schlachtreihe überproportional?"

- friendly/enemy being set incorrectly
- debug output ported from main branch
2007-09-16 15:34:04 +00:00
Enno Rehling
1c5acea30c Doing a UTF-8 conversion check before we start. 2007-09-15 14:23:50 +00:00
Enno Rehling
f1e82cc6ff summonundead spell will once again tell you where they got summoned 2007-09-15 13:08:16 +00:00
Enno Rehling
05f56041c4 - fixed a bug in filereader (was reading the eol characters)
- added doug lea allocator
2007-09-11 19:33:00 +00:00
Enno Rehling
3d1bdd4bf4 bugfix for older versions of data (HSE) 2007-09-10 20:20:11 +00:00
Enno Rehling
8e91392ed7 some spell syntax definitions fixed 2007-09-10 09:39:23 +00:00
Enno Rehling
7de422f976 i18n of spell-syntax (removing fixed syntax text and replacing with a localizable function) 2007-09-10 06:51:11 +00:00
Enno Rehling
fa375ed8b4 unicode fix to abbreviated orders 2007-09-03 22:23:30 +00:00
Enno Rehling
5dd5a402cb include fix for linux 2007-09-03 22:13:43 +00:00
Enno Rehling
edf8f3f89d abkz() gets unicode 2007-09-03 21:42:05 +00:00
Enno Rehling
ef2f892d8a - i18n for unit_dissolve messages 2007-09-03 19:52:51 +00:00
Enno Rehling
52f8000792 some more umlaut-elimination 2007-09-02 20:32:20 +00:00
Enno Rehling
dd378fc8e8 - i18n for ravaged regions. 2007-09-02 19:06:21 +00:00
Enno Rehling
79dc9acf5f - fixing race prefixes
- fixing some latin1 loading
- improved the spell-syntax writer
- replaced my email address
2007-09-02 18:11:17 +00:00
Enno Rehling
46df3bca2a fixes for the previous hasty commit 2007-09-02 16:24:34 +00:00
Enno Rehling
af36f06b15 i18n progress: moved all curseinfo messages to XML file, removed info_str 2007-09-02 15:42:48 +00:00
Enno Rehling
810e411821 - German text in gmcmd will break UTF-8. hacked it to be English for now
- (re)moving mistake() function
2007-09-02 15:17:09 +00:00
Enno Rehling
abca6ab6a1 fixing the umlaut-check to run in UTF8 locales 2007-09-02 10:30:09 +00:00
Enno Rehling
ff8bfefc44 detecting BOM in gamedata 2007-09-02 09:59:28 +00:00
Enno Rehling
5c99afc34d bugfix writing borders 2007-09-02 09:51:38 +00:00
Enno Rehling
9af8bbb2bb xmllint should be in pre-commit rules... 2007-09-02 09:36:57 +00:00
Enno Rehling
ebec08fa01 Some more English localization. 2007-09-02 08:56:07 +00:00
Enno Rehling
d434b73617 - resizing buffer in battle.
- not writing past-the-end in orders.
- fix for show_allies.
2007-09-02 07:57:31 +00:00
Enno Rehling
a1865ee2fa - Undo modifications to strlcpy from rev 3631
- Many more warnings when buffers too small.
2007-09-01 23:40:58 +00:00
Enno Rehling
28fa9e5d81 - bugfixes for snprintf, warnings for overflowing static buffers
- some English messages
2007-09-01 21:52:13 +00:00
Enno Rehling
7dda1968ee http://eressea.upb.de/mantis/view.php?id=1264
"Rekrutieren nicht möglich trotz besänftigten Aufstandes"

http://eressea.upb.de/mantis/view.php?id=1265
"Turned back into a toad for no reason"
2007-08-31 06:52:27 +00:00
Enno Rehling
673cf0b7bf Unicode QA:
- bugfix braineater description
- bugfix army display
- remove SMALL_MESSAGES because they have no i18n
2007-08-29 19:48:40 +00:00
Enno Rehling
c3283925b6 Unicode QA:
- irritating comma in HELP status- 
- localized roads in NR
- new function for trails
- lua fix get_resource(horse)
2007-08-28 06:19:31 +00:00
Enno Rehling
9d8edd01bf wrong parameters for spell 2007-08-26 20:56:10 +00:00
Enno Rehling
6540dc386f minor, just reordering messages 2007-08-26 20:35:53 +00:00
Enno Rehling
b43220dbed - fixed counting of group members
- fixed maximum size of region names.
- fixed animals
2007-08-26 20:33:50 +00:00
Enno Rehling
9715493071 null-banners 2007-08-21 21:19:51 +00:00
Enno Rehling
a33d59b21a Unicode WIP:
This code did a full run of turn 531, with all reports.

- replace all calls to strlcat with strlcpy
- change strlcpy to return number of bytes written, not input bytes
- fix some buffer sizes
- write UTF8 BOM into all output files that could use them.
2007-08-21 07:04:44 +00:00
Enno Rehling
c3a5631ec7 fixed a couple of the strlcpy calls 2007-08-20 16:32:27 +00:00
Enno Rehling
3a01120784 - crash nr_section when message doesn't have a text.
- fixed message without text
2007-08-20 15:38:54 +00:00
Enno Rehling
b132ffdd2b Unicode WIP:
- links on Linux (Jamfile changes)
- bugfix latin1/newfactions file
2007-08-19 20:40:42 +00:00
Enno Rehling
8fbb513b63 Unicode WIP:
- NR is being written
- NR and Template get a UTF8 BOM

I'm running out of ideas. I must be nearly ready.
2007-08-19 17:30:40 +00:00
Enno Rehling
28921d4e3d Unicode WIP: we're compiling on Linux 2007-08-18 14:54:35 +00:00
Enno Rehling
4e863e9059 Bugfixes uebertragen aus Hauptbranch:
http://eressea.upb.de/mantis/view.php?id=1251
"Komische Fehlermeldung bei abtreibendem Schiff"

http://eressea.upb.de/mantis/view.php?id=1256
"Feinde können Schiff verlassen und sich bewegen in bewachter Region"

http://eressea.upb.de/mantis/view.php?id=1252
Klarere Fehlermeldung bei Bewachung/Bewegung

http://eressea.upb.de/mantis/view.php?id=1248
"schaffenstrunk und gehirnschmalz ohne wirkung"
2007-08-17 07:06:33 +00:00
Enno Rehling
cae7e67fdf Unicode WIP
- Bugfix region::connect structure not initialized
- set encoding from Lua
2007-08-16 06:53:00 +00:00
Enno Rehling
9c88e406fd - .ini file ssettings for CRT debugging
- quick alloc-optimization for resolve.c
2007-08-15 06:27:40 +00:00
Enno Rehling
67184b0c96 Unicode WIP:
- building name changes
- locale optimization
- fixing some error messages
2007-08-13 07:29:39 +00:00
Enno Rehling
77bb331bc5 Unicode WIP:
some message-fixes, building types that had been broken since forever, small stuff
2007-08-12 13:56:59 +00:00
Enno Rehling
dbfb50625e Unicode WIP:
- bugfixes ongoing
2007-08-12 13:02:24 +00:00
Enno Rehling
d4d6776b50 Unicode WIP, backward compat:
- latin1 reader for datafile
- latin1 reader for orders

a number of minor conversion bugs fixed, this version can now run a turn and write reports, it seems.
2007-08-12 09:51:26 +00:00
Enno Rehling
b837248601 !this commit does not compile!
Unicode WIP:
- removed xmlChar and returned everything to char * again, now that conversion is complete.
- added option to specify orderfile and daatafile encoding in .ini file

currently: implementing reading of latin1 datafiles for backward compatibility
2007-08-10 07:03:23 +00:00
Enno Rehling
6acb1e22c5 - fixed the summary.c
- implemented unicode_utf8_strcasecmp function
- fixed some xml files
- code compiles and runs on the console

TODO:
* switch from xmlChar to char again
* eliminate remaining warnings
* report.[hc] are still disabled

OPTIONAL:
* handle latin1 input?
2007-08-09 06:42:37 +00:00