Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | added a compiler variant TH1 variable, to be able to see the compiler version on the web page during testing/developing different compiler variants |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | wolfgangFormat2CSS_2 |
| Files: | files | file ages | folders |
| SHA1: |
4d7c443c10411efde8fb8551b791ce5b |
| User & Date: | wolfgang 2010-09-29 15:45:09.000 |
Context
|
2010-09-29
| ||
| 16:01 | merged trunk ... (check-in: e2db682fa0 user: wolfgang tags: wolfgangFormat2CSS_2) | |
| 15:45 | added a compiler variant TH1 variable, to be able to see the compiler version on the web page during testing/developing different compiler variants ... (check-in: 4d7c443c10 user: wolfgang tags: wolfgangFormat2CSS_2) | |
| 14:11 | merge trunk ... (check-in: e410d40b1b user: wolfgang tags: wolfgangFormat2CSS_2) | |
Changes
Changes to src/config.h.
| ︙ | ︙ | |||
46 47 48 49 50 51 52 53 54 55 56 57 58 59 | # define _WIN32 # endif #else # include <sys/types.h> # include <signal.h> # include <pwd.h> #endif #include "sqlite3.h" /* ** Typedef for a 64-bit integer */ typedef sqlite_int64 i64; | > > > > > > > > > > > > > > > > > > > > | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | # define _WIN32 # endif #else # include <sys/types.h> # include <signal.h> # include <pwd.h> #endif #if !defined(COMPILE_VARIANT) # if defined(__MINGW32__) # define COMPILE_VARIANT "mingw32" # elif defined(__DMC__) # define COMPILE_VARIANT "dmc" # elif defined(__POCC__) # if defined(_M_X64) # define COMPILE_VARIANT "pellesc64" # else # define COMPILE_VARIANT "pellesc32" # endif # elif defined(_MSC_VER) # define COMPILE_VARIANT "msc" # elif defined(_WIN32) # define COMPILE_VARIANT "win32" # else # define COMPILE_VARIANT "unx-std" # endif #endif #include "sqlite3.h" /* ** Typedef for a 64-bit integer */ typedef sqlite_int64 i64; |
| ︙ | ︙ |
Changes to src/stat.c.
| ︙ | ︙ | |||
107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
@ <tr><th>Fossil Version:</th><td>
@ %h(MANIFEST_DATE) %h(MANIFEST_VERSION)
@ </td></tr>
@ <tr><th>SQLite Version:</th><td>
sqlite3_snprintf(sizeof(zBuf), zBuf, "%.19s [%.10s] (%s)",
SQLITE_SOURCE_ID, &SQLITE_SOURCE_ID[20], SQLITE_VERSION);
@ %s(zBuf)
@ </td></tr>
@ <tr><th>Database Stats:</th><td>
@ %d(db_int(0, "PRAGMA %s.page_count", g.zRepoDb)) pages,
@ %d(db_int(0, "PRAGMA %s.page_size", g.zRepoDb)) bytes/page,
@ %d(db_int(0, "PRAGMA %s.freelist_count", g.zRepoDb)) free pages,
@ %s(db_text(0, "PRAGMA %s.encoding", g.zRepoDb)),
@ %s(db_text(0, "PRAGMA %s.journal_mode", g.zRepoDb)) mode
| > > > | 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
@ <tr><th>Fossil Version:</th><td>
@ %h(MANIFEST_DATE) %h(MANIFEST_VERSION)
@ </td></tr>
@ <tr><th>SQLite Version:</th><td>
sqlite3_snprintf(sizeof(zBuf), zBuf, "%.19s [%.10s] (%s)",
SQLITE_SOURCE_ID, &SQLITE_SOURCE_ID[20], SQLITE_VERSION);
@ %s(zBuf)
@ </td></tr>
@ <tr><th>Compiler:</th><td>
@ %h(COMPILE_VARIANT)
@ </td></tr>
@ <tr><th>Database Stats:</th><td>
@ %d(db_int(0, "PRAGMA %s.page_count", g.zRepoDb)) pages,
@ %d(db_int(0, "PRAGMA %s.page_size", g.zRepoDb)) bytes/page,
@ %d(db_int(0, "PRAGMA %s.freelist_count", g.zRepoDb)) free pages,
@ %s(db_text(0, "PRAGMA %s.encoding", g.zRepoDb)),
@ %s(db_text(0, "PRAGMA %s.journal_mode", g.zRepoDb)) mode
|
| ︙ | ︙ |
Changes to src/style.c.
| ︙ | ︙ | |||
99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
Th_Store("project_name", db_get("project-name","Unnamed Fossil Project"));
Th_Store("title", zTitle);
Th_Store("baseurl", g.zBaseURL);
Th_Store("index_page", db_get("index-page","/home"));
Th_Store("current_page", g.zPath);
Th_Store("manifest_version", MANIFEST_VERSION);
Th_Store("manifest_date", MANIFEST_DATE);
if( g.zLogin ){
Th_Store("login", g.zLogin);
}
if( g.thTrace ) Th_Trace("BEGIN_HEADER_SCRIPT<br />\n", -1);
Th_Render(zHeader);
if( g.thTrace ) Th_Trace("END_HEADER<br />\n", -1);
Th_Unstore("title"); /* Avoid collisions with ticket field names */
| > | 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
Th_Store("project_name", db_get("project-name","Unnamed Fossil Project"));
Th_Store("title", zTitle);
Th_Store("baseurl", g.zBaseURL);
Th_Store("index_page", db_get("index-page","/home"));
Th_Store("current_page", g.zPath);
Th_Store("manifest_version", MANIFEST_VERSION);
Th_Store("manifest_date", MANIFEST_DATE);
Th_Store("compile_variant", COMPILE_VARIANT);
if( g.zLogin ){
Th_Store("login", g.zLogin);
}
if( g.thTrace ) Th_Trace("BEGIN_HEADER_SCRIPT<br />\n", -1);
Th_Render(zHeader);
if( g.thTrace ) Th_Trace("END_HEADER<br />\n", -1);
Th_Unstore("title"); /* Avoid collisions with ticket field names */
|
| ︙ | ︙ |
Changes to win/Makefile.PellesCGMake.
| ︙ | ︙ | |||
45 46 47 48 49 50 51 | TARGETMACHINE_LN=ix86 TARGETEXTEND= endif B=.. SRCDIR=$(B)/src/ WINDIR=$(B)/win/ | | | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | TARGETMACHINE_LN=ix86 TARGETEXTEND= endif B=.. SRCDIR=$(B)/src/ WINDIR=$(B)/win/ ZLIBSRCDIR=../../zlib/ LINK=$(PellesCDir)/bin/polink.exe LINKFLAGS=-subsystem:console -machine:$(TARGETMACHINE_LN) /LIBPATH:$(PellesCDir)\lib\win$(TARGETEXTEND) /LIBPATH:$(PellesCDir)\lib kernel32.lib advapi32.lib delayimp$(TARGETEXTEND).lib Wsock32.lib Crtmt$(TARGETEXTEND).lib CC=$(PellesCDir)\bin\pocc.exe DEFINES=-DFOSSIL_I18N=0 -Dstrncasecmp=memicmp -Dstrcasecmp=stricmp CCFLAGS=-T$(TARGETMACHINE_CC)-coff -Ot -W2 -Gd -Go -Ze -MT $(DEFINES) |
| ︙ | ︙ |