Fossil

History of src/printf.c of da94a3b1c5f181a8
Login

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

History of file src/printf.c at check-in da94a3b1c5f181a8

2025-04-19
18:43
The taint markings and detection now appears to be working. ... (file: [49a54fb5] check-in: [d1bb87bc] user: drh branch: th1-taint, size: 42623)
2025-04-15
23:34
Attempt to provide improved error message outputs for failures while trying to send notification via relay to an MTA. ... (file: [b1826483] check-in: [e6c27d3d] user: drh branch: trunk, size: 42605)
2025-04-08
12:49
Ensure that ALL fopen() calls include 'b' in their modes. The git import/export fopen()s did not have this, which may (hypothetically, but unproven) lead to EOL conversion on Windows. ... (file: [2a5d7a86] check-in: [13049ef2] user: stephan branch: fopen-mode-b, size: 42478)
2025-04-07
05:14
Include the process-id in the logfile message for warnings. ... (file: [2f327737] check-in: [420d007a] user: drh branch: trunk, size: 42477)
2025-03-22
10:38
Delete the timeline-block-markup setting, and all the complication that goes with it. Due to a bug introduced on 2020-06-02, Fossil has behaved as if that setting where always "on", regardless of its actual value, and nobody has complained. Hence, we surmise that the setting is not needed. Ref: forum post 9adfe7e46b2 ... (file: [cb10019b] check-in: [0432c38d] user: drh branch: trunk, size: 42453)
09:38
Simplify the verify-comments setting to have just "on", "off", and "preview" options. Rename the function that implements this feature to "verify_comment()". Reimplement that function so that it uses the new error reporting mechanism in wiki_convert(). ... (file: [057f44db] check-in: [072125b0] user: drh branch: trunk, size: 43022)
2025-03-20
17:20
Improvements to settings: (1) add the --changed option to the "fossil settings" command to cause display of only settings whose value differs from the default. (2) omit the idea of settings that are only shown if their value is not the default. (3) For settings with multiple lines of text, show them indented after the setting name on the "fossil settings" output. (4) The /setup_settings page only shows changed settings by default, with a submenu option to show all settings. ... (file: [30d94a3c] check-in: [74a5e10b] user: drh branch: trunk, size: 43029)
2025-03-19
11:31
Simplify the command property of "abbreviated-subcommands" to just "abbrv-subcom" and the setting property of "show-only-if-changed" to just "if-chng". ... (file: [deba716c] check-in: [3e7c7e22] user: drh branch: trunk, size: 43053)
11:21
Add documentation for various settings that influence the display of timelines, but only display them if their values are different from the default. ... (file: [d693b8b3] check-in: [1f78e794] user: drh branch: trunk, size: 43092)
2025-03-14
13:03
A single new setting "wiki-classic" switches wiki display between the circa-2007 classic wiki and the new 2025 enhanced wiki. ... (file: [f0d98d79] check-in: [918a2e2c] user: drh branch: comment-markdown-links, size: 43027)
10:22
Add documentation for various settings that influence the display of timelines. ... (file: [b4e5a00d] check-in: [7d677246] user: drh branch: comment-markdown-links, size: 43259)
2025-03-05
21:43
Further tweaks to the markdown style formatting in wiki. ... (file: [9d2a2e95] check-in: [10295397] user: drh branch: comment-markdown-links, size: 42245)
20:16
Provide the ability to control markdown styling and markdown hyperlinks for check-in cmments separately and independently. ... (file: [d25de5c2] check-in: [34f36bc2] user: drh branch: comment-markdown-links, size: 42249)
2025-03-04
12:21
Add the timeline-markdown-span setting that controls whether or not markdown span markup will be interpreted in check-in comments. Add auto-links. Support for emphasis and code marks is pending. ... (file: [47835460] check-in: [8f55b909] user: drh branch: comment-markdown-links, size: 42180)
11:48
Change the rendering option to WIKI_MARKDOWN_SPAN with the idea of eventually supporting all kinds of span-markdown, just not block-markdown. Add support for auto-links. ... (file: [01f593ba] check-in: [f80b8921] user: drh branch: comment-markdown-links, size: 42140)
00:39
Proof-of-concept code that allows markdown-style hyperlinks to appear in check-in comments. Markdown-style hyperlinks are not allowed in ordinary text/x-fossil-wiki for backwards compatibility. This simply change reduces the need to provide full markdown support for check-in comments. ... (file: [f3b93c62] check-in: [e7bc33f0] user: drh branch: comment-markdown-links, size: 42077)
2025-03-03
23:23
Fix the printf() %W and %!W conversions so that they can both be used during the same Fossil run. ... (file: [dcaf7a62] check-in: [adbb0b92] user: drh branch: trunk, size: 42040)
2024-12-18
18:40
Fix the previous commit to restore ANSI C-89 conformance. ... (file: [4f1db2d7] check-in: [bee9b301] user: florian branch: trunk, size: 41865)
18:30
Fix a problem introduced with [593ceca27d]: the blob resize operation may realloc the buffer, so obtain the pointer to the buffer only after the resize to avoid a "use after free". ... (file: [0a4f7eba] check-in: [36bcaaee] user: florian branch: trunk, size: 41851)
2024-12-17
12:38
Send the --from argument of the "fossil ui" command encoded as hexadecimal, to work around quoting problems on Windows. Forum post cfc22d41b19a1a96. ... (file: [a7630f7e] check-in: [593ceca2] user: drh branch: trunk, size: 41851)
2024-08-27
19:38
Fix one mis-changed line in [898a70ce82a5] which would have broken builds on OS/2. ... (file: [6b1690b1] check-in: [94c8af02] user: stephan branch: trunk, size: 41413)
11:06
Move the file-specific definitions of the isatty() and fileno() macros into util.c's fossil_isatty() and fossil_fileno() in prep for an upcoming change which needs isatty(). ... (file: [5ce44305] check-in: [898a70ce] user: stephan branch: trunk, size: 41420)
2024-07-29
11:25
Report the phase of operation in error log messages. ... (file: [59069b0f] check-in: [49f676e3] user: drh branch: trunk, size: 41406)
2023-08-31
12:20
Show the complete CGI environment in the error log on a 418 hack attempt error. ... (file: [55969293] check-in: [0204f4aa] user: drh branch: trunk, size: 41345)
2023-02-17
14:37
A large collection of compiler warning fixes re. signed/unsigned comparison from Daniel D. ... (file: [5fa877f1] check-in: [c71f711e] user: stephan branch: compiler-warnings, size: 41059)
2022-10-18
01:07
Experimental refinements to the fix on this branch to make it slightly more efficient. ... (file: [39332cbf] check-in: [2172c513] user: mistachkin branch: nonHashFix, size: 41131)
2022-10-17
01:03
Merge updates from trunk. ... (file: [b1b05019] check-in: [7489c8b9] user: mistachkin branch: nonHashFix, size: 41074)
2022-07-17
23:48
Changed a number of "a" articles followed by vowels in docs and comments to "an", per a forum post. ... (file: [cc8fd1fb] check-in: [99a319bd] user: wyoung branch: trunk, size: 41049)
2022-07-01
01:44
Experimental fix to make '%!S' in hyperlinks stop truncating things that are not check-in identifiers. This should probably be optimzied by refactoring the surrounding code to avoid calculating the length more than once. ... (file: [641b0ead] check-in: [7eba14d1] user: mistachkin branch: nonHashFix, size: 41076)
2021-09-07
12:51
Enhance the blob_append(), blob_appendf(), blob_append_char(), and similar interfaces such that if the Blob pointer in the first argument is NULL, the result is written directly to stdout. ... (file: [193a7fe4] check-in: [3a561322] user: drh branch: trunk, size: 41051)
2021-06-30
13:52
Enhance the blob_append_escaped_args() routine with a new parameter to indicate if the argument is a filename. Only prepend "./" to filename arguments that begin with "-". The "%$" printf conversion assumes a filename, but the "%!$" conversion does not. ... (file: [4f8b95b4] check-in: [4f83d062] user: drh branch: trunk, size: 41209)
2021-03-26
16:13
Mention possible core dump from fossil_panic() exits. ... (file: [5fd10d70] check-in: [46631168] user: larrybr branch: panic-reduction, size: 41067)
2021-03-25
01:32
Reduce fossil_panic() calls to those indicating bugs and internal errors. Also clarify effects and purposes of fossil_fatal() vs. fossil_panic(). ... (file: [b02c672f] check-in: [91a4652f] user: larrybr branch: panic-reduction, size: 41005)
2021-03-18
23:31
Fix JSON assert in fossil_print_error() seen when an invalid repository is specified. ... (file: [b60175d8] check-in: [44cf2e91] user: mistachkin branch: th1-malloc-debugging, size: 40547)
2020-12-22
12:13
Removed the parameter from style_finish_page() since the resulting content div class is now redundant with respect to the body class. This potentially breaks CSS made against old class names that a prior commit on this branch changed, but such skins would be made against an unreleased version of Fossil, it's unlikely many are using that first version of the feature anyway, and most of the class names did *not* change unless you were targeting a "div" instead of "body" or just a generic class name. None of the shipping skins are affected. ... (file: [6cd5926c] check-in: [0e83ca88] user: wyoung branch: body-feature-class, size: 40503)
11:58
Calling the new style_set_current_feature() function to override the new TH1 variable $current_feature for Fossil UI pages where the page name isn't what we want used as the "body" CSS class. For the most part, this matches the value currently being passed to style_finish_page(), but a few have changed with the benefit of hindsight. Not all calls to style_finish_page() have a corresponding call to the new function since the default value for $current_page now suffices. ... (file: [95a597e2] check-in: [8ac0830b] user: wyoung branch: body-feature-class, size: 40510)
2020-11-21
14:34
Further performance improvements to the internal printf() implementation. ... (file: [e069c8fa] check-in: [3ad620df] user: drh branch: trunk, size: 40470)
14:10
Performance optimization in the internal printf() implementation. ... (file: [f83d5cf9] check-in: [008fc929] user: drh branch: trunk, size: 40390)
2020-11-07
13:25
Rename the "style_body_and_footer()" interface to "style_finish_page()" and add a more detailed header comment to the implementation. ... (file: [43e1cc68] check-in: [942b2076] user: drh branch: default-css-cleanups, size: 39954)
2020-11-05
23:15
Added a parameter to style_footer() and renamed it to match its actual function (style_body_and_footer()) so we can add a CSS class to each page that indicates which major Fossil feature served the page, so we can have module-specific CSS. ... (file: [ac26401d] check-in: [ef5424b6] user: wyoung branch: default-css-cleanups, size: 39958)
2020-10-18
18:38
Fix harmless compiler warnings. Update the custom MinGW makefile. Make feature reporting consistent for 'markdown', which is now always enabled. ... (file: [682880c9] check-in: [750879ea] user: mistachkin branch: trunk, size: 39942)
2020-08-21
15:05
Improved documentation of the database write protection logic. Added undocumented SQL command db_protect() and db_protect_pop() to the "sql" command. Panic on a protection stack overflow. ... (file: [6975464d] check-in: [75deba73] user: drh branch: sec2020, size: 39942)
2020-07-21
02:47
Corrected [b2ac2183] to work with CGI directory-serving mode. Renamed the two JSON bootstrap routines to be more descriptive and made it a harmless no-op to call json_bootstrap_early() (formerly json_main_bootstrap()) multiple times in order to simplify some code. Several minor code style fixes in related code. ... (file: [cc9baf9e] check-in: [e7f13b82] user: stephan branch: trunk, size: 39885)
2020-06-21
12:59
Fix etag processing so that no etag header is issued for pages which encounter errors or warnings. ... (file: [37f73ec5] check-in: [517fb01b] user: drh branch: trunk, size: 39915)
2020-06-13
19:11
Move the JSON error cgi_reply() into fossil_print_error(). ... (file: [b1901e41] check-in: [61317898] user: mistachkin branch: jsonTestsPass, size: 39875)
2020-06-12
20:57
Another attempt to adjust JSON session lifecycle. ... (file: [7b3e4ae0] check-in: [a34c7b37] user: mistachkin branch: jsonTestsPass, size: 39801)
2020-06-11
22:38
Experimental changes to get JSON tests passing. ... (file: [f5396f39] check-in: [2e423836] user: mistachkin branch: jsonTestsPass, size: 39637)
2020-06-09
00:27
Add the new "%$" conversion specifier in mprintf(), for escaping filenames for use in shell commands. Use this feature for added system() security whereever appropriate. ... (file: [cca43414] check-in: [2209f553] user: drh branch: trunk, size: 39349)
2020-05-28
19:52
Merged uuid-to-hash branch down, causing all public interfaces except for those exceptions now documented in www/hashes.md to use something other than "UUID" to mean "artifact hash" or one of its more specific derivative terms. (e.g. Commit ID) ... (file: [7a5c14e6] check-in: [8ad5e469] user: wyoung branch: trunk, size: 38999)
2020-05-27
22:14
Updated all user-facing documentation and "fossil help" output (plus select internal comments and function names) to use "hash" rather than "UUID". No functional changes. (Yet?) See forum thread https://www.fossil-scm.org/forum/forumpost/ddc14c6866 for discussion. ... (file: [35760517] check-in: [df520195] user: wyoung branch: uuid-to-hash, size: 38926)
2020-05-17
17:07
Merged in trunk. ... (file: [688440b7] check-in: [b9b746e5] user: stephan branch: fileedit-ajaxify, size: 38999)
2020-05-15
03:34
Added %!j to %j, which means to include double quotes around the resulting JSON string, and added the corresponding flag to encode_json_string_literal(). ... (file: [2e352331] check-in: [2cccc12d] user: stephan branch: fileedit-ajaxify, size: 38998)
2020-05-14
17:03
Fix the upper bound on the number of digits of hash to display so that it can display full-length SHA3-256 hashes. ... (file: [72adf9bd] check-in: [311aa9dd] user: drh branch: trunk, size: 38926)
04:13
Added a parameter to encode_json_string_literal() to allow it to return its output string length, saving a strlen() call in vxprintf() %j. ... (file: [bef41fb1] check-in: [57edd181] user: stephan branch: fileedit-ajaxify, size: 38902)
2020-02-25
15:58
Redo the enhancement of check-in [1e881f59786bd891] in a way that is portable to legacy systems. The strnlen() function is now always available. ... (file: [507d360b] check-in: [1a84fe09] user: drh branch: trunk, size: 38925)
11:32
Performance optimization in the building printf() logic makes the "fossil annotate" command run 6x faster. ... (file: [7b3b9916] check-in: [1e881f59] user: drh branch: trunk, size: 38480)
2019-06-01
00:52
Use the longer hash prefix for the click-to-copy. ... (file: [fbbd5d2c] check-in: [21965553] user: drh branch: copybtn.js-demonstration, size: 38815)
2019-05-17
17:20
Squelch an "unused variable" compiler warning in printf.c. ... (file: [c0a57538] check-in: [ff9dbf36] user: stephan branch: trunk, size: 38819)
13:53
Add the %j formatting directive to the customized printf() inside of Fossil. The %j format generates a string with appropriate backslash escapes so that the string can be part of a Javascript string literal. ... (file: [3d612855] check-in: [5e9c1d5e] user: drh branch: trunk, size: 38608)
2019-03-16
17:04
Abandon an export to Git if a phantom artifact is encountered on any check-in that is less than one year old. This is a defense against generating an incorrect export from a repository that has an incomplete sync. Shunned artifacts are always ignored, regardless of age. ... (file: [cb1d44d9] check-in: [de0bbcb5] user: drh branch: trunk, size: 38155)
2019-01-16
01:01
Add an option to preserve newlines as hard line breaks on the www timeline display. ... (file: [c79a94be] check-in: [8af02551] user: drh branch: trunk, size: 37926)
2018-10-20
15:00
Fixed an off-by-one error in the error log header printer, resulting in the day number being for the next day past the call time. Bug diagnosis and fix from https://fossil-scm.org/forum/forumpost/0d5933da4c ... (file: [ba282fa5] check-in: [cf9b44a9] user: wyoung branch: trunk, size: 37832)
2018-08-07
17:48
Fix the separate-process backoffice so that it works smoothly on linux. Still work to be done on Windows. ... (file: [d6f54c13] check-in: [af7d67c6] user: drh branch: fork-backoffice, size: 37834)
2018-07-30
16:44
Invoke abort() after a call to fossil_panic(), not exit(1). This will leave a core file if the system is correctly configured. Also show the panic on debugging logs. ... (file: [2976750b] check-in: [81632289] user: drh branch: forum-v2, size: 37828)
2018-07-25
13:09
Initial implementation of the forum reply screen. ... (file: [15ae8d38] check-in: [c35fe945] user: drh branch: forum-v2, size: 37730)
2018-07-15
19:56
Clarify the difference between fossil_fatal() and fossil_panic(). The fossil_panic() interface puts a message on the error log when generating webpages. Otherwise the two routines are identical. Convert some fossil_fatal() calls into fossil_panic() where appropriate. The goal here is to limit messages on the error log to things that require attention from the system administrator, or represent bugs. ... (file: [28b832af] check-in: [3f5ab717] user: drh branch: trunk, size: 37727)
18:31
Improvements to error logging. Only log fossil_panic() calls, not fossil_fatal() calls. ... (file: [ee2f55a0] check-in: [06d4751a] user: drh branch: trunk, size: 37391)
2018-07-14
14:13
Add the --nocompress option to the "ui", "server", and "http" commands. This option prevents HTTP reply compression, which is useful during debugging. The option is on by default for "test-http". Also, make sure the mimetype for error messages is set to text/html. ... (file: [072d823a] check-in: [cfc7aca2] user: drh branch: trunk, size: 37609)
2018-06-30
10:39
Fix the fossil_fatal() routine so that it avoids trying to do a webpage display if the repository database has not yet been opened. ... (file: [a2bd5b3c] check-in: [0336ac77] user: drh branch: trunk, size: 37568)
2018-06-29
12:56
Attempt to make an error log entry following a segfault. ... (file: [85a33a6b] check-in: [c670925e] user: drh branch: trunk, size: 37560)
2018-06-24
23:22
Include the HTTP_REFERER value in the error log file. Also, omit empty environment variables from the error log. ... (file: [a664d9df] check-in: [4c839973] user: drh branch: trunk, size: 37567)
23:17
Any call to fossil_fatal() while generating a webpage changes the output to a 400 Bad Request with an appropriately formatted web page. ... (file: [4e9a0c44] check-in: [a0863d2b] user: drh branch: trunk, size: 37523)
17:44
Extra defenses against running the digest alert generator in a context where the transaction will rollback, thus failing to record the new digest time. Change the "fossil server" and "fossil ui" commands to always log errors to the console if no other error logging is defined. ... (file: [f82a361f] check-in: [f87fb027] user: drh branch: trunk, size: 37314)
2018-01-16
16:30
Update the codecheck1.c utility program to find unsafe format strings for recently added varargs functions. Fix unsafe varargs found by this update. This is a continuation of the fix in check-in [3c2ef25d03fb48d5]. ... (file: [3a56bc49] check-in: [2fac7df4] user: drh branch: trunk, size: 37233)
2017-12-11
16:53
Add the "," qualifier to %d formats in printf() and use the capability for improve display of stats. ... (file: [4f21f3d8] check-in: [2cdbdbb1] user: drh branch: trunk, size: 37227)
2017-09-25
17:24
Improved limit handling for annotation. The limit can now be expressed in compute-time seconds rather than versions analyzed, and defaults to "1.0s", which is enough to compute a complete annotation on most reasonable files. ... (file: [df915ce1] check-in: [517b9a56] user: drh branch: trunk, size: 36698)
2017-03-01
15:35
Change references to "SHA1 hash" in comments and UI labels to be "artifact hash" or similar. ... (file: [1cf52da2] check-in: [b9a1a3b9] user: drh branch: fossil-2.0, size: 36583)
2016-11-07
01:29
Remove some tabs and end-of-line whitespace ... (file: [26a2f002] check-in: [bf9669f5] user: andygoth branch: trunk, size: 36575)
00:50
Merge trunk ... (file: [dd829a12] check-in: [7ea74acf] user: andygoth branch: andygoth-crlf, size: 36576)
2016-11-05
05:46
Merge fork ... (file: [fc5ca159] check-in: [3cb9ba4d] user: andygoth branch: trunk, size: 36576)
04:30
Fix extra empty lines in diff output from non-interactive process on Windows; similar to [f2fc37c0]. ... (file: [d1b1b05f] check-in: [476fe9e9] user: ashepilko branch: trunk, size: 36617)
2016-11-04
22:37
Consistently use the count(X) macro in place of sizeof(X)/sizeof(*X) throughout the Fossil core, excluding things that don't use makeheaders. Also use count(X) instead of ArraySize(X) which has the same definition. ... (file: [12190004] check-in: [e5b62edb] user: andygoth branch: trunk, size: 36340)
2016-05-23
15:34
Rename crnl-glob to crlf-glob, retaining support for crnl-glob as a compatibility alias. Change terminology from NL to LF throughout, excepting cases where NL means newline and not line feed. Also don't change linenoise.c which is third-party code. ... (file: [d4fe5c01] check-in: [2bc3cfeb] user: andygoth branch: andygoth-crlf, size: 36381)
2016-01-26
13:18
Fix a comment with wrong parameters description ... (file: [2de9ca8e] check-in: [12cf825f] user: baruch branch: trunk, size: 36381)
2015-12-02
20:23
Experimental changes to deal with the reserved 12 characters (e.g. 'FILENAME.EXT') always needed for long directory names on Windows. ... (file: [78a4915a] check-in: [6ebef28f] user: mistachkin branch: pending-review, size: 36841)
2015-02-26
03:12
Additional changes associated with check-in [43b30dcfc330b] on 2014-10-20: Change the %!w format to %!W. ... (file: [3d86d4ec] check-in: [3b92154a] user: drh branch: trunk, size: 36845)
2015-02-13
02:36
Add the "hash-digits" setting for controling the number of digits of the SHA1 hash to display in output intended for humans. The minimum is 6 and the default is 10. Compile-time option FOSSIL_HASH_DIGITS can set a different default. URLs use at least 6 more digits than human output. Compile-time option FOSSIL_HASH_DIGITS_URL sets a lower-bound on the number of hash digits in URLs. ... (file: [32bafb09] check-in: [cc94bd07] user: drh branch: trunk, size: 36845)
2015-02-11
11:09
Use the "%S" formatting option for human-readable SHA1 hashes and "%!S" for SHA1 hashes in URLs. The length of these hashes are compile-time configurable using FOSSIL_SHA1_PREFIX_LEN and FOSSIL_SHA1_URLPREFIX_LEN, respectively. Defaults: 10 and 16. ... (file: [a6f0ff1d] check-in: [1fee0377] user: drh branch: trunk, size: 35914)
2014-10-20
10:07
In the built-in customized printf(), change the wiki conversion format character from "%w" to "%W". Then add "%w" to for SQL identifiers within double-quotes, the same as used for SQLite. UPDATE: See follow-up change at [3b92154af8d] on 2015-02-26. ... (file: [98dae687] check-in: [43b30dcf] user: drh branch: trunk, size: 35532)
2014-07-20
02:10
Merge updates from trunk. ... (file: [4c2382a0] check-in: [5ea6a95a] user: mistachkin branch: experimental, size: 35324)
2014-07-01
22:27
Fix off-by-one issue in the previous check-in. ... (file: [d5e075f1] check-in: [c405c1be] user: mistachkin branch: 16-digit-event-ids, size: 35290)
2014-06-30
19:07
Coding style adjustments.

