Jonathan G Rennison
|
d1a287d73c
|
Merge branch 'save_ext' into jgrpp
|
8 years ago |
Jonathan G Rennison
|
cb9ffe1bd9
|
Move std::string str_validate to separate header
This is to fix compilation of squirrel on MacOS/clang, as squirrel
defines macros which clash with including <string>
|
8 years ago |
Jonathan G Rennison
|
8317eac918
|
Merge branch 'save_ext' into jgrpp
# Conflicts:
# src/lang/german.txt
# src/lang/korean.txt
# src/lang/traditional_chinese.txt
# src/window.cpp
|
8 years ago |
Jonathan G Rennison
|
dd0666c5f4
|
Add support for save/loading std::strings.
|
8 years ago |
Jonathan G Rennison
|
f0fee802a9
|
Merge branch 'tracerestrict-sx' into jgrpp
# Conflicts:
# src/lang/english.txt
# src/settings_gui.cpp
# src/settings_type.h
# src/table/settings.ini
# src/vehicle_gui.cpp
|
8 years ago |
Jonathan G Rennison
|
ed33a62bcd
|
Merge branch 'tracerestrict' into tracerestrict-sx
|
8 years ago |
Jonathan G Rennison
|
8ec1b2200e
|
Change tracerestrict weight ratio properties to use decimals, and the weight unit.
Add {POWER_WEIGHT_RATIO} and {FORCE_WEIGHT_RATIO} string codes.
|
8 years ago |
Jonathan G Rennison
|
bbe4ea7f50
|
Log truncated revision strings at debug level 1 instead of 0.
|
9 years ago |
Jonathan G Rennison
|
4508cfbf93
|
Add format-style versions of SlError and SlErrorCorrupt.
|
9 years ago |
frosch
|
b40d6dfb81
|
(svn r26513) -Fix: 9x compilation, maybe
|
11 years ago |
rubidium
|
e251d82f96
|
(svn r26507) -Cleanup: remove now unused custom strndup implementation
|
11 years ago |
rubidium
|
b886c8db8c
|
(svn r26506) -Codechange: replace most of vsnprintf with vseprintf
|
11 years ago |
rubidium
|
4768fae6d4
|
(svn r26498) -Add: method for duplicating strings with similar behaviours as strecpy and strecat; give end pointer instead of a size
|
11 years ago |
frosch
|
24c7134bff
|
(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy and strecat.
|
11 years ago |
michi_cc
|
e6096cb8af
|
(svn r25653) -Add: Caret movement by words for CJK languages.
|
11 years ago |
michi_cc
|
4248d90937
|
(svn r25652) -Fix: Improve text caret movement for complex scripts.
|
11 years ago |
rubidium
|
87a1860945
|
(svn r25555) -Fix [FS#5632]: [Script] Texts from scripts were not validated before they were shown, causing an assertion to trigger
|
11 years ago |
frosch
|
356ecf05c4
|
(svn r24983) -Change: Apply the same name sorting rules to content and NewGRF list as for the server list.
|
12 years ago |
planetmaker
|
f00d9976f9
|
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
|
12 years ago |
yexo
|
d9f3912c59
|
(svn r23816) -Fix (r23635, r23805): make SCC_ENCODED the first entry in the StringControlCode enum since it's value is not allowed to change
|
13 years ago |
rubidium
|
8e4b6c3055
|
(svn r23590) -Codechange: make the string validation settings better expandable
|
13 years ago |
planetmaker
|
d035658bfb
|
(svn r22889) -Fix [FS#4751]: [OSX] MacOSX 10.7 knows already about strndup (leecbaker)
|
13 years ago |
alberth
|
ef58554bd2
|
(svn r22669) -Codechange: For non-windows, only test for file existence again if strtolower actually changed the name.
|
13 years ago |
rubidium
|
6cc9a2884d
|
(svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be declared in string_func.h.
|
14 years ago |
rubidium
|
0cf2ef83f0
|
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
|
14 years ago |
rubidium
|
4f51c9d3cd
|
(svn r21404) -Add: method for getting the length of an Utf8 string in characters
|
14 years ago |
rubidium
|
6d50e7a760
|
(svn r21310) -Fix [FS#4259]: apparantly even earlier FreeBSDs had strndup
|
14 years ago |
rubidium
|
9701e38412
|
(svn r21295) -Fix [FS#4259]: FreeBSD introduced strndup as well (MicRO)
|
14 years ago |
alberth
|
9f3845227e
|
(svn r21273) -Codechange: Return values should start at the same line.
|
14 years ago |
rubidium
|
e03fdc159d
|
(svn r21133) -Add: function to check the validity of a string (without modifying it)
|
14 years ago |
rubidium
|
846038dd58
|
(svn r21006) -Fix (r21004): don't print the text direction character when ICU isn't linked and thus doesn't remove them
|
14 years ago |
frosch
|
5b86c79fce
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
14 years ago |
rubidium
|
be79aba6eb
|
(svn r19874) -Fix [FS#3845]: NetBSD compilation was still broken in some cases (Krille)
|
15 years ago |
glx
|
95b4be81fc
|
(svn r19859) -Fix (r19853): preprocessor warning
|
15 years ago |
rubidium
|
0a34d95374
|
(svn r19853) -Fix [FS#3840]: revert r19781 and apply a more sensible version with the same effect
|
15 years ago |
glx
|
47636b3093
|
(svn r18919) -Fix (r15371): strcasestr() return should not be const
|
15 years ago |
rubidium
|
99d46e0ad7
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
rubidium
|
c496a3e014
|
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
|
16 years ago |
smatz
|
ce7dff4acc
|
(svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
|
16 years ago |
rubidium
|
34bd9ee636
|
(svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns.
|
16 years ago |
rubidium
|
e856287029
|
(svn r15376) -Fix [FS#2608] (r15371): OSX/BSD also seems to define strcasecmp under some circumstances.
|
16 years ago |
rubidium
|
0ffb019103
|
(svn r15371) -Codechange: add an implementation of strcasestr for when _GNU_SOURCE isn't defined.
|
16 years ago |
glx
|
47a61fb10c
|
(svn r15316) -Fix [NoAI]: ignore unprintable chars when returning a string to squirrel
|
16 years ago |
rubidium
|
1bc8e3f536
|
(svn r15135) -Fix/Change: allow str_validate (part of receiving strings from the network) to pass newlines instead of replacing them with question marks, but only when asked to do so.
|
16 years ago |
skidd13
|
f1911b167a
|
(svn r14553) -Doc: Add some doxygen comments
|
16 years ago |
skidd13
|
5b62536381
|
(svn r14546) -Codechange: Unify string(cpy|cat) functions
-Doc: string(cpy|cat) functions
|
16 years ago |
rubidium
|
56d0990d62
|
(svn r14541) -Fix (r14540): mingw didn't like it :(
|
16 years ago |
rubidium
|
0d2f84e117
|
(svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly.
|
16 years ago |
smatz
|
6e5cc48c34
|
(svn r14204) -Fix (r7475): when determining length of a string with limited size, first check if we are not out of bounds already
|
16 years ago |
glx
|
01e8ec447e
|
(svn r14155) -Fix (r14154): wrong comments
|
16 years ago |