summaryrefslogtreecommitdiff
path: root/src/string.h
AgeCommit message (Collapse)Author
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-08-31(svn r11025) -Fix: safeguard StrEmpty from calls with NULL.rubidium
2007-07-24(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> ↵rubidium
type *var.
2007-04-04(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. ↵belugas
The end of the preliminary work is near
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-05(svn r9012) -Fix/Feature (UTF8): When cutting strings into multiple lines ↵Darkvater
also take into consideration whitespace characters of more than 1 byte length (eg IDEOGRAPHIC SPACE, IsWhitespace() function). When trimming such strings, account for multiple-byte long sequences so use *Utf8PrevChar(v) = '\0'. -Codechange: Add a function Utf8TrimString() that properly trims a string to an UTF8 encoding seperation instead of somewhere in the wild (and use it in the chat area)
2007-03-05(svn r9011) -Codechange (r9003): Rework Utf8PrevChar so that it returns a ↵Darkvater
pointer to the previous UTF8 character's first byte instead of a byte-length offset
2007-03-04(svn r9003) -Codechange: Introduce a function Utf8PrevCharLen that finds the ↵Darkvater
starting character of an UTF-8 sequence from a given position and returns the length to the first UTF-8 encoding byte of that sequence.
2007-01-13(svn r8097) Replace strlen() {==,!=,>} 0 by the more concise {,!}StrEmpty(). ↵tron
Additionally the test takes O(1) instead of O(n) now
2007-01-13(svn r8093) -Codechange: Add a function to get a string representation of an ↵Darkvater
MD5SUM and use it.
2007-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.