Remark (nijtmans): This commit contains more than just a coding style adjustment, changes the output of UUID's different than the proposed algorithm; if longer than 10 characters, the final non-digit char is missing. Demonstration: /timeline?n=20&y=e. Look at the last UUID in the timeline , it is [347871278941] but it should have been [347871278941b]! ... (file: [f75f22fe] check-in: [b6f137a0] user: mistachkin branch: 16-digit-event-ids, size: 35241)

09:13
Use the same algorithm for event-id's for UUID's as in other UI locations: Make sure that the UUID contains at least a single lower-case hex digit, with a minimum of length 10. ... (file: [31405cbb] check-in: [734d4299] user: jan.nijtmans branch: 16-digit-event-ids, size: 35194)
2014-06-19
02:39
Experimental changes for more precise handling of new lines. ... (file: [6e4566fb] check-in: [816faa5a] user: mistachkin branch: experimental, size: 35125)
2014-01-27
09:08
Put various other constant tables in constant memory. ... (file: [49a234dc] check-in: [214899ac] user: jan.nijtmans branch: trunk, size: 35091)
09:05
Remove unnecessary end-of-line spaces. (My editor does that automatically, but I don't want it to happen together with other functional changes in a single commit). No change in code. ... (file: [9b1a4ef3] check-in: [52b35c8b] user: jan.nijtmans branch: trunk, size: 35085)
2013-11-07
13:29
Use fossil_getenv/fossil_fopen in stead of getenv/fopen in a few places, so on Win32 non-ASCII characters in filenames and environment variable values are handled correctly. For shell.c this must be handled by the makefiles, because this file comes from SQLite. ... (file: [d0518aa2] check-in: [aab8ce2f] user: jan.nijtmans branch: trunk, size: 35086)
2013-08-30
12:18
Add the --errorlog command-line option and the errorlog: parameter to CGI scripts. Log all panics, fatal errors, and warnings to the error log, if defined. Panic if file descriptor 2 is not open on unix. Clean up some routines that deal with close(). ... (file: [50cf5ba5] check-in: [4727ef4a] user: drh branch: trunk, size: 34970)
06:41
Further improvements to the fossil_panic() procedure to prevent it from looping and to force an early close of the database file. ... (file: [d7231364] check-in: [9d73d4c1] user: drh branch: trunk, size: 33819)
03:06
Change most uses of fossil_panic() to fossil_fatal(). Modify fossil_panic() to avoid allocating heap memory and to close the database connection before doing anything else. ... (file: [28abd1ea] check-in: [320f1436] user: drh branch: trunk, size: 33853)
2013-05-17
12:04
Remove excess verbage from the output of "fossil clean" unless the --verbose or -v command-line option is used. Issue an error if an unrecognized command-line argument is seen, to prevent mistakes like using --dryrun instead of --dry-run. ... (file: [538f09b7] check-in: [273ec22f] user: drh branch: trunk, size: 33756)
2013-02-28
20:10
Show check-in comments in block style in all contexts other than timeline regardless of the timeline-block-markup setting. The timeline-block-markup setting only effects the timeline. ... (file: [dfb60656] check-in: [cae8b696] user: drh branch: trunk, size: 33580)
2013-02-21
15:51
merge fork ... (file: [f469cb61] check-in: [32bb8c28] user: jan.nijtmans branch: trunk, size: 33251)
15:50
Make win32 build compile again: - missing headers <io.h> and <fcntl.h> - WCHAR -> wchar_t ... (file: [5ec7aa49] check-in: [e3add2c1] user: jan.nijtmans branch: trunk, size: 33191)
15:50
Make sure warning and panic messages appear on a fresh line on the console. ... (file: [ede57a02] check-in: [2091a11d] user: drh branch: trunk, size: 33183)
14:39
Error message changes: Omit the executable name at the beginning of error messages to the console, and try to make sure new error messages begin on a fresh line and do not overwrite prior status text. ... (file: [6027a8d9] check-in: [871a9492] user: drh branch: trunk, size: 33123)
14:24
Code refactoring: Move utility routines (ex: fossil_malloc()) out of main.c and into a new file util.c. Try to gather I/O routines into the printf.c source file. ... (file: [4430e80f] check-in: [bb0cedb1] user: drh branch: trunk, size: 33100)
2013-01-30
13:10
Make sure that "fossil_strcmp" is used everywhere in stead of "strcmp": The "strcmp" function from the C library is not usable in all situations, e.g. with --static on Linux Do an #undef in printf.c, preventing that the fossil_strcmp function is optimized for non-null arguments. ... (file: [eda142ab] check-in: [afffe486] user: jan.nijtmans branch: trunk, size: 31174)
2013-01-27
11:24
Typo fixes from Edward Berner. ... (file: [ae215f9a] check-in: [0421c136] user: stephan branch: trunk, size: 31047)
2013-01-07
18:58
Improved error message handling. Fix the "fossil server" command so that it works when run as root on a repository in the root directory. ... (file: [fea8142f] check-in: [baa1ebb7] user: drh branch: trunk, size: 31051)
2012-11-28
19:28
Take care that xfer error messages and user prompts always begin at the start of a new line. ... (file: [7a4d5d41] check-in: [f1ef2213] user: drh branch: trunk, size: 30779)
2012-11-22
23:35
Be consistent about display of check-in comments as either text/plain or text/x-fossil-wiki. When the user configures text/plain, use that format everywhere. ... (file: [0b747a77] check-in: [2c6fa9c3] user: drh branch: trunk, size: 30224)
2012-11-04
12:59
Fix typos. ... (file: [f9afe033] check-in: [45065c5c] user: dmitry branch: spelling, size: 29911)
2012-09-07
07:53
Enable unicode commandline and unicode console output for msvc builds. ... (file: [8478f895] check-in: [28695020] user: jan.nijtmans branch: unicode-cmdline, size: 29913)
2012-09-05
08:15
write unicode to console, when possible. ... (file: [df1de1c1] check-in: [7fd74e72] user: jan.nijtmans branch: eclipse-project, size: 29916)
07:31
make output to the Windows console binary-safe ... (file: [56a1d694] check-in: [a830168d] user: jan.nijtmans branch: eclipse-project, size: 29915)
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII ... (file: [6aa06b14] check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 30160)
2012-07-13
18:01
Replaced free() with fossil_free() for pedantic correctness. Minor related doc fix. ... (file: [366d56c1] check-in: [9f98585e] user: stephan branch: trunk, size: 30161)
16:56
Fixed a segfault which could/did happen when running content through wikification in CLI mode (which g.zTop is not set). ... (file: [f3ef7204] check-in: [a3dd2cfe] user: stephan branch: trunk, size: 30147)
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: [dd9c3d80] check-in: [68239127] user: drh branch: sqlite4, size: 30133)
2012-06-11
17:33
merge trunk again... (previous merge was not from latest trunk from fossil-scm.org) ... (file: [58151b91] check-in: [7a57ab64] user: mgagnon branch: mgagnon_fix, size: 30175)
2012-04-28
07:15
Changes anchor tags (<a>) so that the href= attribute can be set by javascript rather than by HTML. This is to make it harder for spiders to follow the hyperlinks to every diff and annotation in the project history. It all seems to work, but it needs further testing and review before going live. ... (file: [aa268359] check-in: [8ae52fc4] user: drh branch: spider-defense, size: 30133)
2012-04-13
22:42
Fix the /dir webpages to that it treats folders whos names differ only in case as the same folder when case-sensitive is off. ... (file: [5eb21c5b] check-in: [4290a801] user: drh branch: trunk, size: 29932)
2012-04-02
00:11
Try to make the "stat" page more readable by inserting commas in larger integers. This experiment did not work out. ... (file: [a8aa1b0b] check-in: [ef9ec5d7] user: drh branch: comma-in-stat, size: 30009)
2012-03-29
14:54
Add vim modline everywhere ... (file: [c4586f16] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 29617)
2012-02-04
14:58
Make sure diff output is flushed to screen in a timely manner. ... (file: [f010e75a] check-in: [dc96d73d] user: drh branch: trunk, size: 29575)
2011-10-21
23:44
Improved formatting for command-line side-by-side diff. Extend command-line side-by-side diff to all diff operations, including stash diffs. ... (file: [ab6d4166] check-in: [ab47cc73] user: drh branch: trunk, size: 29537)
2011-06-29
11:20
Fix the fossil_strcmp() routine so that it compares strings in the correct order even if some of the characters have their high-order bits set. Ticket [5982aa506467d]. ... (file: [f36e734f] check-in: [f23e90da] user: drh branch: trunk, size: 29565)
2011-05-27
12:03
Do not use strcmp() for comparison since the sort order can vary by locale. Use fossil_strcmp() instead. Ticket [3f0216560679fd41]. ... (file: [52559402] check-in: [32ad9a15] user: drh branch: trunk, size: 29533)
2011-05-13
15:46
When translating UTF8 text for display on the console, use the codepage obtained from GetConsoleCP(), not the CP_ACP code page that is used for system calls. ... (file: [df08accb] check-in: [55b32701] user: drh branch: windows-i18n, size: 29080)
2011-05-10
13:29
Always write UTF8 to the console. Change the console output mode on windows to UTF8 at startup. ... (file: [7da4f194] check-in: [ab934c6b] user: drh branch: windows-i18n, size: 28691)
2011-04-27
18:21
Attempt to get Fossil working on windows systems that do not use UTF8 in the shell. ... (file: [e4b55f39] check-in: [e805fa8d] user: drh branch: windows-i18n, size: 29140)
2011-01-03
22:23
Fix the fossil_print() interface to use the internal printf() implementation (which we control) rather than the system printf() since might vary from one platform to the next. Ticket [6883bdd1eff926009c] ... (file: [a0eea6c9] check-in: [d394120c] user: drh branch: trunk, size: 28338)
2010-12-09
13:56
Use the built-in SQLite caseless string comparison functions instead of the C-library strcasecmp(). Accept mime-type application/x-fossil-uncompressed and avoid decompression when seen. ... (file: [2a72fb4a] check-in: [0b6c414c] user: drh branch: trunk, size: 28233)
2010-10-15
17:13
Replace all malloc() calls with fossil_malloc(). The fossil_malloc() routine panics rather than return a NULL pointer. ... (file: [90eaff0b] check-in: [8f41b2fa] user: drh branch: trunk, size: 27664)
2010-10-02
00:25
First working code for displaying and editing events. ... (file: [610bb309] check-in: [419903eb] user: drh branch: experimental, size: 27679)
2010-05-16
19:08
Change from GPL to the Simplified BSD License. ... (file: [12bfcbcc] check-in: [c06edd23] user: drh branch: clear-title, size: 27667)
2010-04-22
15:48
Infrastructure changes that will allow the client-side sync to be run from a web interface - the status messages now go to CGI output if the sync is run from a web page. This is a partial implementation of the "SyncNow" button. The button itself has not yet been added. ... (file: [163d81e4] check-in: [c56af61e] user: drh branch: trunk, size: 27943)
2010-03-21
21:51
Avoid the use of rowids in URLs, since they can change on a rebuild. Use SHA1-derived artifact IDs instead. ... (file: [26b83508] check-in: [a4b10f43] user: drh branch: trunk, size: 27584)
2009-12-18
21:38
Change the name of the strnlen_() function in printf.c to StrNLen32(). ... (file: [8a4feba8] check-in: [9a8fdf72] user: drh branch: trunk, size: 27387)
2008-04-25
21:45
s/strnlen/strnlen_/g for the local strnlen impementation because the name fataly collides with a func from standard headers in some gcc versions (e.g. GnuSolaris/Nexenta w/ gcc 4.0.x). ... (file: [e955d821] check-in: [0c78ba2e] user: stephan branch: trunk, size: 27384)
2008-02-04
19:07
On the printf extension converters (ex: %T, %w) the "alternate form flag" (ex: %#T, %#w) means first read an integer from the argument list and then only process that number of characters from the string or blob that is read next from the argument list. ... (file: [cefba922] check-in: [8c3ec003] user: drh branch: trunk, size: 27381)
2007-11-22
22:55
Add the %w and %W formatting options for internal printf usage. Use these formatting characters to render wiki. Fix additional problems of unterminated wiki on webpage rendering by using %w. (There are probably more problems yet to be discovered and fixed.) ... (file: [af38cba6] check-in: [28592937] user: drh branch: trunk, size: 26235)
2007-09-22
06:47
Win32 port now functional except network operations. This commit was done on windows :-). See win32.txt for status of all commands. No networking commands are functional yet. All path operations are now functioning. ... (file: [63619c9e] check-in: [c7278fd0] user: jnc branch: trunk, size: 25657)
2007-07-21
14:10
Initial check-in of m1 sources. ... (file: [48f1118d] check-in: [dbda8d6c] user: drh branch: trunk, size: 25202)