Commit graph

186 commits

Author SHA1 Message Date
Alex Shinn
f9d73ddc30 Adding the -R<module> option to run "main" procedures directly from modules,
analogous to Python's -m.  With no argument, runs chibi.repl.
2013-10-04 12:04:50 +09:00
Alex Shinn
e037027fcf Fixing directory-fold to return knil on non-existing directories.
Fixing file-regular?/directory?/... shortcut tests to return #f
for non-existent files instead of a confusing error.
2013-10-04 10:42:49 +09:00
Alex Shinn
3b7a042d61 Adding repl-advise-exception, currently advising potential modules exporting unbound indentifiers. 2013-10-03 12:42:18 +09:00
Alex Shinn
7004feed5e Adding closedir call to directory-fold-tree. 2013-10-03 12:30:24 +09:00
Alex Shinn
2d8371c258 Adding missing changes to available module introspection from 1729:f1e5f235d684. 2013-10-03 12:14:59 +09:00
Alex Shinn
fc2ca6181f Adding introspection to available unloaded modules. 2013-10-03 12:14:31 +09:00
Alex Shinn
daf5478824 Fixing failed opendir handling from 1725:739f90999b17. 2013-10-03 12:12:16 +09:00
Alex Shinn
3c8c1fe74b Handling case where opendir fails in directory-fold-tree. 2013-10-03 09:37:33 +09:00
Alex Shinn
20aa69033c Adding file-lock interface to flock(2) to (chibi filesystem). 2013-10-01 15:14:17 +09:00
Alex Shinn
216bfb87c9 containing-module should account for the fact the a module's environment may not yet be set. 2013-09-30 10:57:07 +09:00
Alex Shinn
67e50cefaa Exporting conf-source 2013-09-29 13:26:13 +09:00
Alex Shinn
fbfe1f1b5b Adding 'reloader?: keyword to memoize-file-loader. 2013-09-26 19:57:20 +09:00
Alex Shinn
94615fb11e Default conf parent is #f, not null. 2013-09-22 18:55:21 +09:00
Alex Shinn
724390d596 Exporting regexp-match?. 2013-09-18 00:18:36 +09:00
Alex Shinn
5795f132ca Adding memoize-file-loader. 2013-09-08 18:23:39 +09:00
Alex Shinn
75cf2d7331 Adding memoization library. 2013-09-01 23:08:33 +09:00
Alex Shinn
080cdef849 Adding create-directory*. 2013-08-31 20:16:01 +09:00
Alex Shinn
d198557c8b Adding path-strip-leading-parents. 2013-08-31 20:02:53 +09:00
Alex Shinn
38685f6aca Adding procedure-arity and procedure-variadic?. 2013-08-31 20:02:39 +09:00
Alex Shinn
76b0209725 Adding setenv/unsetenv. 2013-08-29 23:18:31 +09:00
Alex Shinn
8629b10ca0 (fork) now kills other threads atommically in the child. Use
(%fork) to keep other threads running in both parent and child.
2013-08-24 15:39:29 +09:00
Alex Shinn
44bf9837ca Adding path-relative-to utility, plus pathname cleanup and tests. 2013-08-21 22:52:26 +09:00
Alex Shinn
7a27341ecd Adding initial send-file interface. 2013-08-18 18:36:24 +09:00
Alex Shinn
a1e22d42d4 Fixing bug in uri path parsing. 2013-08-18 17:09:39 +09:00
Alex Shinn
7ead052131 Auto-detecting and annotating common optional args patterns in extracted signatures. 2013-08-04 17:02:28 +09:00
Alex Shinn
1e59b80a53 Using detectable optional args. 2013-08-04 17:01:51 +09:00
Alex Shinn
e136aa78e2 Updating additional docs to use backslash. 2013-08-04 17:01:22 +09:00
Alex Shinn
3212f52327 Updating heap-stats docs to use backslash escape. 2013-08-04 16:56:06 +09:00
Alex Shinn
cb8f50882d Updating filesystem docs to use backslash escape. 2013-08-04 16:55:31 +09:00
Alex Shinn
da403f7deb Updating disasm docs to use backslash escape. 2013-08-04 16:54:01 +09:00
Alex Shinn
a50f707f3b Removing spurious section header. 2013-08-04 15:56:06 +09:00
Alex Shinn
43b6f6496a Fixing source line miscalculation in read-line for non-string-stream builds. 2013-08-04 15:37:53 +09:00
Alex Shinn
3193dcb650 Adding string-find? utility. 2013-08-04 15:22:53 +09:00
Alex Shinn
19e5398b92 Allowing a default predicate for methods.
Fixes issue #191.
2013-07-29 21:16:18 +09:00
Alex Shinn
8afb59f9ac Avoiding case-folding large, pre-defined Unicode char-sets. 2013-07-27 15:32:22 +09:00
Alex Shinn
131c8e93d4 Removing uneeded imports. 2013-07-25 22:12:49 +09:00
Alex Shinn
781c7b45b0 Fixing a bug in regexp-match not properly matching to the end of the string. 2013-07-24 22:03:43 +09:00
Alex Shinn
205c60a807 Initial version of (chibi regexp). 2013-07-24 21:36:02 +09:00
Alex Shinn
c3cb2fbdbb Fixing typo in test-group. 2013-07-23 22:45:32 +09:00
Alex Shinn
e0e23fc0fd Updating chibi.net.http with mime changes. 2013-07-23 07:35:34 +09:00
Alex Shinn
6dea74036a Making C string port API names match the Scheme side. 2013-07-21 15:24:04 +09:00
Alex Shinn
13b540418e C-level string API redesign with cursor support.
s/sexp_string_length/sexp_string_size/
Make sexp_string_ref/sexp_string_set Unicode aware.
Provide cursor level alternatives for efficiency.
Document all of this.
2013-07-21 14:59:51 +09:00
Alex Shinn
b6e2829b5d Updating (chibi uri) to use new string-find return values, which
were changed to offsets rather than potentially #f.
Also consistently using string-cursor API rather than indexes.
Fixes issue #189.
2013-07-21 14:01:36 +09:00
Alex Shinn
beb325a0d1 Exporting string->path-uri. 2013-07-15 11:47:17 +09:00
Alex Shinn
b007c25050 Typo in string-upcase-ascii. 2013-07-15 07:38:04 +09:00
Alex Shinn
56b3116e20 Adding string-downcase-ascii util to (chibi string). 2013-07-15 07:28:46 +09:00
Alex Shinn
eec5aaa0b4 Adding optional start/end params to string-find[-right]. 2013-07-15 07:20:17 +09:00
Alex Shinn
924352921a Adding sockaddr-port. 2013-07-14 18:40:23 +09:00
Alex Shinn
a3102c4c1e Adding additional constants and the ability to set addrinfo hints.
Setting the default hints to AI_PASSIVE so that standard listeners
(including those created implicitly by run-net-server) can listen
on all addresses.
2013-07-14 18:32:48 +09:00
Alex Shinn
2f8ef980d6 Adding an interface to socketpair. 2013-07-14 14:30:10 +09:00