libfossil  File History

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

History of f-apps/f-sanity.c

2015-12-28
21:47
fixed broken (swapped) logic in fsl_rid_is_leaf(). file: [27e90e16f8] check-in: [2273183275] user: stephan branch: trunk, size: 54849)
2014-12-04
15:43
Latest s2, fixed ticket [dee8469f4b] by removing the (unused) chroot() feature from fsl_chdir(), accommodated an older libf API change in the th1ish bindings. file: [0bfa946c3f] check-in: [09fb223f65] user: stephan branch: trunk, size: 54777)
2014-10-25
09:51
merged in dave's branch, fixed a merge conflict, made f-sanity not fail a specific test fatally because it rightfully fails on a merge-modified checkout. file: [ac8b8ef783] check-in: [8a439f91d5] user: stephan branch: trunk, size: 54783)
2014-10-18
11:00
Factored out the find-a-db part of fsl_checkout_open_dir() to fsl_checkout_db_search() and added option to search parent dirs or not, both in support of up-coming code. file: [542729988f] check-in: [10f613f805] user: stephan branch: trunk, size: 54676)
2014-10-02
03:12
amalgamation support for msvc; #undef'ed a couple macros that collided with Windowsian things; added a project for my testing porpoises; put in a conditional compile switch in f-sanity.c to support an amalgamation build with ease. file: [53222ee4d4] check-in: [0d2451c9c2] user: dave branch: dave, size: 54675)
2014-09-30
15:35
minor; workaround fact that VC6 doesn't know how to convert a uint64_t to a double, but it does know how to convert a int64_t to a double; haha. I didn't bother to put it under conditional compilation, since it is harmless on other platforms (and you can't get enough precision out of a double to ever have it matter about the highest bits). file: [7e9746f2cd] check-in: [4627c84c02] user: dave branch: feech-dave-msvcsupport001, size: 54606)
13:06
corrected a bug in test_fs_cx_stat() that I introduced by commenting out an ureferenced local, simply to suppress a warning. It is unreferenced in Win32 builds, but it is used in Linux, so I uncommented it out, and I will just disregard the warning in Win32, since this is a test app anyway. Maybe I'll fix it better later with a conditional compile, or something, but it's pretty innocuous. file: [e908b727da] check-in: [4814bd4e5c] user: dave branch: feech-dave-msvcsupport001, size: 54591)
12:50
a peculiarity of Microsoft's AMD-64 compiler is that __FILE__ resolves to a relative path correct at compile-time. but incorrect at runtime if you are running in a different directory. (The x86 compiler resolves to fully-qualified paths, which can create a different problem if you were on a different machine, but these are just test apps anyway). The net result was to cause tests to fail when __FILE__ was used as a object of the test. There were two test apps that did this, and they were modified to use a manhandled self name in the case of microsoft's compilers. file: [ce68eded52] check-in: [9834d60958] user: dave branch: feech-dave-msvcsupport001, size: 54602)
2014-08-26
17:26
accommodated API changes. file: [b6347341d9] check-in: [acc01d60c7] user: stephan branch: trunk, size: 53865)
2014-05-29
16:56
Portability fixes (broken char signedness assumptions) for Raspberry Pi. file: [f388d17c39] check-in: [9fb7bcf2a9] user: stephan branch: trunk, size: 53795)
2014-05-01
14:01
path test code tinkering. time for a break. file: [7721694fa4] check-in: [dad7c554ab] user: stephan branch: trunk, size: 53751)
12:42
More work on the path porting. Related refactoring to make some more bits visible. file: [22f56d576f] check-in: [35cef04dcd] user: stephan branch: trunk, size: 53616)
2014-04-22
20:11
Added an sqlite3 commit hook to abort the app if COMMIT is used while an API-controlled transaction is in progress. Added a fsl_str_is_date2() test which should have been in the previous commit. file: [e3e2132706] check-in: [83c08406ea] user: stephan branch: trunk, size: 51912)
2014-04-06
17:44
moved a test. file: [03904da0c8] check-in: [c779eec8e4] user: stephan branch: trunk, size: 51548)
13:15
Added fsl_repo_import_blob() fsl_repo_import_blob(). One of the tests may fail first after the commit... we'll see if there's a follow-up commit to fix it. file: [0897ed8f7f] check-in: [4a39e3e670] user: stephan branch: trunk, size: 51546)
2014-04-03
17:02
Renamed fsl_glob_list_clean() to fsl_glob_list_clear() for consistency with similar APIs. file: [ee4c61279f] check-in: [1075d15a5f] user: stephan branch: trunk, size: 50883)
16:43
Renamed fsl_repo_filename_fnid() to fsl_repo_filename_fnid2(), kept it internal, and added fsl_repo_filename_fnid() as a simplified form safe for general-purpose client-side use. file: [ad115241c5] check-in: [f18878c6b4] user: stephan branch: trunk, size: 50883)
2014-03-31
17:35
Removed the reportDeletions option from fsl_repo_extract(). Cuts the code size in half and does away with a number of corner cases and inconsistencies in the reporting of deletions. Deleted files are no longer reported by that routine. file: [c6da0c0d71] check-in: [63d94544ed] user: stephan branch: trunk, size: 50881)
16:36
Fixed a mis-free() in fsl_repo_extract(). file: [94206971ea] check-in: [f0b9e29b44] user: stephan branch: trunk, size: 50907)
2014-03-30
10:37
Added caching of versionable config results but then removed it because it introduces inconsistencies in string ownership vis-a-vis non-versioned config. Various little cleanups and additions along the way. file: [115f3b974a] check-in: [48eec586a9] user: stephan branch: trunk, size: 50901)
2014-03-29
10:09
Introducing the highly arguable fsl_simplify_sql() utility routine. file: [3ac193dc13] check-in: [7b0022b9a5] user: stephan branch: trunk, size: 50885)
2014-03-28
15:27
Added infrastructure for the various xxx-glob config options. fsl_cx now caches them when a repo/checkout is opened and provides APIs for querying them. file: [d79506c968] check-in: [aa8f7bd1be] user: stephan branch: trunk, size: 50425)
2014-03-27
20:15
Moved versionable settings tests to the standard test battery. file: [44a38dd4b5] check-in: [9f64472a1d] user: stephan branch: trunk, size: 49819)
20:10
Added basic infrastructure for reading versionable settings. file: [6275cd0ec4] check-in: [5f501363c4] user: stephan branch: trunk, size: 49819)
2014-03-26
14:29
Added an assertion. file: [4afa7cd2dc] check-in: [03019c5871] user: stephan branch: trunk, size: 48931)
14:27
Added --cached-sql flag to dump cached statements at end of tests. file: [57b54cddfa] check-in: [01e5816534] user: stephan branch: trunk, size: 48913)
2014-03-25
18:16
A big round of renaming and touchups. More tinkering with the F-card generation. Seems to work how i want it now. This commit is partially a test of said functionality... seems we are not quite at a delta/baseline rollover point. file: [6400abcb7f] check-in: [7a0759a0a4] user: stephan branch: trunk, size: 48520)
2014-03-17
21:12
Ported in fsl_gradient_color(). Added fsl_rgb_encode/decode(). Minor comment changes in f-tag. file: [93cf8a20d5] check-in: [a508afba51] user: stephan branch: trunk, size: 48272)
2014-03-16
17:28
Discovered a crash case involving ordering of the sanity tests. To investigate later. file: [d2b9411515] check-in: [c0b8ce3c1d] user: stephan branch: trunk, size: 47996)
2014-03-15
17:28
Tweaked some test code. file: [83ff94ecf1] check-in: [439762f205] user: stephan branch: trunk, size: 47898)
15:39
Fixed the quirk of fsl_checkout_file_rm() caring whether a dir name ends with a slash or not. file: [ae4044db14] check-in: [9664c64ba3] user: stephan branch: trunk, size: 47898)
13:35
Minor cleanups, code consolidation/removal. file: [28c3bdb828] check-in: [a92bffdddf] user: stephan branch: trunk, size: 47658)
2014-03-14
14:25
a long morning of refactoring and cleanups. file: [6a4f261c87] check-in: [c71f986d35] user: stephan branch: trunk, size: 47552)
11:10
another round of minor cleanups. file: [35522e9ee3] check-in: [7e8d0ecfe2] user: stephan branch: trunk, size: 47177)
2014-03-13
19:42
accommodated internal restructurings. file: [2bc9193aa0] check-in: [4740bce980] user: stephan branch: trunk, size: 48263)
2014-03-12
19:44
Swaped fsl_checkout_version_info() arg order, for consistency. More work on the checkin bits. file: [6270f886ec] check-in: [ccb9a1e941] user: stephan branch: trunk, size: 48264)
2014-03-08
22:21
More work on the checkin bits. Reimplemented how baseline manifests get their F-cards calculated. Not yet sure how best to implement a delta manifest. file: [de88fb3485] check-in: [1cd70042f1] user: stephan branch: trunk, size: 48264)
18:29
Lots more tinkering with the checkin stuff. About to try a different F-list generation algo, though, because the ported-in one has historical baggage due to the enforced ordering of names in how it generates the manifest. file: [d982afe091] check-in: [1a0ee6b693] user: stephan branch: trunk, size: 48039)
12:35
more work on the checkin bits. file: [52b6031e1e] check-in: [8fbda636dd] user: stephan branch: trunk, size: 47129)
11:50
Started work on some internals needed for doing a checkin. file: [f98c65ca59] check-in: [c77b3cb7fb] user: stephan branch: trunk, size: 46830)
2014-03-04
10:16
switch from local time to gmt in one test. file: [0e7e8af336] check-in: [2d5f825f68] user: stephan branch: trunk, size: 45510)
2014-02-25
21:19
Changed fsl_repo_filename_to_fnid() semantics a tiny bit. file: [13fdf6744d] check-in: [3438cbb4bd] user: stephan branch: trunk, size: 45513)
2014-02-23
11:24
fsl_mtime_of_manifest_file() now accepts a 0 fileId to fetch the time of the manifest. zip-repo now sets the root dir time to that of the manifest. file: [6e8c39a6b5] check-in: [90f3f7bd40] user: stephan branch: trunk, size: 45123)
2014-02-22
10:33
Ported in fossil's system timer APIs. file: [60c5f45efc] check-in: [91471dde81] user: stephan branch: trunk, size: 45006)
2014-02-15
18:52
Added a unit test. file: [68f63e8bbc] check-in: [a93fd5de89] user: stephan branch: trunk, size: 44692)
2014-02-14
18:17
minor output tweak. file: [8b3027d20b] check-in: [ffa6fb17c9] user: stephan branch: trunk, size: 44613)
12:05
Refactored fsl_repo_extract() to provide more info to the callback. Added fsl_strftime_unix(). file: [300d84a446] check-in: [38d3dd2086] user: stephan branch: trunk, size: 44565)
10:36
Reordered some arguments. Implemented fsl_repo_extract(), which will be the basis of checkout-like behaviours. file: [e4252a9392] check-in: [e713b48c83] user: stephan branch: trunk, size: 44797)
09:05
Globally changes the API docs from fossil/sqlite-style '**' to Doxygen-friendly format because the extra stars hinder writability/changability and require an extra filter at the doxygen-processing level. file: [9bd18d07e7] check-in: [a2cbd2e343] user: stephan branch: trunk, size: 43313)
2014-02-12
20:42
Moved ZIP-creation code into the public API. Expanded and fixed it considerably. Added f-zip tool. file: [1c469b7c3f] check-in: [54a3117046] user: stephan branch: trunk, size: 43313)
2014-02-11
15:57
Moved the overlooked test.c and moved much of its code into f-sanity.c. Minor tweak to fsl_cx_err_reset() to avoid a potential error propagation corner case. file: [e4c9e5683e] check-in: [2d81857ed2] user: stephan branch: trunk, size: 43166)
14:31
Build cleanups. Moved f-* apps to f-apps/ subdir. Now builds a shared (instead of static) lib by default because that now (since the file move) simplifies the linking of the f-apps (and th1ish). Adapted f-sanity.c tests to the new directory structure. file: [5093abcb7f] check-in: [e85b45eda2] user: stephan branch: trunk, size: 39899) Renamed from f-sanity.c