Login
All files named ”th1ish/shell_extend.c”
Login

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

History for th1ish/shell_extend.c

2021-02-08
04:49
Deleted: Removed long-since-obsoleted th1ish. check-in: [36e2410ca1] user: stephan branch: trunk, size: 0
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: [f17990c3d8] check-in: [09fb223f65] user: stephan branch: trunk, size: 113136
2014-07-18
13:07
th1ish binding: fixed a range check. file: [6d0d2b6138] check-in: [1d16c36eb3] user: stephan branch: trunk, size: 113103
2014-07-17
19:24
s2/th1ish: fixed an array access (off by one). Improved an error message. file: [4041217b38] check-in: [eb2cec3b6a] user: stephan branch: trunk, size: 113103
2014-06-20
20:25
Added a missing finalizer call in an error case. file: [676a0bae5d] check-in: [792847981d] user: stephan branch: trunk, size: 113103
2014-05-10
12:06
re-added Fossil.rc symbols, as it appears they are still used in many places. file: [44c5180650] check-in: [2c15759fe5] user: stephan branch: trunk, size: 113073
2014-04-26
22:09
latest th1ish amalgamation. file: [7979a758c6] check-in: [c10d7424ae] user: stephan branch: trunk, size: 113079
2014-04-19
16:55
more work on the scripting bits, latest th1ish. Removed Fossil.rc mapping in favor of Fossil.rcString(). file: [3c0257a12b] check-in: [5f60d77cb8] user: stephan branch: trunk, size: 113062
2014-04-11
23:12
minor formatting tweak. Edit: aaaaannnd... a bunch of other stuff i didn't mean to commit here. file: [a3d7ab878f] check-in: [f01ba444ed] user: stephan branch: trunk, size: 111438
2014-04-04
10:35
Pulled in latest th1ish so that it can build with -Wsign-compare. file: [dc2b195375] check-in: [b4d5a5cfe2] user: stephan branch: trunk, size: 111554
2014-03-23
11:23
Fixed a va_list arg misuse which appeared on 32-bit built with 64-bit fsl_int_t. file: [4658115cdc] check-in: [7e9148ae3e] user: stephan branch: trunk, size: 111530
2014-03-16
13:41
Minor tinkering with fsl_deck-to-Object in the th1ish bindings. file: [06606a448d] check-in: [b96ea63caf] user: stephan branch: trunk, size: 111536
13:03
Extended the manifest content caching in fsl_deck_parse() to apply to other fsl_deck string cards. Changed fsl_deck::L from a fsl_buffer to a C-string. file: [38733d4333] check-in: [752aad3eb7] user: stephan branch: trunk, size: 111395
2014-03-15
17:36
s/FSL_FS_PERM/FSL_FILE_PERM/gi. Minor tinkering with the vfile scanning process. file: [8d037d9a78] check-in: [c8c97fd8fe] user: stephan branch: trunk, size: 111437
2014-03-14
14:53
build fixes for amalgamation. Cleanups in shakenmake bits. Fixed uninitialized vars (thanks, clang). file: [206a45d03a] check-in: [968a993c60] user: stephan branch: trunk, size: 111429
2014-03-09
17:30
Checkin now closes cancels other branch tags when branching. Other minor fixes. Discovered that checkin is missing something - all old leaves are still marked as leaves. Will investigate later. file: [e3bc7e9820] check-in: [947ccbd912] user: stephan branch: trunk, size: 111415
2014-03-05
18:16
Added "r" flag to Fossil.Db.open(). Fixed a default flags foo-foo (using wrong set of enum values for flags) which just accidentally happened to work so far. file: [4cee2f8247] check-in: [fa6c0283b2] user: stephan branch: trunk, size: 111756
2014-03-03
22:16
minor tinkering with the script-facing diff code. Added a unit test. Added some docs. file: [a03ee0ee6e] check-in: [5da13b829b] user: stephan branch: trunk, size: 111727
2014-03-02
19:38
okay, time to eat. file: [4394c85f4c] check-in: [4c1012efc7] user: stephan branch: trunk, size: 111812
18:36
More work on the checkin diffs. Implemented text=1 flag and sbsWidth=N (which only works in text mode). file: [50ab8429c7] check-in: [75c0e0580f] user: stephan branch: trunk, size: 111621
17:13
Added basic (not yet configurable) sbs diffs to /manifest page. file: [95a3ed02e2] check-in: [32150877ed] user: stephan branch: trunk, size: 110691
2014-03-01
01:44
Added Fossil.file.chdir() and currentDir() bindings. file: [c7954891d1] check-in: [722c976434] user: stephan branch: trunk, size: 108381
2014-02-28
20:19
lots of tinkering with the script bits. Added Fossil.Context.loadBload() (fsl_content_get()) binding. file: [cde4bd3a2a] check-in: [c0b759f730] user: stephan branch: trunk, size: 107218
13:49
fixed an incorrect assertion. file: [8e33dcfe7a] check-in: [b5b5b2f88d] user: stephan branch: trunk, size: 105925
2014-02-26
17:32
s/CWAL_RC_MISUSE/FSL_RC_MISUSE/ for various exception codes. file: [72968de0be] check-in: [fae6ecfab7] user: stephan branch: trunk, size: 105871
2014-02-24
22:51
Added initial version of /dir CGI app - still missing version propagation in links (tomorrow...). Found a couple th1ish bugs and fixed them. Other minor script tinkering. file: [7d4c2ee110] check-in: [06a1c3087a] user: stephan branch: trunk, size: 105804
2014-02-23
15:25
Fossil.globMatches() is now tolerant of non-string 2nd parameters. file: [ee524afe59] check-in: [b38dac6507] user: stephan branch: trunk, size: 105825
2014-02-22
11:02
Added basic page generation timer support. file: [69aad12fcb] check-in: [32e4d1dd00] user: stephan branch: trunk, size: 105746
2014-02-20
21:20
Expanded the db API and script bindings a bit. Unit test tweaks. file: [773cea9fdd] check-in: [d74cd1950d] user: stephan branch: trunk, size: 105141
19:18
Pulled in latest upstream cwal. Added th1ish/fsl_zip_writer bindings. Expanded the fsl_zip API a bit. file: [a5997813c7] check-in: [9c23d7550d] user: stephan branch: trunk, size: 103715
2014-02-19
19:34
added Fossil.isUuid(). file: [c6d9bc06fe] check-in: [e5b8292e63] user: stephan branch: trunk, size: 95502
18:32
More th1ish/cgi bindings. Pulled in upstream cwal/th1ish/cgiish. file: [186002de2b] check-in: [94e51dc289] user: stephan branch: trunk, size: 94550
2014-02-18
22:08
Added a safety net around Buffer.un/compress(). Merged in Brad's changes. Don't feel compelled to branch, Brad\! file: [e48707a907] check-in: [5c9b8c1543] user: stephan branch: trunk, size: 94550
21:02
Fixed a couple embarassing Denkfehler in the time() handling. file: [231a7f65fb] check-in: [157b9bed08] user: stephan branch: trunk, size: 94347
20:42
Expand/fix the Fossil.time funcs a bit. file: [fceefb94e8] check-in: [2605142a11] user: stephan branch: trunk, size: 94405
20:06
oops - debuggering output. file: [945d778f64] check-in: [62683f62f9] user: stephan branch: trunk, size: 93030
20:05
Fixes related to the move to a built-in cgiish. Fixed where cgiish installs itself, related scripting fixes. file: [90ed1397e6] check-in: [55109097cb] user: stephan branch: trunk, size: 93093
19:02
cgiish is now built into the th1ish interp. Started documenting and restructuring some of the script bindings. Added several bindings. file: [0d47daad77] check-in: [9d328c44b9] user: stephan branch: trunk, size: 91810
2014-02-17
22:24
fixed a broken F-card.perm label. file: [db705f6099] check-in: [5f2533ef10] user: stephan branch: trunk, size: 84033
21:50
Added ability to load manifests (in a rudimentary Object form, with no extra functionality) from th1ish. Added /manifest CGI demo page. file: [0e929a0d00] check-in: [e01dbe9396] user: stephan branch: trunk, size: 84036
2014-02-16
17:46
compiler warning fix. file: [74e4f0529a] check-in: [0e55b4ec3d] user: stephan branch: trunk, size: 75165
17:43
API renaming and CGI tweaks. file: [d11f0a6dd6] check-in: [3a6c3d16ff] user: stephan branch: trunk, size: 75165
15:08
more CGI script tinkering. Doc fix. file: [abee06b2f2] check-in: [d829355d31] user: stephan branch: trunk, size: 74956
11:28
pulled in upstream th1ish/cwal. Experimenting with importing pages from files. file: [181f4fb4ad] check-in: [718734e0ab] user: stephan branch: trunk, size: 74947
2014-02-15
18:49
fixed a corner-case memleak in Fossil.file.dirPart() (thank you, valgrind!). Pulled in an even-more-latest upstream th1ish with a related minor change. file: [53d7e3d858] check-in: [eefb9d1ba7] user: stephan branch: trunk, size: 74777
15:04
Added Fossil.file.dirPart() script binding. Fixed values for Fossil.Db.filename. file: [365270e814] check-in: [d12b787b17] user: stephan branch: trunk, size: 74620
12:09
Pulled in upstream th1ish fixes. Tinkering with the th1ish bindings. file: [32e1b6c91d] check-in: [944f7c9d9a] user: stephan branch: trunk, size: 73034
2014-02-14
19:41
fixed a logic error which caused an exception in Stmt.bind(). file: [5ebcf81f7b] check-in: [6726fdbf29] user: stephan branch: trunk, size: 72900
2014-02-12
18:33
tinkering with the unit tests and th1ish/fsl bindings. file: [9b73ac51ae] check-in: [fa34e6cd5b] user: stephan branch: trunk, size: 72901
2014-02-10
22:48
more tinkering with the script test code. well past bed time. file: [30de7821b5] check-in: [ff317f1d07] user: stephan branch: trunk, size: 72314
20:43
started cleaning up the th1ish bits for use as a unit test ground. file: [3d31989b09] check-in: [22b96b0329] user: stephan branch: trunk, size: 71802
2013-09-09
15:31
accommadate API changes. file: [aa30fb6ead] check-in: [723c38cffe] user: stephan branch: trunk, size: 71204
2013-09-03
09:42
pulled in latest upstream th1ish. minor tweaks and test additions to the th1ish bindings. file: [49ef0e22b1] check-in: [4e195b8f25] user: stephan branch: trunk, size: 71196
2013-09-02
17:57
th1ish build kludge for my netbook (disable hwtime bits). Accommodated API changes. file: [a681423b29] check-in: [16996e8d4d] user: stephan branch: trunk, size: 71440
2013-08-31
09:12
Ported in some control artifact touchups from Jan. Fixed a linking-related problem with FossilApp_local_help(). Accommodated API changes in th1ish binding. file: [f7df4b40eb] check-in: [1e923bce86] user: stephan branch: trunk, size: 71445
2013-08-27
19:55
Started work on creating a new repo. Several related minor cleanups and additions. Simplified a couple APIs. file: [056a6feecb] check-in: [184bdcf4a4] user: stephan branch: trunk, size: 71443
2013-08-22
13:44
fsl_internal.h ==> fossil-internal.h file: [86776f19da] check-in: [2cae867331] user: stephan branch: trunk, size: 71449
2013-08-18
14:35
Split the code into some new files. Shortened fsl_cx_repo_xxx() and fsl_cx_checkout_xxx(), removing the _repo/_checkout part. file: [3daf7e9038] check-in: [2acbc2f85e] user: stephan branch: trunk, size: 71446
2013-08-13
13:17
Renamed header files from fossil/*.h to fossil-scm/*.h, to avoid any potential confusion with the fossil FS or other fossils out there. file: [6d2de61c5d] check-in: [99a4a0ff23] user: stephan branch: trunk, size: 71482
2013-08-12
16:48
Fixed a potential memory misuse when scripts held independent references to closed checkout/repo dbs and tried to use them. file: [452b73f216] check-in: [ffc2b3ce48] user: stephan branch: trunk, size: 71474
15:44
Cleanups and fixes in the db bits. s/FSL_TAG_xxx/FSL_TAGTYPE_xxx/g. Fixed a memleak in the handling of the fsl_db::filename entries for the special dbs. fsl_cx_checkout_close() now always closes its accompanying repo first because the repo is attached and we end up in a weird state if we do not. file: [707827ffbd] check-in: [ba9abe6330] user: stephan branch: trunk, size: 72313
2013-08-11
15:42
More skeleton work on manifest crosslinking. file: [d31bcbfc3c] check-in: [a95132ac5c] user: stephan branch: trunk, size: 71739
13:17
Ported in fsl_repo_content_undelta() and fsl_repo_shun_artifacts(). Added a public API and tests for the fsl_db::beforeCommit triggers. A number of minor additions, cleanups, and fixes. file: [cf089ef398] check-in: [ab3f72ce6c] user: stephan branch: trunk, size: 71738
11:16
fixed the script bindings of the repo/ckout db names (they now point to their corresponding db file instead of the main db). file: [13ab7338e4] check-in: [a0348f25c1] user: stephan branch: trunk, size: 71537
2013-08-10
23:29
more API renaming, expanded the FSL_xxx_T_PFMT collection. file: [d7140d1e34] check-in: [69dd500a28] user: stephan branch: trunk, size: 71161
21:20
Started work on manifest crosslinking, but only skeleton code is in place. Time for the dog walk... file: [33771e1050] check-in: [5b89c04e9b] user: stephan branch: trunk, size: 71159
12:42
cleanups and fixes to the previous commit. s/fsl_stmt_prepare/fsl_db_prepare/g. file: [62b1181301] check-in: [9f47dbd75d] user: stephan branch: trunk, size: 71172
2013-08-08
22:28
Fixed the th1ish db bindings, except that db.name now points to the wrong/misleaning db for repos opened as a side-effect of opening a checkout because the repo is (since the last round of refactoring) ATTACHed instead of OPENed, and the script API does not yet have access to the real filename. file: [f4ce1d9a0a] check-in: [913cb3e679] user: stephan branch: trunk, size: 71176
22:04
started working on fixes for the th1ish binding breakage caused by API changes, but it's bed time. file: [3979e8b991] check-in: [71a281dd9d] user: stephan branch: trunk, size: 70609
16:32
moved main sources into src/. moved fsl_internal.h to include/fossil. file: [f83b47e53b] check-in: [dd9401360d] user: stephan branch: autosetup, size: 68992
2013-08-06
18:53
Accommodated API changes. file: [e4d1eff4ac] check-in: [76d5f72147] user: stephan branch: trunk, size: 68988
2013-08-05
21:16
Minor tinkering, doc additions, s/FSL_UUID_SIZE/FSL_UUID_STRLEN/, added FSL_MD5_STRLEN. file: [041b208192] check-in: [0c9cd6f262] user: stephan branch: trunk, size: 68982
2013-08-04
11:42
Modified th1ish_interp init to use the fsl_realloc() allocator so that it is safe to move string/buffer memory between the cwal/fsl worlds for de/re/allocation purposes. file: [310122e9ed] check-in: [376aefacc8] user: stephan branch: trunk, size: 68980
11:17
Added Fossil.Context.resolveUuid() binding for fsl_cx_sym_to_uuid(). file: [d425f0de83] check-in: [52e50c041d] user: stephan branch: trunk, size: 68833
2013-08-01
19:54
Fossil.Db.each(object{bind:undefined,...}) and friends now treat bind===undefined as a no-op, instead of binding to NULL, to simplify script usage. Doh... that opens up a new bug i'll need to fix. file: [69ec4854cc] check-in: [fb51741754] user: stephan branch: trunk, size: 68433
18:38
Added script bindings for FSL_RC_xxx. Expanded delta test to mangle a multi-byte UTF8 char. Interesting (fossil diff) seems to be mangling those bytes - let's see what the diff looks like in the www UI... (PS: it looks fine in the www diff view.) file: [fd9db698a2] check-in: [cc44058158] user: stephan branch: trunk, size: 68222
18:11
Fixed a return value (CWAL vs FSL) in Fossil.deltaApply(). Added a test confirming that a delta corrupted by 1 bytes cannot be applied. file: [53df85e0fa] check-in: [468fd416d4] user: stephan branch: trunk, size: 66868
18:05
Added th1ish bindings for delta creation/application. Fixed a return bug in fsl_delta_apply() (was returning using old semantics). file: [64b5a9130f] check-in: [0aff7b640f] user: stephan branch: trunk, size: 66631
2013-07-31
18:28
Added fsl_db_transaction_XXX() funcs. Minor cleanups in th1ish binding. file: [20ec0fd697] check-in: [7331fda705] user: stephan branch: trunk, size: 61632
14:39
s/fossil2.h/fossil.h/g file: [c0e52b3dde] check-in: [9c20ce5c00] user: stephan branch: trunk, size: 61567
2013-07-30
14:49
a lot more refactoring than i set out to do. Lots of work on how the context manages its db instances. Config db is not yet finished. file: [a02f3cbec1] check-in: [dd6c2b4256] user: stephan branch: attach-dbs, size: 61568
09:50
Refactored how we keep track of f->dbMain. It is now a pointer/alias for one of (dbCkout, dbConfig, dbRepo). Then forgot to check in before porting in %b/%B format specifiers for fsl_appendf(). file: [0602cff147] check-in: [3fb14b6900] user: stephan branch: trunk, size: 60328
08:23
minor doc touchups. fixed an invalid var-arg count to cwal_exception_setf(). file: [ee225bcddd] check-in: [7a498f6d0f] user: stephan branch: trunk, size: 60205
2013-07-29
18:15
Added fsl_db_get_TYPE() family of functions (all untested, i might add). Fixed the empty-string copy case for fsl_strdup() (now creates a length-0 copy). A number of minor cleanups in the DB API. file: [c28fb64d82] check-in: [56df1f6446] user: stephan branch: trunk, size: 60255
17:11
doc and error string tweaks. file: [26f5822585] check-in: [568a70b089] user: stephan branch: trunk, size: 60223
16:43
Added a couple missing fsl_db_bind()ings. Improved the th1ish binding for bind() a bit. Switched build to use -std=c99 because it will not build as is on my 32-bit box without that b/c of a couple uses of PRIu64. file: [2dfb915bab] check-in: [b887183ec8] user: stephan branch: trunk, size: 60227
2013-07-28
15:04
More API renaming. Added script binding for the checkout-open operation. file: [2098fc7a74] check-in: [4abe63eb90] user: stephan branch: trunk, size: 59490
14:08
fsl_repo_open_checkout() is more or less working. A couple details left port. file: [124bcb42c4] check-in: [ae7a82a9d5] user: stephan branch: trunk, size: 57919
11:04
s/fsl_ctx/fsl_cx/g (easier to type). Added doc subdir (doxygen). file: [072f5fe039] check-in: [63bd510e80] user: stephan branch: trunk, size: 57917
2013-07-27
20:40
ported in sha1 code. file: [e826144fab] check-in: [1651d4e9ec] user: stephan branch: trunk, size: 57958
18:41
ported in lots of fs/ctype-related utilities, required for up-coming db-opening bits. file: [42a5420e8c] check-in: [14c73fb9f7] user: stephan branch: trunk, size: 56164
17:14
More refactoring of the fsl_db API. Still not quite happy with the monolith that is fsl_db_open(). file: [0c4855587f] check-in: [5267fe629b] user: stephan branch: trunk, size: 55125
13:36
Doc and other minor touchups. Pulled in latest cwal/th1ish for Buffer.writeToFile(). file: [104423bf97] check-in: [ad5e46d9bd] user: stephan branch: trunk, size: 54600
12:48
lots of fixes and touchups, mostly in the db layer. file: [f35a2eb413] check-in: [afbfb58da5] user: stephan branch: trunk, size: 52109
10:37
Extended th1ish api.Buffer with compress()/decompress() methods. file: [326ff513d4] check-in: [5c227bec96] user: stephan branch: trunk, size: 49938
10:13
Ported in the db.each(...) features from cpdoish. file: [2e5ff93174] check-in: [6b1beec8a9] user: stephan branch: trunk, size: 48259
09:38
Got the Stmt.get() bindings running. Added Stmt.stepArray/stepObject(). file: [c943ec488e] check-in: [4e7536be77] user: stephan branch: trunk, size: 39545
08:44
more work on the db layer and their script bindings. file: [5e5eb283e0] check-in: [a1e6a120d6] user: stephan branch: trunk, size: 31441
07:47
Some refactoring of fsl_error usage to consolidate some code. file: [235064eac5] check-in: [2eedf3f4d1] user: stephan branch: trunk, size: 24065
07:14
More work on the db layer. file: [f34c9e88de] check-in: [dc3cbf0f20] user: stephan branch: trunk, size: 22836
04:56
Tweaks to the DB API, starting binding it to th1ish. file: [7ee7e17894] check-in: [bad0b996f8] user: stephan branch: trunk, size: 19335
02:54
ported in some of the stat()-related utilities, added th1ish bindings for them. file: [23489b37d3] check-in: [1e02eb9264] user: stephan branch: trunk, size: 10332
01:57
accommodated API changes. file: [24d68d06da] check-in: [89da51b2c3] user: stephan branch: trunk, size: 7527
01:51
Another big round of minor cleanups and preparation for up-coming bits. file: [063e07102e] check-in: [9fa5fb1f96] user: stephan branch: trunk, size: 7524
00:29
s/prop_get_sub2/prop_get/ file: [b2219753f4] check-in: [9c8aa25e1d] user: stephan branch: trunk, size: 7527
00:27
All kinds of tinkering. file: [6190f9084b] check-in: [71060e72f1] user: stephan branch: trunk, size: 7535
2013-07-26
23:40
minor tinkering with the th1ish binding. file: [49f1a60a40] check-in: [431d06c9be] user: stephan branch: trunk, size: 6485
23:29
Added: Added initial th1ish script binding for library. It can open and close a repo db, but not much else. file: [c637a60353] check-in: [ad11ed5853] user: stephan branch: trunk, size: 6948