Login
Timeline
Login

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

124 check-ins using file s2/require.d/pubsub.s2 version 67470cb7fa

2014-10-29
04:36
trivial; // comments check-in: 129affbb36 user: dave tags: dave
04:33
bigfix; do not override file line endings/separator style on an update case of an insert-or-update unless explicitly asked to do so. check-in: 69fbe5c32d user: dave tags: dave
2014-10-28
14:08
typo fix in an #undef, from Martin Gagnon. check-in: 8b04160e56 user: stephan tags: trunk
13:52
pull in fixed merge to trunk, from trunk. check-in: 5377f3e24e user: dave tags: dave
13:50
recovered a lost change, enter/exit mutex properly, and cope with a sqlite auto-init glitch around the static mutex. check-in: fb5b9d15f9 user: dave tags: trunk
08:48
merged in dave. reminder to selves: the merge initially elides some of the content dave previously merged from trunk, and we are not sure why (required manual merge intervention, despite not having any conflicts). check-in: 61233f6026 user: stephan tags: trunk
03:02
need stdlib.h for the unices check-in: 6e12a39c1a user: dave tags: dave
02:14
merged in stephan's various changes check-in: c2d7402366 user: dave tags: dave
00:24
correct bug in 'match-or-fail' where aux data is bound to wrong column. changed a variable name that was farcically similar to another variable name in the same function (i.e. differed only by case); shame on me. check-in: 81f67b2297 user: dave tags: dave
2014-10-27
20:42
Switched from :memory: to "" (temp) DB for the main db, other minor cleanups. check-in: 6c18a25f11 user: stephan tags: trunk
18:24
Added (-E SQL|FILENAME) to f-query, which uses a multi-exec db call instead of prepare/step, so that we can feed it an arbitrary amount of non-SELECT queries (in -E mode any SELECT results do not get output). check-in: 6c907b2a70 user: stephan tags: trunk
17:46
added atexit() call to sqlite3_reset_auto_extension() to silence valgrind. It is arguable to do this at the library level, but seems safe enough for the time being. check-in: 1ac213d0b6 user: stephan tags: trunk
17:28
fsl_cx now (again) uses a ':memory:' DB as its 'main' and ATTACHes the repo/ckout/config to that one, to avoid locking problems Dave discovered with regards to attaching or opening a single DB file multiple times. Sanity tests work without changes and the s2 bindings required only assertion fixes, but probably needs some re-working of the 'db' property to account for the new, always-there handle. check-in: 898c0acbff user: stephan tags: trunk
16:35
Fixed: fsl_db_open() no longer checks/enforces that the special filename ':memory:' really exists. check-in: 2e58421c33 user: stephan tags: trunk
2014-10-25
19:52
correct silly position of assert(); correct a comment; correct for sqlite3 not auto-initing around mutex code (for reasons unknown to me) check-in: 455133309f user: dave tags: dave
18:46
previous idempotency with atomic inc/dec isn't really enough; the action being protected needs to be guarded as well. plus there were link issues on linux, the resolution of which is machine architecture specific, so I ditched that approach. check-in: 1be04c571a user: dave tags: dave
18:17
add atomic functions around refcounted init of sqlite extensions; unregister extensions when last one is freed check-in: 31a1e741ae user: dave tags: dave
16:28
merge trunk, get stephans various fixes check-in: 84b7b9a10a user: dave tags: dave
13:01
more minor tweaks to the s2 bindings. check-in: 6ac47349c4 user: stephan tags: trunk
12:50
The docs, not the impl, were wrong. check-in: 516ff0e751 user: stephan tags: trunk
12:10
s2: Fossil.file.dirPart() now returns an empty string for an empty result, instead of undefined. check-in: 3667bde1ee user: stephan tags: trunk
11:14
added some basic tests for the new vtables, minor build tweak to allow us to skip the core s2 unit tests while developing fossil unit tests. check-in: 8eb7c26910 user: stephan tags: trunk
10:29
Replaced sqlite3_exec() calls with fsl_db_exec(). check-in: 8f4b2c59c8 user: stephan tags: trunk
10:17
error handling cleanups and doc tweaks. check-in: f50b9815e8 user: stephan tags: trunk
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. check-in: 8a439f91d5 user: stephan tags: trunk
09:43
error check fix after opening a checkout/repo db. check-in: 116ad4ab7e user: stephan tags: trunk
2014-10-24
13:25
prevent changing of sepstyle for non-multivar types on update; fix constraint check on insert check-in: e7011739c4 user: dave tags: dave
05:12
when inserting versioned settings, check metadata 'is multivar' and force attribute in new settings object accordingly check-in: 9c9c3b6069 user: dave tags: dave
03:20
expose 'isversionable' settings metadata via vtable for those who wish externally to know. check-in: 2ac6a110d4 user: dave tags: dave
02:24
integrate feech-versionedsettingsupport. Not strictly fully tested, but I feel pretty good about it, so I'm going to close it out. I'll do any bugfixes here that might show up in the next days of testing. check-in: 03c3149b0e user: dave tags: dave
01:22
added support for 'non-multi-var settings' (most settings, actually), which inhibits list processing (i.e. doing comma/newline normalization). Also made alteration to VC6 project file to suppress warnings about sqlite3.c. Closed-Leaf check-in: 201339bcc3 user: dave tags: feech-versionedsettingsupport
2014-10-23
22:21
bug storing match_or_fail context structure; modded some accept regexes to include the 'empty is OK' metametacharacter check-in: 699fec5042 user: dave tags: feech-versionedsettingsupport
21:29
added more regex 'accept' patterns to settings metadata check-in: 82420a0765 user: dave tags: feech-versionedsettingsupport
19:57
minor booboo with signedness; pleasure gcc check-in: 11afb2ec7a user: dave tags: feech-versionedsettingsupport
19:52
support extended regex syntax for case-insensitive and multivalue settings check-in: 9660008e7b user: dave tags: feech-versionedsettingsupport
05:05
can't use FSL_CKOUT_DIR() to coin the name of the versioned settings path, because sql evaluation is inhibited in the parameter list to a CREATE VIRTUAL TABLE, so I needed to coin the path manually. check-in: 7f14cc89a4 user: dave tags: feech-versionedsettingsupport
03:33
fix a few dreaded // comments check-in: d4426ffe90 user: dave tags: feech-versionedsettingsupport
2014-10-22
21:48
first attempt at wiring in virtual tables for settings metadata and versioned setting support. Also, added an aliased column 'value' to 'default_value' for the settings metadata, to allow existing query scheme to work consistently with that table as well. check-in: ddb939fd3f user: dave tags: feech-versionedsettingsupport
18:35
Ported in a couple more pieces to the ongoing fossil-compatible auth/login support. check-in: afd46491fe user: stephan tags: trunk
14:49
monkey-patched (commented out) an unused var - now builds on gcc 4.8 with -Wall -Werror. check-in: b9277029a5 user: stephan tags: feech-versionedsettingsupport
2014-10-21
19:50
can build on gcc on Linux in conventional and amalgamation. now to test on other platforms... check-in: 6f02a467b1 user: dave tags: feech-versionedsettingsupport
15:46
ported in printf-style format checker from fossil(1), but not all variadics functions are yet checked. libf does not yet build cleanly vis-a-vis this tool, but the reports it produces will eventually be worked through. check-in: 954a12be68 user: stephan tags: trunk
01:51
make static linkage on internal functions and data of settings vtable since we don't have anonymous namespaces in C. check-in: 2bcec54383 user: dave tags: feech-versionedsettingsupport
01:09
more fun gcc warnings changes. I want my gcc. check-in: 136617e1c8 user: dave tags: feech-versionedsettingsupport
2014-10-20
23:07
needed to 'namespace' the regex engine in regexp -- even parts declared 'static', because in amalgamation, there effectvely is no 'static'. check-in: be9ccb0711 user: dave tags: feech-versionedsettingsupport
18:03
strdup is not ansi, so used fsl_strdup check-in: e26a27a507 user: dave tags: feech-versionedsettingsupport
17:49
more tasty gcc warning accomodations check-in: 7e6a260c1a user: dave tags: feech-versionedsettingsupport
17:41
a few more warning reductions for gcc check-in: e1aa9edc17 user: dave tags: feech-versionedsettingsupport
17:27
missed a spot with some // to /**/ conversion check-in: d4733ab715 user: dave tags: feech-versionedsettingsupport
17:09
sqlite3ext.h should not have been included unconditionally -- it is specific to dlls where host app provides sqlite impl. sqlite3ext.h needed to be added to repo, nonetheless, for some configurations. As such, sqlite3.h,.c were updated to be consistent with that file version (and also the final released version of 3.8.7) check-in: 0ab8c75c49 user: dave tags: feech-versionedsettingsupport
16:43
added source to Makefile.in for non-msvc builds check-in: 1bc542834a user: dave tags: feech-versionedsettingsupport
13:06
I committed into wrong branch, so pulling to the intended one. The changes thus far are benign, so I'm going to leave them there for the moment, and also since ultimately I'll be merging them back. (I'm such a buffoon.) check-in: d9afd076f1 user: dave tags: feech-versionedsettingsupport
13:02
interim; add source for settings vtable and regexp extension functions; not wired it yet. update VC/DS projects. minor mod to auto.def to avoid redefining a define that oftentimes comes from the command line to cl, and would otherwise generate a warning in some projects. check-in: 4e32063e22 user: dave tags: dave
2014-10-19
15:45
removed fsl_deck_F_foreach_own() - useless bloat (same feature is available as a param flag to fsl_deck_F_foreach()). check-in: 3ae4f088e4 user: stephan tags: trunk
15:31
Create new branch named "feech-versionedsettingsupport" check-in: 5f632a80f1 user: dave tags: feech-versionedsettingsupport
15:07
(keeping up to date; merge trunk) check-in: 92fd52048b user: dave tags: dave
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. check-in: 10f613f805 user: stephan tags: trunk
00:52
pulled in current trunk prior to setting up for work on integrating some sqlite3 extensions (mainly for presenting an access method for versioned settings consistent with db-base settings, but also to unify settings metadata, and provide data validation for the settings values). I'll do a brief sanity check build and resolve anything that comes up there before making that feature branch. check-in: 5685461788 user: dave tags: dave
2014-10-17
11:31
minor doc fix. check-in: 4314250daa user: stephan tags: trunk
11:31
fcli now sets the sqlPrint option in its fsl context, so FSL_PRINT(...) works by default. check-in: 778bca3a4e user: stephan tags: trunk
11:30
Reenabled fsl_db_verify_begin_was_not_called() - cannot verify the older bug there. check-in: 7746a1087a user: stephan tags: trunk
11:05
added fsl_ckout_dir() SQL func. minor doc updates. check-in: fd4ba13292 user: stephan tags: trunk
07:10
Fixed another char-should-be-int (signedness/portability). check-in: a49cbd9e8d user: stephan tags: trunk
2014-10-15
21:07
Added missing help text for f-new's --force flag. check-in: b4c3541e06 user: stephan tags: trunk
21:06
Fixed a file handle leak in a highly arguable bit of code in sore need of replacing with something nicer. check-in: 5ccfcc9bf3 user: stephan tags: trunk
2014-10-14
17:57
minor cleanups and test tinkering. check-in: dc0e75d877 user: stephan tags: trunk
16:37
added a couple missing tests. check-in: ace8946d2d user: stephan tags: trunk
16:11
latest s2 (fixed mis-propagation of exit/fatal/assert in some contexts). Minor test code tweaking. check-in: 8a57d492e5 user: stephan tags: trunk
2014-10-13
21:44
Added Fossil.Db.transactionState(), more related tests. check-in: 2fbd4f2594 user: stephan tags: trunk
20:57
latest s2, more fsl s2 module work. check-in: 3083667d5e user: stephan tags: trunk
20:43
Simplified common usage of Fossil.Db.selectValue(), changed Db.transaction() to use the nested transaction support. check-in: e882db5def user: stephan tags: trunk
20:18
s2: added Fossil.Db.transaction(Function). check-in: 6f622eb76b user: stephan tags: trunk
19:40
added s2 bindings for Fossil.Db.begin/commit/rollback(). check-in: fa87ef5d73 user: stephan tags: trunk
19:20
Minor error reporting improvement. check-in: d617d305e0 user: stephan tags: trunk
17:28
latest s2 plus more require.s2 module tinkering. Reimplemented Fossil.Db.selectValue/selectValues() in C (previously in the f-s2sh init script). check-in: 428464d569 user: stephan tags: trunk
2014-10-12
17:40
latest s2. check-in: ced0e46935 user: stephan tags: trunk
2014-10-11
12:36
latest s2: changes in how math and comparison ops works with mixed-mode numeric comparisons. Minor metrics-counting additions. check-in: 0824e98e3f user: stephan tags: trunk
2014-10-10
08:01
s2: upstream tmpl.s2 fix. check-in: 99898fdf1d user: stephan tags: trunk
2014-10-09
06:39
added missing requireS2 Ticker module, fixed path to local s2sh binary in r-tester.sh. check-in: 340d7b8111 user: stephan tags: trunk
2014-10-08
15:34
comment fix (misinformation), removed a line of dead code. check-in: 4356134409 user: stephan tags: trunk
15:28
Fixed another char-should-be-int case (portability problem). check-in: bcee79685a user: stephan tags: trunk
15:09
Fixed a broken error propagation which allowed duplicate tags to be output via fsl_deck_output(). Found while investigating an ML post from the fossil-users list. check-in: 0dadcc5b17 user: stephan tags: trunk
2014-10-07
15:25
fixed a potential corner-case null deref when built without FSL_CONFIG_ENABLE_TIMER. check-in: 234eba25f4 user: stephan tags: trunk
15:07
minor doc tweaks. check-in: d484c1679a user: stephan tags: trunk
2014-10-06
18:45
latest s2: call stack depth cap. Added r-tester.sh (require.s2 unit test runner). check-in: 105ab45377 user: stephan tags: trunk
2014-10-05
16:08
and this time without the memleak. check-in: 21f7c830fd user: stephan tags: trunk
15:56
removed an unnecessar #include. check-in: c0f5879cbd user: stephan tags: trunk
15:56
a slightly more pedantic solution for Fossil.Context.loginCookieName(). check-in: cab07654a4 user: stephan tags: trunk
09:55
ported in some of the login-related bits. check-in: c5b01a0b83 user: stephan tags: trunk
04:33
latest s2, minor ++/-- and unary +/- improvements. check-in: 95707c515f user: stephan tags: trunk
2014-10-03
05:38
latest s2: minor build fixes and initial go at Ctrl-C handling. check-in: 8acfeb6c13 user: stephan tags: trunk
2014-10-02
08:41
Make sqlite compile on MinGW (already reported upstream but not yet handled) check-in: f45641c753 user: jan.nijtmans tags: trunk
03:15
merged in dave's commits for validated msvc support. tested are vc6, ds2010, ds2012, dll, amalgamation, debug, release, x86, x64, and all possible permutations thereof. tested == all f-apps run to completion. check-in: c5218050d1 user: dave tags: trunk
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. check-in: 0d2451c9c2 user: dave tags: dave
01:27
added BUILDING document for the msvc builds. added DS2012 f-apps configs. check-in: 517c43c434 user: dave tags: dave
2014-10-01
15:36
(pull in current trunk) check-in: ce9a57463c user: dave tags: dave
15:34
integrated feature branch 'feech-dave-msvcsupport001' into my working branch; this mostly because it ws merged into trunk already, so I might as well close it. its was veritably done, pending final verification, which I expected to go cleanly anyway. check-in: f81b965c3a user: dave tags: dave
14:01
merged in dave's branch, patched a couple compile errors revealed by --no-debug config option, fixed a couple c99'isms. check-in: c3a138fac0 user: stephan tags: trunk
07:58
minor; a warning is issued by gcc when it couldn't figure out if a variable might be used before it is initialized. It is not, so I redundantly initialized it to avoid the warning. Closed-Leaf check-in: 2a1b0091d2 user: dave tags: feech-dave-msvcsupport001
07:36
trivial; avoid a warning about there being a difference between void fxn() and void fxn ( void ) for old c compilers check-in: 6f99aa0874 user: dave tags: feech-dave-msvcsupport001
07:31
minor; avoid a warning arising from a conflicting definition of tzset check-in: 4a8d9c2548 user: dave tags: feech-dave-msvcsupport001
07:27
minor; the 'release' config of f-apps/test output to the wrong directory, with the wrong name check-in: f3c33050b9 user: dave tags: feech-dave-msvcsupport001
07:20
marked as FSL_EXPORT all other symbols in public api (pretty much everything). I stopped short of doing things in fossil-internal.h, because I think that is a private header. There are a couple things in there that are exported, because the test apps required them, but I'm going to leave that header alone for now. Changes in this change set reflect methods that are not referenced by any of the test apps, and maybe need some test cases generated. check-in: bd0a181022 user: dave tags: feech-dave-msvcsupport001
06:15
marked as FSL_EXPORT various symbols; this change set is limited to the ones that are needed by the various f-apps, but this is not complete for general use of the library. I am doing this change in two phases simply because it gives me a way to see what methods have been exercised (by f-apps) and which have not. check-in: 7b651689f3 user: dave tags: feech-dave-msvcsupport001
06:10
added project configs for the f-apps for VC6 and DeveloperStudio-2010 check-in: 62fc412621 user: dave tags: feech-dave-msvcsupport001
05:59
updated project config to use dll crt; this is required for some apis (e.g. some that transport FILE* created in the client app, but used in the lib, e.g. fsl_output_f_FILE()) check-in: b9562c9af7 user: dave tags: feech-dave-msvcsupport001
2014-09-30
20:41
Disable fossil warning when committing *.dsp/*.dsw (and similar) with CRLF line-endings. check-in: 441f39661c user: jan.nijtmans tags: feech-dave-msvcsupport001
19:36
added DevStudio 2012 configuration. This is pretty much the same as DS2010, but a minor change is made so as to produce binaries that will work on XP, and to turn off safe SEH for Win32 Release, since a dependent lib (zlib) can't produce safeSEH images (alas). check-in: c91f4e2770 user: dave tags: feech-dave-msvcsupport001
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). check-in: 4627c84c02 user: dave tags: feech-dave-msvcsupport001
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. check-in: 4814bd4e5c user: dave tags: feech-dave-msvcsupport001
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. check-in: 9834d60958 user: dave tags: feech-dave-msvcsupport001
12:31
stat() family of functions on Windows cannot have a trailing path separator(s); if they are present, ENOENT will be indicated. remove them before issuing the stat() call. check-in: 5f15aad639 user: dave tags: feech-dave-msvcsupport001
12:22
minor, win32dll; need to include header (fossil-util.h) declaring exported functions, or the impl will not actually get exported (the impl will not pick up the export attribute) check-in: ea7ba15dec user: dave tags: feech-dave-msvcsupport001
2014-09-29
21:46
bug in opening file (win32-specific); 'mode' was set to be the 'filename' check-in: e8f06d4e5b user: dave tags: feech-dave-msvcsupport001
21:30
added clause to not include config-win32.h in amalgamation build, since it is... amalgamated. check-in: 6f968ae6fb user: dave tags: feech-dave-msvcsupport001
2014-09-28
17:30
trivial; update config-win32.h to be the same as current output from autoconfigure.h. There's no functional change, this is simply to make future diffs meaningful. check-in: de2d79c40f user: dave tags: feech-dave-msvcsupport001
2014-09-27
10:15
added DS2010 project files; 32 and 64 bit builds check-in: ec77cd08f7 user: dave tags: feech-dave-msvcsupport001
09:13
added project files for Visual Studio 6, and minor modifications to existing source to support compilation on that platform. This has been built, but only weakly tested so far. Next, I'm going to verify the build on DS2010. check-in: a7e4276441 user: dave tags: feech-dave-msvcsupport001
2014-09-26
22:55
Create new branch named "feech-dave-msvcsupport001" check-in: c8ca27bffb user: dave tags: feech-dave-msvcsupport001
22:52
Create new branch named "dave" check-in: 8fe348254f user: dave tags: dave
2014-09-25
05:36
adding missing double-to-int64 cast in fsl_zip_timestamp_set_julian(). check-in: b9dade891a user: stephan tags: trunk
2014-08-31
17:04
latest s2. check-in: af5d34d363 user: stephan tags: trunk
2014-08-30
07:49
more work on the fsl/db/repo-related modules, added basic timeline app impl in s2. check-in: 5760ed07f8 user: stephan tags: trunk
06:25
latest s2/requires2. check-in: b9d3c27a12 user: stephan tags: trunk