cwal

All files named ”s2/require.d/require.s2”
Login

All files named ”s2/require.d/require.s2”

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

History for s2/require.d/require.s2

2022-03-04
05:20
Ported require.s2 to whcl and it (surprisingly) didn't even require more code. The docs are still being ported. This will soon get baked into the binary for use with whcl.install-api. file: 5d09e4560e check-in: [5f08e42e10] user: stephan branch: trunk, size: 19309 )
2020-04-24
09:23
Removed an extraneous wrapper scope, added CLI flag options for certain require.s2 config, and renamed --requires2.home to --s2.require.home, for consistency. file: 2fccdbfad8 check-in: [98ad1bee7f] user: stephan branch: trunk, size: 19366 )
2020-01-18
19:16
Reimplemented the s2 import() function in C (was script code, so it went from 6 lines to more than 70), and added new ways to call it. file: 9f23346c68 check-in: [7af9cb2fe1] user: stephan branch: trunk, size: 21246 )
04:52
Added s2.PathFinder.tokenizePath() and related C-level APIs. file: ff822543d2 check-in: [ce2c6857e9] user: stephan branch: trunk, size: 21242 )
2019-11-28
12:31
Tweaked requireS2.pathFromEnv() for feature parity with the same routine in the CGI module. file: 8e4a9ce848 check-in: [7555a62646] user: stephan branch: trunk, size: 21266 )
12:13
Extended the require.s2 dll plugin to optionally be able to check whether a module is already installed as s2.MODULE_NAME (required to avoid multi-loading statically-installed modules). Added require.s2 s2mod plugin. Related require.s2 tweaking. file: c7c819ac6c check-in: [a184bebde3] user: stephan branch: trunk, size: 20947 )
2019-07-13
05:14
Added installModule() to require.s2, and import() now does an exact-match check in the cache before further processing IFF the given name contains no exclamation point. file: dfe0f5140c check-in: [c3bef28979] user: stephan branch: trunk, size: 20299 )
2018-11-20
02:11
Changed order of priority for determining require.s2's home directory. file: 2c51b9eaa7 check-in: [231303c333] user: stephan branch: trunk, size: 19300 )
2018-11-19
18:24
require.s2: added support for --requires2.home CLI flag. Renamed --s2-home to --s2.home to fit new conventions. file: b0ef05d2be check-in: [1d15adb91e] user: stephan branch: trunk, size: 19293 )
2018-11-04
12:40
minor internal cleanups in require.s2. file: 8f28299a7e check-in: [a67d9377e7] user: stephan branch: trunk, size: 19041 )
2018-01-03
13:53
minor script tinkering. file: 92fda9d21c check-in: [cf6a1c603c] user: stephan branch: trunk, size: 19539 )
2018-01-02
04:07
minor script modernization. file: 4e40d9f01a check-in: [ec6a178041] user: stephan branch: trunk, size: 19781 )
2017-12-30
19:04
minor cleanups. file: 9bba417272 check-in: [e2f4567194] user: stephan branch: trunk, size: 19813 )
2017-12-28
00:55
Added a couple generic utilities in tools/. Added an s2 C module which compiles in a copy of require.s2 for use as a loadable module. make clean is now recursive. file: aa6b3b8667 check-in: [76d80dabb1] user: stephan branch: trunk, size: 19563 )
2017-11-15
00:03
Added require.s2:resolveFilename() to assist in downstream code. file: f9076e5df7 check-in: [ebfc81be09] user: stephan branch: trunk, size: 19489 )
2017-11-12
06:21
minor script code modernization. file: 21eb65d388 check-in: [667fa75337] user: stephan branch: trunk, size: 18570 )
04:03
Fixes for syntax errors caught by the new, more restrictive object/array semicolon handling. file: f453dd684c check-in: [01ca9ad8b7] user: stephan branch: trunk, size: 18592 )
2017-11-08
08:37
Moved filesystem-related APIs from s2.io to s2.fs. file: 69dfbe2126 check-in: [474633d583] user: stephan branch: trunk, size: 18593 )
2017-10-14
16:40
minor modernization file: edac79de01 check-in: [3833182938] user: stephan branch: trunk, size: 18593 )
2017-04-07
06:17
minor efficiency hack. file: 97bd71efb9 check-in: [c223ee6e88] user: stephan branch: trunk, size: 18809 )
2017-03-20
13:09
tiny doc fix. file: 646335645b check-in: [850f59a744] user: stephan branch: trunk, size: 18858 )
2016-07-29
16:14
several trival code cleanups and minor modernization. file: 779789323c check-in: [46eaf44799] user: stephan branch: trunk, size: 18725 )
2016-03-12
12:37
migrated require.s2 from importSymbols() to using(). file: 0166aef6cc check-in: [6be57b7a23] user: stephan branch: trunk, size: 18646 )
2016-02-21
01:48
accommodated recent addition of "import" as a reserved word. file: d99a03154d check-in: [9d616fd147] user: stephan branch: trunk, size: 18778 )
2016-01-24
04:00
minor modernizations in require.s2. file: 02c273368b check-in: [fab5bc2472] user: stephan branch: trunk, size: 18774 )
2016-01-04
09:27
minor efficiency tweaks file: 2180f8b688 check-in: [425c8f5219] user: stephan branch: trunk, size: 18599 )
2015-07-29
12:42
another set of minor modernization tweaks in requireS2() and friends. file: f4c112118d check-in: [35cf4386d6] user: stephan branch: trunk, size: 18393 )
12:14
minor modernization of some require() internals. file: 029978dde0 check-in: [9d88b39451] user: stephan branch: trunk, size: 18431 )
2014-11-21
21:32
fixed a missing instance of the requireS2 symbol. file: bfa8d5167f check-in: [eaced55b55] user: stephan branch: trunk, size: 18400 )
21:10
doc updates. file: c992cbafdd check-in: [eff9a754a4] user: stephan branch: trunk, size: 18360 )
13:49
require.s2: minor internal touchups, refactored cache to a Hash, removed unused 3rd arg from require() signature, added addPlugin(Object) overload, added a self-test script. file: 9166350b8e check-in: [e4afa5556f] user: stephan branch: trunk, size: 18026 )
2014-11-19
17:01
require.s2: minor doc and typename touchups. file: a8c0956ae8 check-in: [200607d56d] user: stephan branch: trunk, size: 17160 )
2014-11-13
15:34
minor internal tinkering in require.s2 file: 6dd79bb9c7 check-in: [18d45b7605] user: stephan branch: trunk, size: 17094 )
2014-08-29
12:12
s2: experimenting with the ability to interrupt a running script, e.g. via Ctrl-C handler. Results look fairly promising but not perfect. Added Buffer|String.evalContents() and minor API changes to accommodate them. file: 8655c5d68a check-in: [cdf401e000] user: stephan branch: trunk, size: 16982 )
2014-08-28
16:41
new require.s2 modules abstracting away s2.xxx. file: 7a54a1027e check-in: [e16dd8c7a3] user: stephan branch: trunk, size: 16882 )
2014-08-27
21:35
minor doc tweaks. file: ff101f2cd5 check-in: [ce3473cc04] user: stephan branch: trunk, size: 16841 )
21:21
an experiment in using importSymbols() to overwrite "this" - works, but does not improve readability. file: 0de0ebc9a4 check-in: [cfc6837e0c] user: stephan branch: trunk, size: 16327 )
2014-08-26
20:41
found/fixed the bogus OOM error - these are the script tweaks made along the way. file: de68555236 check-in: [21c1c7c0cf] user: stephan branch: trunk, size: 16328 )
2014-08-16
15:36
more work on require.s2. Fixed json plugin caching, added json-cached plugin. file: 09ece3b983 check-in: [1b0bf8fc03] user: stephan branch: trunk, size: 15853 )
13:02
more work on require.s2. file: 4a6687eec9 check-in: [81d6c30f27] user: stephan branch: trunk, size: 15204 )
2014-08-14
15:12
require.s2: moved some of the plugins out to their own files. file: f5cef3b50a check-in: [26a8bd71e8] user: stephan branch: trunk, size: 14797 )
14:23
require.s2: changed the return semantics for the dll plugin's most common case. file: ce476eac36 check-in: [2dc8f470e9] user: stephan branch: trunk, size: 18234 )
11:32
s2: added nocache require.s2 plugin. file: 108526bb83 check-in: [9e9541f526] user: stephan branch: trunk, size: 17365 )
2014-08-13
10:46
s2: added __FILEDIR keyword to simplify certain scripting cases, hacked require.s2 to use it. file: e8a2c895c3 check-in: [c150babf9b] user: stephan branch: trunk, size: 17168 )
2014-08-12
21:03
require.s2: found a nice way to supply a symbolic name to recursive invocations. file: 65fa70ce21 check-in: [b52cdcff7e] user: stephan branch: trunk, size: 16888 )
19:50
Renamed and modified s2/toys/require.s2 → s2/require.d/require.s2. Moved require.s2 into a copy/paste-portable dir of its own, since libfossil is now making use of it. require.s2 now sets its internal home directory, to simplify client-side setup. file: ab7c8cdf5e check-in: [e02253057d] user: stephan branch: trunk, size: 16419 )