Fossil

History of win/version.c of 723f8c200f44c7fb
Login

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

History of the file that is called win/version.c at checkin 723f8c200f44c7fb

2022-03-30
15:08
Add "--describe" flag to the "version" command to provide context to the most recent major commit tagged with "version*".

Run "touch manifest.descr" in the repo root prior to the first build, then build it a second time to get it bootstrapped. ... (file: [2de16f67] check-in: [4329553d] user: danield branch: version-cmd-describe, size: 7553)

2022-02-10
23:30
Fix a warning for unused variable 'p' introduced by [487e465263fd21] ... (file: [9844d975] check-in: [8895d938] user: george branch: trunk, size: 6542)
2022-02-09
06:59
Display build/patch number for the MSVC compiler. ... (file: [e2383efe] check-in: [487e4652] user: danield branch: trunk, size: 6540)
2021-12-25
12:06
Part one of src/ file relocations discussed in /chat. This step moves the various code generators and translators from src/ to tools/. Edit: moving to branch for further changes, as this broke diff -tk. ... (file: [a2b7770e] check-in: [a13ab011] user: stephan branch: code-movement, size: 6418)
2020-07-17
23:53
For strtoll() with Visual Studio prior to MSVS 2013, fallback to _strtoi64(). ... (file: [a2b7770e] check-in: [d626ddb5] user: ashepilko branch: trunk, size: 6418)
2020-06-11
19:51
Fix the mkversion.c program to also respond to the SOURCE_DATE_EPOCH environment variable. ... (file: [6ed1f6ce] check-in: [7d61b682] user: drh branch: trunk, size: 6323)
14:13
Add support for the FOSSIL_BUILD_EPOCH compile-time option. Ticket [99038b83b489dddb] ... (file: [6eb99610] check-in: [1a894c08] user: drh branch: trunk, size: 6145)
2020-05-10
14:51
Shift the computation of the hash returned by fossil_exe_id() from run-time to compile-time. ... (file: [cf56862b] check-in: [22fc5a79] user: drh branch: trunk, size: 4603)
2020-04-14
02:15
Fix the mkversion.c routine so that it works with timestamps that have a leading zero. ... (file: [6d58f323] check-in: [64bc064d] user: drh branch: trunk, size: 3756)
2020-04-13
12:39
If either side sends a gimme for a private artifact, reply with a private igot card to let the requestor know that the artifact is private. Other changes to help make this work are the new server-version pragma and adding date and time numbers to the client-version and server-version pragmas. The auto-shun setting now defaults to off. ... (file: [61573da8] check-in: [050cd019] user: drh branch: sync-improvements, size: 3712)
2017-07-25
15:38
Better error checking in the mkversion utility program used during the build process. ... (file: [6e606c3a] check-in: [8b9ce19e] user: drh branch: trunk, size: 3261)
2017-07-13
10:22
Update top OpenSSL 1.0.2l. Minor (harmless) compiler warnings in mkversion and codecheck1 (-Wall) ... (file: [54a7ddc4] check-in: [23895c7b] user: jan.nijtmans branch: trunk, size: 2919)
2017-02-28
22:34
Fix the FOSSIL_VERSION_NUMBER macro so that it is always of the form XYYZZ X is the major version number (ex: 2) and YY is the minor version number and ZZ is the patch number, or 0. ... (file: [58272381] check-in: [2dce6a92] user: drh branch: fossil-2.0, size: 2870)
2016-10-23
01:28
Minor enhancement to 'mkversion'. ... (file: [d76e0e3c] check-in: [f59f4e1f] user: mistachkin branch: trunk, size: 2812)
2015-01-22
12:37
Add a few "const" qualifiers in appropriate places, and remove some unnecessary end-of-line spaces. No change in functionality. ... (file: [40ed3028] check-in: [f6c285f8] user: jan.nijtmans branch: trunk, size: 2748)
2014-12-01
21:36
Still more fixes for harmless compiler warnings. ... (file: [b6f63fc1] check-in: [3753b87d] user: drh branch: DBP-workflow, size: 2751)
21:29
More compiler warning fixes. ... (file: [2701f4cd] check-in: [155c8b64] user: drh branch: DBP-workflow, size: 2731)
2014-02-15
03:49
Expand version reporting support to all compilers with in-tree makefiles. ... (file: [4162912f] check-in: [43dbc412] user: mistachkin branch: trunk, size: 2537)
03:03
Further improve reporting of the compiler version information. ... (file: [7330febc] check-in: [b065aff4] user: mistachkin branch: trunk, size: 2064)
2012-08-30
02:04
Simplify the mkversion changes from the previous commit. ... (file: [c647b15d] check-in: [ae85ba15] user: mistachkin branch: trunk, size: 1927)
01:56
Support setting the binary file/product versions in the Win32 resources. ... (file: [bab4652d] check-in: [6b8ef6a4] user: mistachkin branch: trunk, size: 1946)
2012-03-29
14:54
Add vim modline everywhere ... (file: [79f2312c] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 1568)
2011-06-18
16:50
Add a version number that is increased by one on each release. Make the initial version number 1.18 since there have been 17 prior releases. ... (file: [f2a3e37f] check-in: [e0303181] user: drh branch: trunk, size: 1526)
2011-01-14
16:57
Fix the unix makefile so that the fractional seconds of the date/time stamp are omitted from MANIFEST_DATE. Fix a missing #include in win/version.c. Ticket [a312a28952056ed5ee]. ... (file: [dce253ba] check-in: [d00dbfb4] user: drh branch: trunk, size: 815)
2010-12-23
17:14
Rework the makemake.tcl makefile generator script so that it generates makefiles for all windows compilers all in one go. Add an output for mingw. Ticket [fa403b6a123659d885e3] ... (file: [5cff6467] check-in: [723f8c20] user: drh branch: trunk, size: 795)
2010-09-30
14:01
copyright resource uses only year ... (file: [0d36e6fc] check-in: [dd3bf669] user: wolfgang branch: wolfgangFormat2CSS_2, size: 566)
2010-08-28
06:59
This is the first check-in on the windowscompilers branch and it adds the Digital Mars C compiler
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:

Checks if one of the windows compilers is used. If so we define _WIN32. Defining _WIN32 is normally done by
#include <windows.h>
However most of the time we don't use windows.h.

Adding an other windows compiler is done by adding
"|| defined(__COMPILER_IDENTIFIER__)"
and maybe some special things in the files below. Like

     

These have all __MINGW32__ replaced by _WIN32. And in some places special processing for either MINGW32 or DMC

In popen2 the _open_osfHandle call first parameter is cast to a long. DMC refused to compile without the cast.

DMC complained that it didn't knew of time_t in rss.h. time.h came after rss.h. Switching the two solved it!

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.

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.

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.

... (file: [89b5d1fb] check-in: [f66f414f] user: renez branch: windowscompilers, size: 506)