History of src/printf.c of b0e05a90b64dd0a4
Not logged in

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

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

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: [a34f7139c2] check-in: [cb89386af5] user: drh branch: trunk, size: 43028
2025-12-28
23:00
Remove some more duplicates in comments. No functional changes. file: [bbdfc4efa6] check-in: [d83638e40e] user: danield branch: trunk, size: 42839
2025-12-23
16:06
Assorted fixes of typos and grammar in code comments. No functional changes. file: [f52bd7a6c1] check-in: [e2bdc10572] user: danield branch: trunk, size: 42838
2025-10-03
17:31
Fix spelling errors found by the Debian QA tools. file: [7c3e08d71c] check-in: [7db623e5eb] user: danield branch: trunk, size: 42835
2025-07-09
13:46
Do not give unnecessary clues to user anonymous (which is the login used by most attack robots) that something has gone wrong inside of Fossil. file: [9130f41b21] check-in: [c66b038cae] user: drh branch: trunk, size: 42834
13:01
Fix the non-standard %q format specifier in Fossil's custom printf() implementation so that the precision refers to the number of input characters, not the number of output characters. file: [d41a584639] check-in: [0971536165] user: drh branch: trunk, size: 42621
2025-04-19
18:43
The taint markings and detection now appears to be working. file: [49a54fb5ad] check-in: [d1bb87bcfd] 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: [b182648337] check-in: [e6c27d3dab] 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: [2a5d7a86a6] check-in: [13049ef245] user: stephan branch: fopen-mode-b, size: 42478
2025-04-07
05:14
Include the process-id in the logfile message for warnings. file: [2f32773795] check-in: [420d007adf] 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:/forumpost/9adfe7e46b2441ae|forum post 9adfe7e46b2] file: [cb10019bd8] check-in: [0432c38df6] 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: [057f44dbb8] check-in: [072125b0ec] 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: [30d94a3cae] check-in: [74a5e10b9b] 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: [deba716c95] check-in: [3e7c7e2277] 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: [d693b8b398] check-in: [1f78e794d3] 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: [f0d98d79e8] check-in: [918a2e2c5e] user: drh branch: comment-markdown-links, size: 43027
10:22
Add documentation for various settings that influence the display of timelines. file: [b4e5a00d65] check-in: [7d67724653] user: drh branch: comment-markdown-links, size: 43259
2025-03-05
21:43
Further tweaks to the markdown style formatting in wiki. file: [9d2a2e9552] check-in: [1029539757] 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: [d25de5c251] check-in: [34f36bc211] 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: [47835460aa] check-in: [8f55b909c4] 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: [01f593badf] check-in: [f80b892178] 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: [f3b93c62e6] check-in: [e7bc33f080] 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: [dcaf7a6291] check-in: [adbb0b9255] user: drh branch: trunk, size: 42040
2024-12-18
18:40
Fix the previous commit to restore ANSI C-89 conformance. file: [4f1db2d7e2] check-in: [bee9b30168] 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: [0a4f7eba92] check-in: [36bcaaeee0] 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:/forumpost/cfc22d41b19a1a96|Forum post cfc22d41b19a1a96]. file: [a7630f7ec6] check-in: [593ceca27d] 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: [6b1690b1bd] check-in: [94c8af02ea] 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: [5ce443054d] check-in: [898a70ce82] user: stephan branch: trunk, size: 41420
2024-07-29
11:25
Report the phase of operation in error log messages. file: [59069b0f75] check-in: [49f676e3b3] 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: [55969293e2] check-in: [0204f4aab5] 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: [5fa877f12f] check-in: [c71f711ec9] 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: [39332cbf18] check-in: [2172c51377] user: mistachkin branch: nonHashFix, size: 41131
2022-10-17
01:03
Merge updates from trunk. file: [b1b0501934] check-in: [7489c8b932] 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 [forum:/forumpost/3e6e40293f03f089 | a forum post]. file: [cc8fd1fbab] check-in: [99a319bdbf] 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: [641b0eadbe] check-in: [7eba14d1e2] 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: [193a7fe4f5] check-in: [3a561322ca] 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: [4f8b95b439] check-in: [4f83d06275] user: drh branch: trunk, size: 41209
2021-03-26
16:13
Mention possible core dump from fossil_panic() exits. file: [5fd10d70e9] check-in: [4663116864] 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: [b02c672f36] check-in: [91a4652f22] 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: [b60175d829] check-in: [44cf2e9190] 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: [6cd5926c38] check-in: [0e83ca88ce] 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: [95a597e29a] check-in: [8ac0830bfc] user: wyoung branch: body-feature-class, size: 40510
2020-11-21
14:34
Further performance improvements to the internal printf() implementation. file: [e069c8fa48] check-in: [3ad620df00] user: drh branch: trunk, size: 40470
14:10
Performance optimization in the internal printf() implementation. file: [f83d5cf9fc] check-in: [008fc9290c] 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: [43e1cc683d] check-in: [942b2076c6] 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: [ac26401d69] check-in: [ef5424b683] 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: [682880c961] check-in: [750879ead4] 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: [6975464d6f] check-in: [75deba73b5] 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: [cc9baf9e20] check-in: [e7f13b82b6] 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: [37f73ec5fb] check-in: [517fb01b9c] user: drh branch: trunk, size: 39915
2020-06-13
19:11
Move the JSON error cgi_reply() into fossil_print_error(). file: [b1901e41c2] check-in: [6131789870] user: mistachkin branch: jsonTestsPass, size: 39875
2020-06-12
20:57
Another attempt to adjust JSON session lifecycle. file: [7b3e4ae040] check-in: [a34c7b37f2] user: mistachkin branch: jsonTestsPass, size: 39801
2020-06-11
22:38
Experimental changes to get JSON tests passing. file: [f5396f39d5] check-in: [2e4238368e] 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: [cca4341426] check-in: [2209f55323] 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: [7a5c14e653] check-in: [8ad5e46908] 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: [3576051712] check-in: [df5201950e] user: wyoung branch: uuid-to-hash, size: 38926
2020-05-17
17:07
Merged in trunk. file: [688440b707] check-in: [b9b746e50f] 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: [2e352331a7] check-in: [2cccc12d04] 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: [72adf9bdea] check-in: [311aa9dd67] 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: [bef41fb16d] check-in: [57edd18144] 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: [507d360bb7] check-in: [1a84fe09c7] user: drh branch: trunk, size: 38925
11:32
Performance optimization in the building printf() logic makes the "fossil annotate" command run 6x faster. file: [7b3b991666] check-in: [1e881f5978] user: drh branch: trunk, size: 38480
2019-06-01
00:52
Use the longer hash prefix for the click-to-copy. file: [fbbd5d2c74] check-in: [2196555351] user: drh branch: copybtn.js-demonstration, size: 38815
2019-05-17
17:20
Squelch an "unused variable" compiler warning in printf.c. file: [c0a57538f1] check-in: [ff9dbf3698] 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: [3d6128552e] check-in: [5e9c1d5e04] 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: [cb1d44d9e6] check-in: [de0bbcb53c] 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: [c79a94be03] check-in: [8af02551c5] 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: [ba282fa51b] check-in: [cf9b44a966] 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: [d6f54c13c3] check-in: [af7d67c6a2] 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: [2976750b03] check-in: [8163228997] user: drh branch: forum-v2, size: 37828
2018-07-25
13:09
Initial implementation of the forum reply screen. file: [15ae8d3874] check-in: [c35fe945d2] 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: [28b832affd] check-in: [3f5ab71744] user: drh branch: trunk, size: 37727
18:31
Improvements to error logging. Only log fossil_panic() calls, not fossil_fatal() calls. file: [ee2f55a0fc] check-in: [06d4751a44] 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: [072d823ae3] check-in: [cfc7aca2c1] 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: [a2bd5b3c92] check-in: [0336ac7715] user: drh branch: trunk, size: 37568
2018-06-29
12:56
Attempt to make an error log entry following a segfault. file: [85a33a6be6] check-in: [c670925e00] 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: [a664d9df69] check-in: [4c839973e4] 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: [4e9a0c4425] check-in: [a0863d2b46] 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: [f82a361fa9] check-in: [f87fb02780] 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: [3a56bc49bc] check-in: [2fac7df467] 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: [4f21f3d855] check-in: [2cdbdbb1c9] 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: [df915ce19a] check-in: [517b9a5652] 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: [1cf52da2f0] check-in: [b9a1a3b9d8] user: drh branch: fossil-2.0, size: 36583
2016-11-07
01:29
Remove some tabs and end-of-line whitespace file: [26a2f0024b] check-in: [bf9669f55e] user: andygoth branch: trunk, size: 36575
00:50
Merge trunk file: [dd829a1291] check-in: [7ea74acf55] user: andygoth branch: andygoth-crlf, size: 36576
2016-11-05
05:46
Merge fork file: [fc5ca1598d] check-in: [3cb9ba4de6] 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: [d1b1b05fde] check-in: [476fe9e932] 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: [1219000495] check-in: [e5b62edb28] 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: [d4fe5c01be] check-in: [2bc3cfebe6] user: andygoth branch: andygoth-crlf, size: 36381
2016-01-26
13:18
Fix a comment with wrong parameters description file: [2de9ca8ea1] check-in: [12cf825f66] 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: [78a4915aa5] check-in: [6ebef28f2b] 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: [3d86d4ec59] check-in: [3b92154af8] 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: [32bafb0913] check-in: [cc94bd078e] 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: [a6f0ff1d9c] check-in: [1fee0377e4] 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: [98dae687a6] check-in: [43b30dcfc3] user: drh branch: trunk, size: 35532
2014-07-20
02:10
Merge updates from trunk. file: [4c2382a0c0] check-in: [5ea6a95a7b] user: mistachkin branch: experimental, size: 35324
2014-07-01
22:27
Fix off-by-one issue in the previous check-in. file: [d5e075f188] check-in: [c405c1be3c] 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: [f75f22fed3] check-in: [b6f137a01e] 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: [31405cbbf3] check-in: [734d429940] 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: [6e4566fb65] check-in: [816faa5af9] user: mistachkin branch: experimental, size: 35125
2014-01-27
09:08
Put various other constant tables in constant memory. file: [49a234dc9b] check-in: [214899ac26] 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: [9b1a4ef350] check-in: [52b35c8b40] 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: [d0518aa214] check-in: [aab8ce2fcc] 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: [50cf5ba580] check-in: [4727ef4a8e] 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: [d7231364f0] check-in: [9d73d4c127] 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: [28abd1ead3] check-in: [320f14363e] 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: [538f09b71d] check-in: [273ec22f25] 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: [dfb6065685] check-in: [cae8b6964d] user: drh branch: trunk, size: 33580
2013-02-21
15:51
merge fork file: [f469cb614d] check-in: [32bb8c2819] 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: [5ec7aa4962] check-in: [e3add2c115] user: jan.nijtmans branch: trunk, size: 33191
15:50
Make sure warning and panic messages appear on a fresh line on the console. file: [ede57a0283] check-in: [2091a11dd8] 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: [6027a8d965] check-in: [871a949296] 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: [4430e80f5b] check-in: [bb0cedb15a] 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: [eda142ab1e] check-in: [afffe48643] user: jan.nijtmans branch: trunk, size: 31174
2013-01-27
11:24
Typo fixes from Edward Berner. file: [ae215f9af5] check-in: [0421c136f2] 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: [fea8142f63] check-in: [baa1ebb7d9] 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: [7a4d5d41eb] check-in: [f1ef22136f] 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: [0b747a77c1] check-in: [2c6fa9c3b0] user: drh branch: trunk, size: 30224
2012-11-04
12:59
Fix typos. file: [f9afe033de] check-in: [45065c5c28] user: dmitry branch: spelling, size: 29911
2012-09-07
07:53
Enable unicode commandline and unicode console output for msvc builds. file: [8478f895e4] check-in: [286950208c] user: jan.nijtmans branch: unicode-cmdline, size: 29913
2012-09-05
08:15
write unicode to console, when possible. file: [df1de1c1f9] check-in: [7fd74e72f8] user: jan.nijtmans branch: eclipse-project, size: 29916
07:31
make output to the Windows console binary-safe file: [56a1d69405] check-in: [a830168d3f] 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: [6aa06b146a] check-in: [9f6abc5968] 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: [366d56c159] check-in: [9f98585e89] 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: [f3ef72046d] check-in: [a3dd2cfeb0] 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: [dd9c3d8032] check-in: [6823912746] 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: [58151b917c] check-in: [7a57ab6465] 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: [aa2683598d] check-in: [8ae52fc418] 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: [5eb21c5b68] check-in: [4290a801a0] 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: [a8aa1b0b16] check-in: [ef9ec5d74a] user: drh branch: comma-in-stat, size: 30009
2012-03-29
14:54
Add vim modline everywhere file: [c4586f16ab] check-in: [a496d8e88d] 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: [f010e75a1e] check-in: [dc96d73dd0] 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: [ab6d416637] check-in: [ab47cc73d7] 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: [f36e734f45] check-in: [f23e90da8a] 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: [52559402bc] check-in: [32ad9a1584] 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: [df08accb1e] check-in: [55b32701a5] 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: [7da4f19434] check-in: [ab934c6b09] 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: [e4b55f3941] check-in: [e805fa8db9] 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: [a0eea6c951] check-in: [d394120c42] 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: [2a72fb4a76] check-in: [0b6c414c6f] 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: [90eaff0bc8] check-in: [8f41b2fa75] user: drh branch: trunk, size: 27664
2010-10-02
00:25
First working code for displaying and editing events. file: [610bb309da] check-in: [419903ebd7] user: drh branch: experimental, size: 27679
2010-05-16
19:08
Change from GPL to the Simplified BSD License. file: [12bfcbcc8d] check-in: [c06edd231f] 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: [163d81e4cb] check-in: [c56af61e5e] 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: [26b83508d5] check-in: [a4b10f43e2] user: drh branch: trunk, size: 27584
2009-12-18
21:38
Change the name of the strnlen_() function in printf.c to StrNLen32(). file: [8a4feba8cf] check-in: [9a8fdf7294] 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: [e955d82165] check-in: [0c78ba2eb4] 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: [cefba92273] check-in: [8c3ec00311] 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: [af38cba6b0] check-in: [2859293737] 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: [63619c9ec6] check-in: [c7278fd013] user: jnc branch: trunk, size: 25657
2007-07-21
14:10
Added: Initial check-in of m1 sources. file: [48f1118d8e] check-in: [dbda8d6ce9] user: drh branch: trunk, size: 25202