Enno Rehling
|
60a86e7b2f
|
escaping a string for use in CR needs to only replace quotes and backslashes.
|
2018-05-21 13:27:02 +02:00 |
|
Enno Rehling
|
4154b1c3d9
|
remove additional whitespace in some strings.
|
2018-05-19 13:34:00 +02:00 |
|
Enno Rehling
|
33a6d7fa0e
|
free sections memory.
|
2018-05-18 21:43:02 +02:00 |
|
Enno Rehling
|
22f6d4feed
|
fix sections handling, remove it from nrmessage.
|
2018-05-18 21:36:10 +02:00 |
|
Enno Rehling
|
ce37fd1bb7
|
remove libxml2 from dependencies
remove the converter, that isn't a way we're going.
|
2018-05-18 21:14:22 +02:00 |
|
Enno Rehling
|
6b0f75339f
|
message parsing from exparse is working, but allocates too much.
|
2018-05-18 20:42:22 +02:00 |
|
Enno Rehling
|
19b3b5b35a
|
change how message types are created (more prep work for expat)
|
2018-05-18 19:58:49 +02:00 |
|
Enno Rehling
|
f8b8a5284c
|
begin expat message parsing
|
2018-05-18 18:50:13 +02:00 |
|
Enno Rehling
|
6608f1b1ab
|
Merge branch 'develop'
|
2018-05-18 15:34:50 +02:00 |
|
Enno Rehling
|
26dc593ddb
|
shrink nrmessage
|
2018-05-18 08:34:00 +02:00 |
|
Enno Rehling
|
810bf3b40a
|
fix some cppcheck warnings
|
2018-05-18 02:55:33 +02:00 |
|
Enno Rehling
|
ef74b8e759
|
reduce the footprint of nrmessage
|
2018-05-18 02:46:34 +02:00 |
|
Enno Rehling
|
42f59fbd9e
|
I think pofile.c belongs in the util directory.
|
2018-05-18 00:08:30 +02:00 |
|
Enno Rehling
|
409f5df9a9
|
po export code removed.
|
2018-05-17 23:29:12 +02:00 |
|
Enno Rehling
|
615dfe7ec5
|
Get the NR message text from locale.
|
2018-05-17 22:47:16 +02:00 |
|
Enno Rehling
|
7a10a58605
|
1. nrmessage is locale-independent, uses locale_getstring
2. unique strings:
rename aurapotion50 message.
delete unused bithday_firework definitions.
|
2018-05-17 19:04:25 +02:00 |
|
Enno Rehling
|
9ca945cb2c
|
add a string escaping function.
start some work on nrmessage.c.
|
2018-05-17 16:53:56 +02:00 |
|
Enno Rehling
|
35c3d4cda0
|
export messages and strings into separate .po files
commit the exported files.
|
2018-05-17 10:43:23 +02:00 |
|
Enno Rehling
|
0f3e3c9e38
|
po file exporter, also for messages.
|
2018-05-16 21:58:02 +02:00 |
|
Enno Rehling
|
9e6ae0edc1
|
make str_strdup more forgiving
|
2018-05-09 07:14:56 +02:00 |
|
Enno Rehling
|
75aff73e9a
|
Merge branch 'develop'
|
2018-05-03 23:01:42 +02:00 |
|
Enno Rehling
|
5bcd8369af
|
ignore sqlite setting errno
|
2018-05-03 22:40:54 +02:00 |
|
Enno Rehling
|
08663b6eb5
|
fix last commit. refactoring with the MSVC IDE is prone to errors.
|
2018-04-28 15:57:51 +02:00 |
|
Enno Rehling
|
6c0f8a81f6
|
merge from master
|
2018-02-26 19:51:48 +01:00 |
|
Enno Rehling
|
622c103b00
|
more cppcheck messages
|
2018-02-26 19:48:52 +01:00 |
|
Enno Rehling
|
db83140753
|
merge conflict nightmare fix.
|
2018-02-25 20:49:33 +01:00 |
|
Enno Rehling
|
432a8d432d
|
messy merge of cppcheck fixes into develop
|
2018-02-25 20:41:53 +01:00 |
|
Enno Rehling
|
aacd0885df
|
fix termination bug in itoa functions.
|
2018-02-25 19:17:20 +01:00 |
|
Enno Rehling
|
4181e23d15
|
FAST_CONNECT is always on.
fix more cppcheck messages.
|
2018-02-25 18:30:20 +01:00 |
|
Enno Rehling
|
05242aaf2d
|
Passing NULL after the last typed argument to a variadic function leads to undefined behaviour.
|
2018-02-25 17:18:30 +01:00 |
|
Enno Rehling
|
e4aa8f505e
|
cppcheck warnings for battle
|
2018-02-25 14:18:36 +01:00 |
|
Enno Rehling
|
cb537b1a93
|
missing translations are the worst.
|
2018-02-17 21:08:58 +01:00 |
|
Enno Rehling
|
f67a4943e4
|
fix some cppcheck warnings
|
2018-02-11 15:43:24 +01:00 |
|
Enno Rehling
|
c3fce574fb
|
fix reading old data files.
|
2018-02-10 11:26:39 +01:00 |
|
Enno Rehling
|
1035a98fd3
|
make attrib use a variant, not a custom union.
change attrib_type methods to take a variant, not the entire attrib.
|
2018-02-09 21:20:43 +01:00 |
|
Enno Rehling
|
df255b886a
|
verify xml loading, fix remaining files for e2.
|
2018-02-06 18:46:28 +01:00 |
|
Enno Rehling
|
92f82c3608
|
plan to eliminate xinclude use, move to single config file with includes.
|
2018-02-05 17:46:11 +01:00 |
|
Enno Rehling
|
b432fbe9d8
|
Make the behavior for missing messages configurable.
message_handle_missing function to set it (test_eressea should enetually use MESSAGE_MISSING_ERROR).
|
2018-01-14 11:25:44 +01:00 |
|
Enno Rehling
|
75f41a7169
|
fix crashes on 64-bit systems (not all 0s are created equal).
|
2018-01-14 09:38:26 +01:00 |
|
Enno Rehling
|
98678d9fb2
|
disable the missing_message replacement used in so many tests. fix some tests so they don't need it.
|
2018-01-12 21:15:21 +01:00 |
|
Enno Rehling
|
5587e209a2
|
BUG 2409: avoid using integer values >= 2^31 in the CR.
|
2018-01-08 19:45:49 +01:00 |
|
Enno Rehling
|
e4859e68c9
|
do not use MIN and MAX.
|
2018-01-01 08:23:52 +01:00 |
|
Enno Rehling
|
9d8cfc422c
|
fix cmake detection of libbsd
|
2017-12-31 21:33:31 +01:00 |
|
Enno Rehling
|
62130ca44b
|
add a strncat function to sbstring, use it for create_order.
eliminate bsdstring.h use.
|
2017-12-31 20:07:40 +01:00 |
|
Enno Rehling
|
cc8d34a1e7
|
fix sbs_strcat, use it for orders.
|
2017-12-31 18:51:56 +01:00 |
|
Enno Rehling
|
ddd30e6210
|
sbstring implmentation and first use.
|
2017-12-31 18:07:29 +01:00 |
|
Enno Rehling
|
a6c2a878e0
|
remov bsdstring tests and include
|
2017-12-30 20:11:02 +01:00 |
|
Enno Rehling
|
83149de26a
|
remove bsdstring.h where possible.
|
2017-12-30 20:09:48 +01:00 |
|
Enno Rehling
|
54572fe40e
|
add missing include
|
2017-12-30 19:50:37 +01:00 |
|
Enno Rehling
|
a8140f1dc9
|
rename strlcpy->str_strlcpy, etc.
|
2017-12-30 19:49:21 +01:00 |
|