Fossil

History of src/config.h of bddc40ced26df1b8
Login

History of src/config.h of bddc40ced26df1b8

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of file src/config.h at check-in bddc40ced26df1b8

2026-03-23
13:49
Update to the latest SQLite and rig Fossil to use sqlite3_atof() if that interface is available. When compiling with an older SQLite, it falls back to using atof(). ... (file: [21e9e7fea2] check-in: [cb89386af5] user: drh branch: trunk, size: 8194)
2025-12-23
16:06
Assorted fixes of typos and grammar in code comments. No functional changes. ... (file: [0ed672f15c] check-in: [e2bdc10572] user: danield branch: trunk, size: 8173)
2024-10-12
12:03
Emit only \n, not \r\n, even in places where protocols technically require a full \r\n. Provide a compile-time option -DSEND_CR=1 that includes the CRs when necessary. ... (file: [1cb56d2e62] check-in: [0dcce257b0] user: drh branch: omit-cr, size: 8764)
2022-01-27
03:57
Make sure the pikchr() function has a prototype(). MSVC generates incorrect code (and does not give a warning) if the prototype is missing. ... (file: [a32628c01e] check-in: [a27b3364e3] user: drh branch: trunk, size: 8277)
2021-06-30
19:14
Initial changes to support HOST: prefixes on the REPOSITORY argument of the "fossil ui" command. ... (file: [a4bd538623] check-in: [cb34f1a8ac] user: drh branch: remote-ui, size: 8172)
2020-12-04
18:35
The variadic function builtin_fossil_js_bundle_or() was using 0 as a sentinel to detect end-of-list, but that isn't equivalent to NULL in a list of pointed-to objects in all C compilers, on all systems. Using a GCC/Clang function attribute to force a warning when 0 is passed instead of NULL, then fixed all resulting warnings. This fixes the SEGV reported in [forum:/forumpost/5feca9c36a|forum post 5feca9c36a] on Mac OS X 10.11 with Clang from Xcode 7. Later versions of Clang on macOS don't have this problem, but it's still UB, so fixing it may solve some pain for us later on. ... (file: [2f3715d5a6] check-in: [815b4fc493] user: wyoung branch: trunk, size: 8060)
2020-06-01
14:59
Revert the change at [a3ab0c6186b43236]. In its place, add the blob_append_safe_html() routine that stricts HTML generated by Markdown to be in the set of safe elements as defined by Fossil-wiki. Omit any unsafe elements and/or attributes. Omit unmatched close-tags. Insert missing close-tags. ... (file: [722b2a0ac1] check-in: [aadf91723a] user: drh branch: trunk, size: 7965)
2020-01-09
23:02
Fix build errors when using MSVC version that has no 'stdint.h' ... (file: [5599c3074e] check-in: [c6ae8584b1] user: ashepilko branch: trunk, size: 7903)
2018-01-18
03:52
Now that pledge() is automatically detected, update the comment with the new name of the configuration parameter. ... (file: [d9a16a4931] check-in: [4f90d591aa] user: andybradford branch: trunk, size: 7841)
2018-01-17
19:29
Only make the first argument to pledge() available using the fossil_pledge() interface. The second argument is always NULL. ... (file: [0102a341ee] check-in: [91ccde50a0] user: drh branch: trunk, size: 7848)
19:04
Automatically detect the presence of the pledge() system interface and use it if it is available. ... (file: [2c2b7264c7] check-in: [64def88f8b] user: drh branch: trunk, size: 7850)
2018-01-15
21:43
Only #define fossil_pledge in config.h if FOSSIL_HAVE_PLEDGE is not defined so that makeheaders can pick up the function prototype for checkin.h when FOSSIL_HAVE_PLEDGE is defined. ... (file: [008533925c] check-in: [1180676e9b] user: andybradford branch: trunk, size: 7857)
16:18
Add the fossil_pledge() utility routine, that is a no-op unless compiled with FOSSIL_HAVE_PLEDGE. ... (file: [05f1d4f9cb] check-in: [7b81a9993b] user: drh branch: trunk, size: 7914)
2017-05-30
01:26
Further enhancements to SEE integration. ... (file: [d6b66b9cf8] check-in: [53048387fb] user: mistachkin branch: see, size: 7582)
2017-05-28
19:35
Fix compilation using MSVC 2005 and 2008. ... (file: [3a69b49eda] check-in: [9766cfd5a3] user: mistachkin branch: trunk, size: 7506)
2017-03-24
08:55
Not all MSVC versions understand __declspec(noreturn) ... (file: [226abfa7e9] check-in: [131bef4234] user: jan.nijtmans branch: trunk, size: 7249)
2017-03-23
22:09
Define the NORETURN macro for MSVC ... (file: [8c82d54ff3] check-in: [a99c9ffec2] user: drh branch: trunk, size: 7227)
2017-03-01
21:24
Make it possible to turn off SHA1 hardening, falling back to the legacy implementations. ... (file: [9edbe6bfa8] check-in: [2f87dcf5df] user: drh branch: hardened-sha1, size: 7164)
21:03
Use the hardened SHA1 hash function from [https://github.com/cr-marcstevens/sha1collisiondetection]. ... (file: [69334994b9] check-in: [ba9d10807e] user: drh branch: hardened-sha1, size: 7039)
2016-11-06
16:38
Correct incorrect commit in [36e7558a11598] (with incorrectly committed code) ... (file: [e0a8d96a16] check-in: [ae424dc16a] user: andybradford branch: mistake, size: 7019)
16:10
Move macro definition to config.h which is included everywhere to fix build failure reported on mailing list with "configure --json --with-tcl --with-th1-docs". ... (file: [3e473fa4df] check-in: [36e7558a11] user: andybradford branch: trunk, size: 7049)
2016-05-28
00:16
MinGW makefile integration fixes, mostly for zlib. Also, Clang can define _MSC_VER in some circumstances; therefore, check for Clang first in 'config.h'. ... (file: [b91f4223f2] check-in: [8f2dd0106e] user: mistachkin branch: trunk, size: 6936)
2016-05-27
21:14
Add Clang to the list of detected compilers in 'config.h'. ... (file: [a5462f110b] check-in: [67cdb9b186] user: mistachkin branch: trunk, size: 6936)
2014-07-09
21:04
If the system knows about utime() and/or usleep(), allow the built-in SQLite to use those functions. e.g. for executing delays which are not a multiple of 1 second. ... (file: [5b0f2c55c6] check-in: [16f1076334] user: jan.nijtmans branch: trunk, size: 6584)
2014-06-13
14:21
Auto-adjust the width of timeline (and various other output places) according to real terminal width. Suggested by Baptiste Daroussin. ... (file: [e8f2f690e4] check-in: [c4891e24af] user: jan.nijtmans branch: autoadjust, size: 6515)
2014-03-06
09:42
Cherrypick [http://www.sqlite.org/src/info/170e058520|170e058520]: Better support for MinGW 4.x. Together with minor fossil build adaptations such that a MinGW 4.x build reports the right mingw version. Remark: Building fossil with MinGW 4.x still doesn't produce a working fossil.exe, unless you patch MinGW's <dirent.h> slightly. See: [18cff45a4e] and [https://sourceforge.net/p/mingw/bugs/2106/]. This MinGW 4.x bug is already open for almost 5 months now. ... (file: [06b47d703b] check-in: [e68f528bfa] user: jan.nijtmans branch: trunk, size: 6495)
2014-02-15
03:49
Expand version reporting support to all compilers with in-tree makefiles. ... (file: [ed617caa7d] check-in: [43dbc41226] user: mistachkin branch: trunk, size: 6087)
03:03
Further improve reporting of the compiler version information. ... (file: [8c2e32a530] check-in: [b065aff4b9] user: mistachkin branch: trunk, size: 5130)
01:43
Include compiler version in the verbose output. ... (file: [531a34adf5] check-in: [916e5a43db] user: mistachkin branch: trunk, size: 4602)
2013-10-24
10:53
Don't set _USE_32BIT_TIME_T when using MSVC++ compiler: On <VS2005 this flag has no effect, and for >=VS2005 the executable links with msvcrt80.dll (or higher), so the fact that localtime64 is missing from msvcrt.dll is no issue there. ... (file: [c2c5361cd6] check-in: [6112b31d8c] user: jan.nijtmans branch: trunk, size: 4307)
2013-10-15
15:02
If _USE_32BIT_TIME_T is already set, e.g. because SQLite provides it already, don't set it again. ... (file: [504767b340] check-in: [043512c578] user: jan.nijtmans branch: trunk, size: 4279)
2013-10-11
12:40
Fix Win64 build with MinGW. Problem reported by Martin Gagnon. ... (file: [4f4af52678] check-in: [0d70a87234] user: jan.nijtmans branch: trunk, size: 4248)
11:13
Attempt to fix Win64 MinGW build. Doesn't work yet. ... (file: [d5d962f277] check-in: [e25410039d] user: jan.nijtmans branch: fix-win64-mingw, size: 4209)
2013-10-10
13:18
Make sure that in Win64 builds _USE_32BIT_TIME_T is never defined. ... (file: [e6f05181e7] check-in: [d66cfb164f] user: jan.nijtmans branch: trunk, size: 4182)
2013-06-06
06:31
Teach config.h to recognize Sun's C compiler. ... (file: [6c613503b1] check-in: [57b585276b] user: edward branch: sun-compiler, size: 4120)
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII ... (file: [d8b21cce3b] check-in: [9f6abc5968] user: jan.nijtmans branch: msvc-broken, size: 4057)
2012-06-27
12:30
Begin a branch that is modified to use sqlite4 instead of sqlite3 as the storage engine. This check-in compiles (on unix) but does not work. ... (file: [93d747a4e5] check-in: [6823912746] user: drh branch: sqlite4, size: 4058)
2012-03-29
14:54
Add vim modline everywhere ... (file: [52ea7809ba] check-in: [a496d8e88d] user: mgagnon branch: mgagnon_fix, size: 4100)
2011-10-15
12:16
Mark functions that never return (ex: fossil_panic()) as such so that static analyzers can do a better job of pruning paths. ... (file: [b0d94a1b2d] check-in: [86d2b4efc8] user: drh branch: trunk, size: 4058)
2011-06-19
16:52
Require version 2.61 of autoconf, the version installed by default on Mac OS X. Changes to get autoconf working under Solaris 10: Prefer system version of OpenSSL found in /usr/sfw directory. Check for getpassphrase using autoconf rather than making assumptions in config.h. ... (file: [81b52b466d] check-in: [c5f994d4c5] user: ben branch: autoconf, size: 3883)
2011-06-14
17:09
Add very basic configure script. It is just checking for zlib, OpenSSL and the USE_PREAD support on the BSDs. ... (file: [fe538681bc] check-in: [8559c781c2] user: joerg branch: autoconf, size: 3897)
2011-05-22
07:53
Fix for passwords > 8 chars long on Solaris. getpass() silently truncates to 8 chars, use getpassphrase() instead. ... (file: [c7e77ab48c] check-in: [3e61ada775] user: ben branch: solaris10, size: 3840)
2011-05-10
13:29
Always write UTF8 to the console. Change the console output mode on windows to UTF8 at startup. ... (file: [7e5756b2a0] check-in: [ab934c6b09] user: drh branch: windows-i18n, size: 3660)
2010-12-30
20:37
Clean up to the graph generator. Add comments describing variables in the javascript. Omit merge descenders if parent descenders are omitted. Add a test page of URL links. ... (file: [56f6a96486] check-in: [94979bc7e3] user: drh branch: trunk, size: 3910)
2010-10-14
19:23
Additional compiler warning fixes. ... (file: [da6c9c44dd] check-in: [c345445cad] user: drh branch: trunk, size: 3898)
19:14
Remove all use of ctypes.h in order to avoid compiler warnings and other problems associated with changing locales. ... (file: [7e9acc5888] check-in: [2fac809165] user: drh branch: trunk, size: 2817)
18:48
Remove a bunch of unused code. ... (file: [978760f3c3] check-in: [62f8acbe73] user: drh branch: trunk, size: 2779)
2010-10-07
18:40
Merge in changes from wolfgangFormat2CSS_2, with a few minor corrections. ... (file: [90ed5a4d2d] check-in: [b525add4e0] user: drh branch: trunk, size: 4312)
2010-10-01
15:50
Change COMPILE_VARIANT to COMPILER_NAME. Populate the macro with complete version information when using GCC. ... (file: [817eff47eb] check-in: [33b4f335e0] user: drh branch: wolfgangFormat2CSS_2, size: 4293)
2010-09-30
15:12
resource generate running on XP/dmc&pellesc5 ... (file: [561dd6fdc5] check-in: [9d896dcadb] user: wolfgang branch: wolfgangFormat2CSS_2, size: 4238)
14:30
added comment to compile variant definition, added missing pellesC ifdef ... (file: [d622bdd112] check-in: [12eb50d134] user: wolfgang branch: wolfgangFormat2CSS_2, size: 4239)
06:44
extended resource info for windows compile ... (file: [76de5aa3aa] check-in: [dd830ff82a] user: Ratte branch: wolfgangFormat2CSS_2, size: 4173)
2010-09-29
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 ... (file: [26d8e87251] check-in: [4d7c443c10] user: wolfgang branch: wolfgangFormat2CSS_2, size: 4112)
2010-09-26
16:33
added build environment for PellesC ... (file: [27accdc7d6] check-in: [c343cd9873] user: wolfgang branch: wolfgangFormat2CSS_2, size: 3620)
2010-09-18
22:22
Enable large-file support for stat() on linux. Fix the "stat" webpage to handle repositories larger than 2GB. Ticket [b1934313bcfb3a90d4027b] ... (file: [3d1ee2e310] check-in: [31fdc347ac] user: drh branch: trunk, size: 3578)
2010-08-28
09:20
Added the msvc sdk compiler ... (file: [6eccfe5590] check-in: [c00f79d054] user: renez branch: windowscompilers, size: 3322)
06:59
This is the first check-in on the windowscompilers branch and it adds the <a href="http://www.digitalmars.com/">Digital Mars C compiler</a> The user should have dmc installed in c:\DM with zlib in c:\DM\extra\lib and c:\DM\extra\include. typing c:\DM\bin\make -f win\Makefile.dmc builds fossil.exe in dmcobj The following files were edited or added: <p>Checks if one of the windows compilers is used. If so we define _WIN32. Defining _WIN32 is normally done by<br>#include &lt;windows.h&gt;<br> However most of the time we don't use windows.h. </p> <p>Adding an other windows compiler is done by adding<br> "|| defined(__COMPILER_IDENTIFIER__)"<br> and maybe some special things in the files below. Like <pre> </pre> </p> <p>These have all __MINGW32__ replaced by _WIN32. And in some places special processing for either MINGW32 or DMC <p>In popen2 the _open_osfHandle call first parameter is cast to a long. DMC refused to compile without the cast.</p> <p>DMC complained that it didn't knew of time_t in rss.h. time.h came after rss.h. Switching the two solved it! </p> <p>added tcl code to generate Makefile.dmc. tclsh src/makemake.tcl dmc prints to stdout the makefile. As a convienience to the end-user I added the win/Makefile.dmc to the repository. There are few changeable variables in there for adjusting path, CFLAGS LIBS etc. </p> <p>These are needed because DMC and MSVC doesn't provided them. dirent.h is copied verbatim from the net. unistd.h I found on the net too, but added some defines. <p>The problem with windows it doesn't have AWK standard installed. version.c creates VERSION.h. It is a very simple C-program and doesn't do a lot of checking. </p> ... (file: [88e321d157] check-in: [f66f414fd3] user: renez branch: windowscompilers, size: 3279)
2010-08-25
16:03
Continuing work on the ssh:// sync protocol. ... (file: [d93b5074b2] check-in: [958f596637] user: drh branch: experimental, size: 3168)
2010-05-16
19:08
Change from GPL to the Simplified BSD License. ... (file: [8b750d35e8] check-in: [c06edd231f] user: drh branch: clear-title, size: 3123)
2010-01-19
18:11
Start a new branch that strives to contain only code for which we hold clear title. ... (file: [b652b900e9] check-in: [ab0a0d7640] user: drh branch: clear-title, size: 3399)
2007-07-21
14:10
Initial check-in of m1 sources. ... (file: [b4a2d63888] check-in: [dbda8d6ce9] user: drh branch: trunk, size: 3326)