Commit Graph

37 Commits

Author SHA1 Message Date
smatz 14d8689e66 (svn r14467) -Fix [FS#2350](r14443): use '~' instead of '#' as sed separator, it could be understood in a wrong way by shell 2008-10-14 19:47:28 +00:00
skidd13 5b8af7db3b (svn r14443) -Change: Unify the delimiters used in config* and make* 2008-10-06 17:05:44 +00:00
matthijs 157b625263 (svn r14272) -Fix [Makefile]: Always pass an explicit delimiter to the "cut" command, in
case there are platforms where tab is not the default.
2008-09-08 06:27:08 +00:00
matthijs 6cf61714ca (svn r14261) -Change [Makefile]: Move the revision detection code from Makefile.src.in to a
new bash script findversion.sh. This commit should have no functional changes.
2008-09-07 13:24:49 +00:00
truebrain 72f86fe801 (svn r14255) -Fix [configure]: remove the requirement to have a recent enough 'grep' which understands -m. Instead, use 'head -n 1' which is more common available 2008-09-06 12:54:11 +00:00
truebrain 2f350316b6 (svn r14244) -Fix: add 'Auto-generated' text when autogenerated, not in template (complain by blathijs ;)) 2008-09-04 19:15:52 +00:00
glx bb92a7ab08 (svn r14194) -Fix: don't use hardcoded character offsets to get hg revision. This make it similar to svn and git (ie without the ':'). 2008-08-30 13:15:36 +00:00
glx 618681997d (svn r14072) -Fix (r14053): branch detection failed with mawk (peter1138) 2008-08-14 15:37:52 +00:00
glx 4d10054112 (svn r14053) -Fix: branch detection failed for svn+ssh repos 2008-08-12 18:03:32 +00:00
smatz 50f7e7a71e (svn r13902) -Fix (r13375): rev.cpp wasn't recreated when --revision was used and the 'modified' status of sources changed 2008-07-31 20:09:54 +00:00
smatz c04965c8db (svn r13901) -Fix: make sure REV_NR isn't empty, rev.cpp would fail to compile 2008-07-31 19:19:29 +00:00
smatz c7a9637834 (svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details 2008-06-03 18:35:58 +00:00
glx 400ca1dae5 (svn r11469) -Fix (r11051): only consider changes in src when detecting modified (M) version 2007-11-18 22:37:44 +00:00
glx 272a21077d (svn r11468) -Fix (r11330): rev number detection didn't work for git with msys/mingw 2007-11-18 20:38:24 +00:00
truelight 945ca0c635 (svn r11336) -Fix r11330: '#' means comment in gmake, so don't use it in seds 2007-10-21 20:14:15 +00:00
glx c66bbda3ec (svn r11335) -Fix (r11148): only consider changes in src when detecting modified (M) version 2007-10-21 17:19:18 +00:00
rubidium f4775d06bb (svn r11330) -Add: OTTD version checking for NewGRFs. This allows NewGRFs to do something different for different versions of OpenTTD, like disabling it for too low versions or loading different graphics. 2007-10-21 14:59:05 +00:00
rubidium aec2d03c72 (svn r11148) -Codechange: add support for getting version numbers from Mercurial/HG instead of norev000 (when using a Mercurial/HG clone that is). 2007-09-23 10:26:20 +00:00
rubidium 9e7931f6ea (svn r11089) -Codechange: add revision detection to MSVC. 2007-09-12 07:11:48 +00:00
rubidium 6ba71707f2 (svn r10563) -Fix: gcc 2.95 (which is still needed for MorphOS :() does have trouble with using the protected/private variables of the enclosing class (and super classes of that enclosing class). 2007-07-14 20:40:11 +00:00
rubidium 03c1ecb17a (svn r10171) -Add: simple support for ccache (--with-ccache). 2007-06-16 21:57:30 +00:00
glx b73cd3c12d (svn r10057) -Fix (r10051): git version detection didn't work for mingw/msys 2007-06-07 13:40:20 +00:00
rubidium 463093d0ae (svn r10051) -Add: git "version" detection so we've got at least some indication what version we're playing when using git ;) 2007-06-07 00:25:49 +00:00
truelight 2f188272af (svn r9710) -Add: added support for GCC 2.95. This makes MorphOS target alive again. With a big thanks to tokai and Rubidium!! 2007-04-21 13:19:43 +00:00
glx 56c38973ec (svn r8839) -Fix: escape slashes in sed for mingw Makefile.dep stuff. It worked with sed 3.02 (provided by msys) but sed 4.1.4 (from gnuwin32.sf.net) failed. 2007-02-22 00:33:39 +00:00
truelight f79618118f (svn r8819) [Config] -Documentation: added why we need CC_HOST for linking on PSP 2007-02-19 21:18:39 +00:00
truelight b528cede6d (svn r8814) [Config] -Add: added --awk and detect_awk. We now try to find an awk on the user system which allows gsub(). If not found, you can define one yourself, or it tells you versions you might want to install 2007-02-19 19:59:19 +00:00
truelight 53785810c8 (svn r8678) [PSP] -Add: added LIBS and CFLAGS needed to compile PSP
-Fix: PSP needs to link with gcc, not with g++ (don't ask)
-Fix: PSP doens't support threads
2007-02-11 16:28:00 +00:00
bjarni b4592c8a54 (svn r8658) -Fix r8605: missed an error message renaming from m to mm (objC to objC++) 2007-02-10 00:22:32 +00:00
bjarni ca1a88f6c4 (svn r8605) -Codechange: [OSX] changed all objective C to objective C++
This will permanently solve the issue where compilation on OSX broke because C++ code was added to some header files

   -Note: (important if you develop mac specific code)
   taken from http://developer.apple.com/releasenotes/Cocoa/Objective-C++.html           
    gdb lacks an integrated C++ with Objective-C parser. This means that gdb won't be able to evaluate expressions that contain both C++ and Objective-C constructs.
    gdb assumes that the language for ".mm" files is C++.
    you can change it to objective C by typing: (gdb) set language objc 
    Mixing C++ and objective C has some limitation (see link for all of them)
2007-02-05 21:16:56 +00:00
glx 1f0206f62d (svn r8109) -Fix r5693: ignore .hpp to avoid problems with deps 2007-01-13 18:44:38 +00:00
rubidium 387f046a24 (svn r8067) -Fix (r7759): if bin/$(TTD) was removed, it did not get placed back on make unless $(TTD) got relinked. 2007-01-11 18:26:53 +00:00
rubidium f35ed4bbc2 (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 2007-01-10 18:56:51 +00:00
rubidium dbb910679f (svn r7866) -Fix (r7759): ./configure --revision=[revision] did not work as intended. 2007-01-05 15:01:51 +00:00
truelight b559f1a376 (svn r7780) [Configure] -Fix: strip before copy, not copy before strip 2007-01-02 23:19:52 +00:00
truelight 7437ae1a08 (svn r7762) [Configure] -Fix: .rc files were not ignored in old DEP system 2007-01-02 20:19:25 +00:00
rubidium 66bbf336c6 (svn r7759) -Merge: makefile rewrite. This merge features:
- 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.
2007-01-02 19:19:48 +00:00