Fossil

File History
Login

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

History of src/blob.c

2018-06-22
18:23
Alert sending logic compiles but is so far untested. file: [5d88d83f] check-in: [44f9f355] user: drh branch: email-alerts, size: 35872
12:25
Make sure the content of outbound email messages always ends with a newline. file: [1e7dcb7f] check-in: [b7003483] user: drh branch: email-alerts, size: 35779
2018-03-29
17:03
Also allow the '-' character in parameter and cookie names. This is necessary for the login cookie. file: [38d1df4c] check-in: [21780aef] user: drh branch: trunk, size: 35567
15:20
Slight revision to [be5d83f93ac66f65] to allow "_" in parameter names. file: [07aa63f9] check-in: [e09df6ea] user: drh branch: trunk, size: 35554
15:16
New security feature: Reject any query parameter, POST parameter, or cookie whose name contains a non-alphanumeric character. No know vulnerabilities exist because of this. I'm just be paranoid. This enhancement is inspired by Drupalgeddon2. file: [4a9d9d0b] check-in: [be5d83f9] user: drh branch: trunk, size: 35527
2017-11-30
17:58
Refactor the symlink processing logic so that most of the file access routines take a new parameter indicating the conditions under which symlinks should and should not be followed. This should fix a few bugs related to symlink processing. Lots of testing required before merging to trunk. file: [3bee63a7] check-in: [e7767de2] user: drh branch: symlink-refactor, size: 35331
2017-08-12
18:34
Also disallow wildcard characters in blob_append_escape_arg(). file: [ef75476b] check-in: [d5b01594] user: drh branch: trunk, size: 34344
18:30
Disallow the ';' character in blob_append_escape_arg(). file: [0db031be] check-in: [3bbac575] user: drh branch: trunk, size: 34315
18:24
Fix another problem with the needEscape computation in blob_append_escaped_arg() file: [64cc8202] check-in: [9eea719a] user: drh branch: trunk, size: 34305
18:22
The windows test macro is "_WIN32" without a trailing "_". file: [dd48c4d6] check-in: [49ae1785] user: drh branch: trunk, size: 34305
18:20
Fix the needEscape calculation in blob_append_escaped_arg(). file: [4fd9b775] check-in: [9690d370] user: drh branch: trunk, size: 34306
18:15
Change the shell_escape() procedure into blob_append_escaped_arg(). Have that procedure raise a fatal error if the argument to be appended contains dodgy characters that might pose a security risk. Also, prepend "./" in front of arguments that begin with "-" to prevent them from looking like switches. file: [db5fd969] check-in: [3b191c98] user: drh branch: trunk, size: 34312
2017-06-13
04:45
Fix the blob_read_from_file() function so that it works with files larger than 2GiB. file: [febcddb2] check-in: [837333fc] user: drh branch: trunk, size: 33182
2017-04-23
13:08
merge trunk. Use new Win10 flag: SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE. See: https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/#Y9sMOye6Y8vVYmDx.97 for why this might make this branch work better. file: [654fcf83] check-in: [2999c7dc] user: jan.nijtmans branch: winsymlink, size: 33271
2017-02-28
16:25
Refactoring and cleanup of some of the hash name interfaces. file: [141d4f54] check-in: [1c8768b0] user: drh branch: fossil-2.0, size: 33162
2017-02-27
18:26
Manifest parser supports various hash sizes. file: [494482ca] check-in: [80f9b68e] user: drh branch: fossil-2.0, size: 32944
2016-10-05
00:13
Give a better error message when unable to open a file that uses one of the Windows reserved names, like "AUX" or "LPT3". file: [831a63c8] check-in: [12c66506] user: drh branch: trunk, size: 32960
2016-10-04
23:29
Coding style and consistency improvements. file: [038ee87d] check-in: [824bfe84] user: mistachkin branch: trunk, size: 32721
02:43
Adopt the diff algorithm changes from trunk. file: [89d7c7cf] check-in: [f9f2d769] user: mistachkin branch: binDiffFix, size: 32691
2016-10-03
23:10
Another adjustment to handle some corner cases. file: [f0607f29] check-in: [8017c358] user: mistachkin branch: binDiffFix, size: 33479
2016-08-27
21:16
Fix comment and documentation typos. file: [c0683f0e] check-in: [35d43fd9] user: drh branch: trunk, size: 32692
2016-08-09
12:37
Change the schema for the unversioned table. Add some initial code to do unversioned sync, but the code is incomplete and untested. file: [bfae9979] check-in: [73932a32] user: drh branch: unversioned-files, size: 32696
2016-06-17
07:24
Remove a function which isn't use anywhere file: [54ba03df] check-in: [e2a280fc] user: jan.nijtmans branch: trunk, size: 32117
2016-05-31
08:17
merge from trunk with a few tweaks for merge conflicts file: [69362757] check-in: [598b58a5] user: sdr branch: winsymlink, size: 32335
2016-04-07
18:41
Make usage of 'Usage:' and 'or:' consistent in all help text. file: [c30701f0] check-in: [8bfd9951] user: rberteig branch: trunk, size: 32226
2016-03-12
22:02
Remove support for miniz because the upstream project appears to be unmaintained. UPDATE: The miniz project is still being maintained and this branch is a dead-end. file: [a618d8a1] check-in: [b9f31fe1] user: mistachkin branch: removeMiniz, size: 32125
2015-09-03
23:15
Merged from trunk with a few tiny edits to make new functionality work on Windows file: [b4b08377] check-in: [8f33e49d] user: sdr branch: winsymlink, size: 32336
2015-08-13
18:41
Fix a faulty assert() in the search blob_append(). file: [10ee0528] check-in: [915d6193] user: drh branch: trunk, size: 32227
2015-08-02
02:44
Avoid using a null pointer resulting in a segfault if caller sends in null. file: [81407554] check-in: [2d714a4e] user: andybradford branch: pending-review, size: 32215
2015-05-19
19:22
Revert [48499514cc], changing nUsed to zero is not redundant as blob_append() changes it to one. file: [0d539a6e] check-in: [4742716f] user: mistachkin branch: trunk, size: 32193
2015-05-18
13:56
Fix the empty-dirs property so that creates the complete path of directories, not just leaves, and so that it does not leak memory. file: [a4cdfce8] check-in: [702331e0] user: drh branch: trunk, size: 32148
2015-05-17
22:24
Remove redundant assignment in blob_str() setting nUsed to zero right after confirming it is zero. file: [35858e9f] check-in: [48499514] user: andygoth branch: trunk, size: 32145
17:43
Create parents of empty-dirs if they don't already exist. file: [b06e3003] check-in: [1ab80be4] user: andygoth branch: andygoth-empty-dirs-parents, size: 32166
2015-04-27
13:19
Provide help text for all commands and webpages. file: [2711ea3a] check-in: [7ab03289] user: drh branch: trunk, size: 32163
2015-03-18
16:31
Merged several months worth of trunk into the winsymlink branch. file: [964e7903] check-in: [f4c14344] user: sdr branch: winsymlink, size: 31526
2015-02-16
13:41
Enhance the --skin option so that it can be a directory holding the three skin files. file: [d5931816] check-in: [bfd413bf] user: drh branch: trunk, size: 31417
2014-12-17
18:28
Add the ability to index files. file: [a59e8d16] check-in: [83c67816] user: drh branch: search-using-fts4, size: 31623
2014-11-26
10:13
Fix "Corrupt line endings in cat/finfo on Windows with CR+LF files", reported on ML. file: [6a1aea54] check-in: [f2fc37c0] user: jan.nijtmans branch: trunk, size: 31414
2014-11-14
19:30
similar to previous commit, but for UNIX: if file with commit message contains invalid utf-8, assume it to be iso8859-1 (actually: cp1252, which is a superset of iso8859-1) file: [5b0eca90] check-in: [331204dc] user: jan.nijtmans branch: trunk, size: 31203
2014-11-12
14:37
Fix [5a0a33f31a]: Chinese commit message File in code UTF-8 when using commit -M under WINDOWS Garbled. When the file is already detected to be valid UTF-8, don't try to do any conversion. file: [7e823211] check-in: [5960016a] user: jan.nijtmans branch: trunk, size: 31165
2014-10-21
15:25
merge trunk file: [ae2bda05] check-in: [44a160a3] user: jan.nijtmans branch: winsymlink, size: 31228
2014-10-20
15:01
Add a custom static analysis program that verifies the arguments to printf-style varargs routines used in Fossil. Adjust the source code to be more robust for printf format errors and to fix a few minor problems found by the static checker. file: [67582905] check-in: [0a7e326f] user: drh branch: compile-time-print-checking, size: 31119
2014-09-15
01:49
Work in progress for windows symlink support. file: [05faef8b] check-in: [de8035cc] user: sdr branch: winsymlink, size: 30239
2014-08-23
06:08
Add miniz as a compile-time feature, leaving zlib as the default compression library. All makefiles should build. The DMC and PellesCGMake makefiles are not yet supported with miniz. Also, when using miniz, OpenSSL support for zlib is disabled in the MinGW makefile. file: [1f1efeea] check-in: [c693a336] user: mistachkin branch: optionalMiniz, size: 30130
2014-08-19
16:52
"the zip file patch" from Baruch. file: [47039e10] check-in: [26ecec6c] user: stephan branch: miniz, size: 30029
2014-08-18
17:13
Replaced zlib usage with local copy of miniz. Seems to work. file: [d4b873c9] check-in: [579ae389] user: stephan branch: miniz, size: 30028
2014-07-10
07:36
When committing a (non-binary) file which contains bytes forming an invalid UTF-8 stream, add the possibility to convert it to a valid UTF-8 stream ('c') if you like. file: [0578b205] check-in: [45f5184e] user: jan.nijtmans branch: trunk, size: 30028
2014-07-04
10:11
Next step in "invalid-utf8" handling: If a source file contains invalid UTF-8 byte sequences, most likely the real encoding is either ISO-8859-1 or CP1252 (note that CP1252 is a superset of ISO-8859-1). Therefore, after providing a warning, we can now offer the option ('c') to convert it to valid UTF-8, just like we provide such option for UTF-16 and eol-handling as well. file: [49fd12cd] check-in: [81eeb6f5] user: jan.nijtmans branch: invalid-utf8, size: 30027
2014-02-27
23:20
Fix the file_copy() procedure so that it automatically creates directories leading up to the destination file. file: [e2ae70ef] check-in: [f9916887] user: drh branch: trunk, size: 28657
2014-01-14
12:44
Add the ability to display content and diffs for UTF16 text files in the web interface. file: [a3c51c2a] check-in: [5a66b6e7] user: drh branch: trunk, size: 29542
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: [9b834e63] check-in: [4727ef4a] user: drh branch: trunk, size: 29457
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: [6f0e1313] check-in: [320f1436] user: drh branch: trunk, size: 29451
2013-08-27
08:31
Make Notepad the default editor on Cygwin, just as win32, if no other editor is specified. file: [da60a600] check-in: [ad32c20f] user: jan.nijtmans branch: trunk, size: 29451
2013-07-17
12:04
merge trunk file: [dfe533d6] check-in: [5d8551bf] user: jan.nijtmans branch: ui-no-utf8, size: 30986
2013-07-11
20:04
Move the "looks_like" functions out of diff.c and into a source file of their own: "lookslike.c". file: [b648d6a6] check-in: [b4c97d76] user: drh branch: sbsreloaded, size: 29428
2013-04-05
07:44
Branches "use-blob_strip_bom" and "improve_commit_warning" go together in a single new (experimental) branch file: [13336c7d] check-in: [a7e77a66] user: jan.nijtmans branch: ui-no-utf8, size: 30937
2013-03-21
10:57
merge trunk (testcases not adapted yet!) file: [16d4b235] check-in: [43aa3b2d] user: jan.nijtmans branch: improve_commit_warning, size: 30748
2013-03-19
10:06
merge trunk (still experimental) file: [6b98e488] check-in: [af4d7804] user: jan.nijtmans branch: use-blob_strip_bom, size: 29567
2013-03-18
07:10
Rename blob_remove_cr() to blob_to_lf_only() since that is what it now does. Also, improvements to style and related comments. file: [8ba8a015] check-in: [757585fb] user: mistachkin branch: trunk, size: 29378
2013-03-15
11:32
Allow blob_remove_cr() to be used for both \r\n -> \n as well as \r -> \n conversions. file: [c07e26dc] check-in: [4b2c2a51] user: jan.nijtmans branch: trunk, size: 29339
2013-03-08
13:02
merge trunk file: [cd829362] check-in: [17e972c3] user: jan.nijtmans branch: improve_commit_warning, size: 30630
2013-03-04
13:19
Improve fossil_utf8_to_filename() for cygwin: no longer hardcode "/cygdrive/" prefix. Fix Cygwin's handling of absolute win32 paths in a few more places. Teach Cygwin how to handle UTF-16. file: [25313f3d] check-in: [18d8d2a6] user: jan.nijtmans branch: build-breaker, size: 29260
2013-02-27
11:26
merge trunk file: [02093fe1] check-in: [d085eb9a] user: jan.nijtmans branch: use-blob_strip_bom, size: 29319
2013-02-17
21:37
merge trunk file: [161a8f9c] check-in: [fdf9050c] user: jan.nijtmans branch: improve_commit_warning, size: 30500
2013-02-13
03:14
Improvements to the UTF-16 BOM detection. file: [52902045] check-in: [81c4d781] user: mistachkin branch: utf16Bom, size: 29130
2013-02-08
09:37
Eliminate use of starts_with_utf16(be|le)_bom functions, starts_with_utf16_bom should be enough. External code will typically call "starts_with_utf16_bom" first, and if it returns true call "blob_to_utf8_no_bom" converting it to utf-8. There is no reason any more then for external code to know wheter the BOM was le or be. file: [a7eb950f] check-in: [fab09a17] user: jan.nijtmans branch: trunk, size: 29123
2013-02-07
09:39
merge trunk file: [2fbb472f] check-in: [8994f368] user: jan.nijtmans branch: improve_commit_warning, size: 30463
08:47
Combine 4 "starts_with_utf??_bom" functions to a single - easier to use - function "starts_with_bom". In addition, it only checks for an UTF-16 BOM if the blob has an even number of bytes. file: [277da9b2] check-in: [6c417d8b] user: jan.nijtmans branch: simplify-starts-with, size: 29093
2012-12-12
15:35
completed cp1252 table and conversion file: [88d683f8] check-in: [bab2f28b] user: jan.nijtmans branch: improve_commit_warning, size: 30700
13:53
Add optional iso8859-1 to utf-8 conversion. Still to do: special cp1252 characters. file: [49121a2f] check-in: [4f060f6a] user: jan.nijtmans branch: improve_commit_warning, size: 29965
2012-11-29
03:14
Untested changes designed to fix broken filename encodings on MacOS. Move all character-set converting routines into a new file called utf8.c. Add the fossil_filename_to_utf8() routine, which converts Unicode to utf8 on windows and decomposed utf8 into precomposed utf8 on Mac. Ticket [e399bc1edfe45b] file: [36041aba] check-in: [c24e568f] user: drh branch: ticket-e399bc, size: 29330
2012-11-27
09:42
blob_to_utf8_no_bom(): the starts_with_utf16(le|be)_bom calls were swapped. file: [050ea8cc] check-in: [d27cddf1] user: jan.nijtmans branch: trunk, size: 29324
2012-11-26
22:51
Merge byte-order-mark handling enhancements to trunk. file: [984c60de] check-in: [9b800ee4] user: mistachkin branch: trunk, size: 29324
2012-11-19
04:39
Modularize byte-order-mark and blob UTF-8 conversion handling. file: [97b87daf] check-in: [d29dd544] user: mistachkin branch: convert_before_commit_v2, size: 29255
2012-11-06
18:31
When trying to create a directory, if mkdir fails, make sure the directory doesn't already exist before giving up and reporting an error. file: [357fba75] check-in: [bc74a817] user: drh branch: trunk, size: 29615
2012-11-05
13:56
merge trunk file: [d0d7daa1] check-in: [b0e05a90] user: jan.nijtmans branch: use-blob_strip_bom, size: 29827
2012-11-04
12:59
Fix typos. file: [7bd5b313] check-in: [45065c5c] user: dmitry branch: spelling, size: 29591
2012-11-02
21:33
Fix an out-of-order variable declaration in blob.c. file: [6acd3651] check-in: [9073d8dc] user: drh branch: trunk, size: 29590
2012-11-01
14:02
bug-fix: Before preparing a diff, BOM's should not be removed. It might result in a BOM in the middle of UTF-8, which is invalid, but that's how diff works. file: [6e329da3] check-in: [cd06b7d8] user: jan.nijtmans branch: use-blob_strip_bom, size: 29826
2012-10-31
12:12
Enhance the control-artifact parser to optionally return an error when the parse fails. Fix a bug in the artifact parser which caused it to ignore Z-card checksum failures. file: [0320a4f8] check-in: [aab9e66b] user: drh branch: trunk, size: 29590
2012-10-25
10:27
use utf8 in stash comment editor on Windows, just like the commit comment editor file: [3e6c350e] check-in: [fb565614] user: jan.nijtmans branch: trunk, size: 29551
2012-09-07
07:53
Enable unicode commandline and unicode console output for msvc builds. file: [ab2e4ebc] check-in: [28695020] user: jan.nijtmans branch: unicode-cmdline, size: 27599
2012-09-05
07:31
make output to the Windows console binary-safe file: [92cbf5ad] check-in: [a830168d] user: jan.nijtmans branch: eclipse-project, size: 27611
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII file: [e1a0e5d7] check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 27720
2012-08-03
18:41
merged in [336e1355b927f]. file: [5dde17e4] check-in: [82e78034] user: stephan branch: th1-query-api, size: 27720
2012-07-26
17:27
Removed legacy comparison of uint<0 (the type used to be 'long', IIRC). Thanks to Doug C. for the report. file: [ae8377ee] check-in: [bff50b17] user: stephan branch: trunk, size: 27721
2012-07-16
18:56
Cleanups requested by DRH, plus some incidental consistency/maintenance-related cleanups found along the way. file: [0f042d1f] check-in: [c25a5d19] user: stephan branch: th1-query-api, size: 27766
14:37
cherry-picked [4295728159451e0d]. file: [0e9bbff2] check-in: [a7eb7147] user: stephan branch: trunk, size: 27767
14:36
Minor doc correction. file: [885b8b44] check-in: [42957281] user: stephan branch: th1-query-api, size: 27791
2012-07-14
18:32
Added PHP-like "ob" (output buffering) API to th1. Refactred Th_Vtab allocator to use a single realloc()-like interface. file: [e5db2481] check-in: [b7930639] user: stephan branch: th1-query-api, size: 27747
2012-07-13
16:56
Added blob_swap() to simplify some json code. file: [daac777e] check-in: [2e2cd82b] user: stephan branch: trunk, size: 27723
2012-03-29
14:54
Add vim modline everywhere file: [3f6980fd] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 27523
2012-03-19
05:24
Modify file_simplify_name to accept a parameter used to determine if the trailing slash, if any, should be retained. Make use of this when converting the local root to its canonical form. file: [373449e3] check-in: [e94c7cc4] user: mistachkin branch: winFiles, size: 27481
04:48
In file_tree_name, since the file name argument is converted to its canonical form prior to the memcmp, the local root must be as well. On Windows, normalize drive letters to uppercase when converting a file name to its canonical form and fix construction of temporary file names used with the gdiff command when the --from and --to options are present. file: [3cd2637a] check-in: [6be0898b] user: mistachkin branch: winFiles, size: 27478
2011-11-04
17:24
merged in trunk [272e304d3f]. file: [055253a9] check-in: [34359c3a] user: stephan branch: json, size: 27400
2011-11-02
15:23
Update the blob_write_to_file() routine so that it correctly handles binary files being send to standard output. file: [295da8c0] check-in: [83a574b0] user: drh branch: trunk, size: 26559
2011-10-14
16:11
Merging the annotate_noleak changes, about removing an important memory leak in the annotate operation.    It also fixes some blob behaviour in blob.c and content.c.    Update: Removed from trunk. Replaced by the must simpler fix at [9929bab702f99839ee] file: [c0166c1a] check-in: [409f370a] user: viriketo branch: declined, size: 26324
2011-10-11
14:28
merged in trunk [496edc2176]. file: [791c4dcc] check-in: [ec76ee16] user: stephan branch: json, size: 27152
2011-10-10
20:02
Fix some compiler warnings. file: [fc0553c0] check-in: [496edc21] user: drh branch: trunk, size: 26311
2011-10-04
23:40
merged and conflict-resolved trunk [c0274f996266aef]. file: [f34102c1] check-in: [4fbf77d4] user: stephan branch: json, size: 27120
14:34
Rename constant_time_eq to constant_time_cmp to better indicate that these functions return 0 when values are equal, like memcmp, strcmp, etc., not truth, to avoid possible mistakes. file: [b3b9e9b4] check-in: [d244c484] user: dmitry branch: dmitry-security, size: 26279
2011-09-30
09:41
Catch zero length early in blob_constant_time_eq(). file: [2fac98d1] check-in: [e3d022df] user: dmitry branch: dmitry-security, size: 26278
2011-09-29
17:26
Fix comment. file: [9151312d] check-in: [a0fa120b] user: dmitry branch: dmitry-security, size: 26268
17:21
Protect against timing attacks by using constant-time comparison function to compare passwords and cookies. file: [22d53d8b] check-in: [7f110475] user: dmitry branch: dmitry-security, size: 26272
2011-09-15
12:03
initial mass-change merge of main repo with my fork. file: [efc70908] check-in: [5b44a419] user: stephan branch: json, size: 26537
2011-09-08
11:59
Introduce new file_wd_* functions that use stat() or lstat() depending on 'allow-symlinks' setting, and use them when dealing with files inside the working directory. Make file_* functions always use stat() as before merging symlink support.    Fix renaming of symlinks when merging (via new function symlink_copy()).    Rename create_symlink() to symlink_create(). file: [17c90216] check-in: [8a0c5469] user: dmitry branch: symlinks, size: 25696
2011-09-04
20:41
What I did to get the 'annotate' command not leak.    Notice that I disabled again the check for blob_is_reset, as in trunk. file: [30d6c3eb] check-in: [7ad4dfbe] user: viriketo branch: annotate_noleak, size: 25706
2011-08-28
11:22
Make blob_read_link() C89-compatible on Unix again. file: [dab8584f] check-in: [03481908] user: dmitry branch: symlinks, size: 25693
10:43
Handle errors in blob_read_link(). file: [d1b4c45d] check-in: [d43029f6] user: dmitry branch: symlinks, size: 25673
2011-08-26
14:59
Merge the latest trunk changes into the symlinks branch. file: [bef04e3b] check-in: [24c16584] user: drh branch: symlinks, size: 25613
2011-08-23
15:45
Fix several harmless compiler warnings. file: [ab5fb192] check-in: [553159aa] user: drh branch: trunk, size: 25100
2011-08-22
22:20
Merge trunk. file: [77bb6b4f] check-in: [c57830be] user: dmitry branch: symlinks, size: 25627
2011-05-26
11:29
Make arrangements for the output of "fossil status" to go through the UTF8 to MBCS translation. Ticket [3f0216560679fd] file: [9828b178] check-in: [02a6aa2d] user: drh branch: trunk, size: 25114
2011-05-13
17:13
Ignore short writes when writing to the console. file: [b2ba3894] check-in: [e7babf52] user: drh branch: windows-i18n, size: 25145
2011-05-12
14:04
Initialize the output buffer for blob_compress prior to invoking zlib in order to avoid valgrind warnings about reading uninitialized memory. file: [ef17fb8f] check-in: [c9bb729d] user: drh branch: trunk, size: 25133
2011-05-07
11:42
Convert the fopen() in blob_write_to_file() into fossil_fopen(). file: [fb10a655] check-in: [43739765] user: drh branch: windows-i18n, size: 25130
2011-04-28
13:53
Make sure the argument to fopen() is MBCS instead of UTF8. file: [5e94465b] check-in: [a3c252f2] user: drh branch: windows-i18n, size: 25123
2011-04-27
18:21
Attempt to get Fossil working on windows systems that do not use UTF8 in the shell. file: [0cf11317] check-in: [e805fa8d] user: drh branch: windows-i18n, size: 25116
2011-04-25
20:10
Further work toward two-way configuration sync. Need to check in these changes before they are complete in order to deal with another issue. file: [8778dee3] check-in: [71fc181f] user: drh branch: trunk, size: 25104
2011-02-17
20:44
Make sure manifest_crosslink() resets its input blob and that callers know this and do not attempt to reuse that blob. file: [e830421a] check-in: [d22519e5] user: drh branch: trunk, size: 24021
2011-01-28
19:04
Add symlink support for Unix. New settings flag "allow-symlinks" controls this (off by default). file: [32a666f5] check-in: [ed2ef7e9] user: dmitry branch: symlinks, size: 23918
2010-12-23
17:53
Fix a (harmless) buffer size miscalculation in the decompression logic. file: [0fea3d3f] check-in: [52aa366c] user: drh branch: trunk, size: 23430
2010-12-18
18:56
The "stash" functionality is now in place. Need to test more prior to merging into trunk. file: [8c7994b7] check-in: [22aa74dc] user: drh branch: experimental, size: 23437
2010-12-02
14:46
Remove some instances of strcpy() and sprintf() due to warnings on OpenBSD. Update the internal SQLite to the latest 3.7.4 release candidate. file: [882f5c6a] check-in: [3ad5891c] user: drh branch: trunk, size: 23328
2010-10-22
14:48
Use a faster tokenizer on manifests to reduce rebuild times by about 5%. file: [d2a3e719] check-in: [121ed7c8] user: drh branch: experimental, size: 24131
2010-10-15
17:13
Replace all malloc() calls with fossil_malloc(). The fossil_malloc() routine panics rather than return a NULL pointer. file: [61f2d895] check-in: [8f41b2fa] user: drh branch: trunk, size: 23319
2010-10-14
19:14
Remove all use of ctypes.h in order to avoid compiler warnings and other problems associated with changing locales. file: [60c31d96] check-in: [2fac8091] user: drh branch: trunk, size: 23369
18:38
Work towards including full text of deleted and added files in a diff when the -N or --new-file option is used. Ticket [e90d38c2054e9b44792eb] file: [1fa58c14] check-in: [585360b4] user: drh branch: trunk, size: 22862
2010-10-03
00:21
Add support for tags on events, including the ability to display a timeline of all events with a particular tag. file: [f81b1379] check-in: [a1fcb97d] user: drh branch: experimental, size: 22862
2010-08-31
01:53
Merge the changes from the windowscompilers branch into the trunk. file: [c87f80b3] check-in: [3564af0f] user: drh branch: trunk, size: 22869
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: [4d3d1c78] check-in: [f66f414f] user: renez branch: windowscompilers, size: 22377
2010-08-27
20:40
The ssh:// method on windows is now working well with plink. It will even prompt for passwords if the URL contains a "*" password. file: [8fa2fcda] check-in: [0cdb6403] user: drh branch: trunk, size: 22866
2010-07-08
17:53
Take care to close the connection to the database file before existing. This gives the database a chance to clean up (and, for example, delete WAL and shared-memory files). file: [40746071] check-in: [932825bc] user: drh branch: trunk, size: 22374
2010-05-16
19:08
Change from GPL to the Simplified BSD License. file: [4860d217] check-in: [c06edd23] user: drh branch: clear-title, size: 22367
2010-01-14
15:34
If a "merge" or "update" or "revert" fails, then automatically rollback any partial changes to the filesystem. Ticket [a9722a15d2]. file: [d09d7427] check-in: [7c3cb28d] user: drh branch: trunk, size: 22643
2009-08-27
18:33
Various small performance enhancements. file: [80cddafe] check-in: [4c37130f] user: drh branch: trunk, size: 22575
2009-03-27
14:32
Infrastructure in place on the client side to encrypt sync traffic. This is mostly untested so far because we do not yet have a server that understands encrypted traffic. file: [10f9b677] check-in: [9a23c348] user: drh branch: experimental, size: 27062
2009-03-26
23:26
Completed implementation of utility functions to encrypt and decrypt blobs. file: [2ed932bf] check-in: [bf16ab9b] user: drh branch: experimental, size: 26682
15:32
Incremental changes toward encrypting sync traffic. The changes are incomplete, but all legacy functionality appears to still works. file: [4adbb9d2] check-in: [5468ec7c] user: drh branch: experimental, size: 25566
2008-11-03
21:56
Use our own isspace() function since the standard-library isspace() sometimes gives incorrect results for non-ASCII characters. file: [19988562] check-in: [054dd31b] user: drh branch: trunk, size: 22306
2008-10-26
02:29
Prevent buffer overrun when adding \r characters to the check-in descriptions for win32. Ticket [41bb23e650]. file: [2492695b] check-in: [e44d7a4b] user: drh branch: trunk, size: 22032
2008-06-08
19:31
Use cr/nl instead of just nl at the end of every line on the check-in comment template for windows. Strip out the cr characters before completing the commit. file: [ea84a9c1] check-in: [e976aa6f] user: drh branch: trunk, size: 22065
2008-03-06
22:58
Work toward making fossil work better on large repositories. This version implements a cache in the content manager. It is not clear yet if this is necessarily a good idea - this check-in might end up on an abandoned branch at some point. file: [abc48788] check-in: [61ddd63b] user: drh branch: trunk, size: 21369
2008-02-21
14:27
Record whether or not files have their execute permission bit set. Set or clear the execute permission bit upon checkout. file: [2269ea66] check-in: [33c31f73] user: drh branch: trunk, size: 21390
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: [e355ed75] check-in: [28592937] user: drh branch: trunk, size: 21359
2007-11-16
20:42
Rework the merge algorithm. It now only works for text files. But, it no longer gets confused by line endings (\r\n versus \n) and it reports conflicts. file: [1da99958] check-in: [36b96b86] user: drh branch: trunk, size: 21682
2007-10-02
18:58
Begin adding the ticket configuration processing logic. file: [d66858e8] check-in: [2e9d52f2] user: drh branch: trunk, size: 20674
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: [70f1a3c9] check-in: [c7278fd0] user: jnc branch: trunk, size: 19933
2007-08-30
19:46
Fix multiple bugs in the comment parser of the commit command. Allow blank lines in comments. file: [f2c01655] check-in: [f030c0ae] user: drh branch: trunk, size: 19619
2007-08-28
07:12
Fixed bug in blob_write_to_file, added missing argument to fossil_panic. file: [57c4e585] check-in: [033ad72c] user: aku branch: trunk, size: 19613
2007-07-23
20:33
Work on network synchronization file: [8ec1e279] check-in: [75c476cc] user: drh branch: trunk, size: 19606
2007-07-21
14:10
Initial check-in of m1 sources. file: [98f347f7] check-in: [dbda8d6c] user: drh branch: trunk, size: 19536 Added