Chris Hanson [Thu, 20 Dec 2007 02:49:18 +0000 (02:49 +0000)]
Rework last change to allow full type-specific mode-line status
rendering. Tweak bzr mode-line to be a little clearer.
Chris Hanson [Thu, 20 Dec 2007 01:24:29 +0000 (01:24 +0000)]
Optimize performance of bzr-controlled buffers. It turns out that
"bzr log" is very slow (several seconds on a Core Duo), even with
"--limit=1". So disable display of the revision in the mode line, and
reduce the number of places that need to know the revision. Also,
cache the output of "bzr ls", which is also slow-ish.
Chris Hanson [Tue, 18 Dec 2007 03:59:33 +0000 (03:59 +0000)]
Fix brokenness in previous change: can't pass "." for PATH argument to
"bzr ls --non-recursive". Instead pass no PATH arg and it does the
right thing. Also: don't forget to quote the filename before passing
it to RE-STRING-SEARCH-FORWARD.
Chris Hanson [Sun, 16 Dec 2007 01:10:38 +0000 (01:10 +0000)]
Pass "--non-recursive" when calling "bzr ls", since we don't care
about files in sub-directories.
Chris Hanson [Mon, 10 Dec 2007 04:24:57 +0000 (04:24 +0000)]
Use notification mechanism for SHOW-TIME.
Chris Hanson [Sun, 9 Dec 2007 06:12:14 +0000 (06:12 +0000)]
Be more specific that column tracking works only for ASCII graphic
characters.
Chris Hanson [Sun, 9 Dec 2007 06:09:32 +0000 (06:09 +0000)]
Improve line breaking to have a more accurate idea where the break
should go.
Chris Hanson [Sun, 9 Dec 2007 05:53:04 +0000 (05:53 +0000)]
Change indentation style to put open paren inline, contents indented,
and close paren unindented. Change indentation increment from 2 to 4.
Generate optional trailing ";" in bnodes and "." in subgraphs. Don't
automatically indent multiple objects; instead try to break lines
where needed. Add space after an unquoted literal, to prevent
confusion should it be followed by ".".
Chris Hanson [Sun, 9 Dec 2007 05:45:39 +0000 (05:45 +0000)]
Simplify column tracking: track columns as long as only simple
characters are used, independent of the port coding.
Chris Hanson [Sun, 9 Dec 2007 05:09:28 +0000 (05:09 +0000)]
Implement WRITE-RDF/TURTLE-SUBGRAPH.
Chris Hanson [Sun, 9 Dec 2007 05:02:51 +0000 (05:02 +0000)]
Change WRITE-RDF/TURTLE-TRIPLES so that it doesn't indent before
initial output and doesn't generate a trailing newline. Change
WRITE-RDF/TURTLE-TRIPLES and WRITE-RDF/TURTLE-TRIPLE to preserve their
initial indentation.
Chris Hanson [Sun, 9 Dec 2007 04:50:54 +0000 (04:50 +0000)]
Provide abstraction for balanced grouping syntax.
Chris Hanson [Sun, 9 Dec 2007 04:42:03 +0000 (04:42 +0000)]
Favor use of SRFI-1 procedures.
Chris Hanson [Sat, 8 Dec 2007 18:19:14 +0000 (18:19 +0000)]
Replace MAC_ARCH hack with more general mechanism to preserve CFLAGS
when using GCC.
Chris Hanson [Wed, 5 Dec 2007 02:47:42 +0000 (02:47 +0000)]
Rewrite handling of control directories and master files again. This
design is simpler and should be faster.
Chris Hanson [Tue, 4 Dec 2007 05:24:29 +0000 (05:24 +0000)]
Don't search for ".bzr" in parent directories if some other
version-control system is available for the current directory.
Chris Hanson [Tue, 4 Dec 2007 05:21:51 +0000 (05:21 +0000)]
Don't search for ".bzr" in parent directories if some other
version-control system is available for the current directory.
Chris Hanson [Mon, 26 Nov 2007 05:25:55 +0000 (05:25 +0000)]
Fix problem introduced by previous change: argument to
"-bundle_loader" must always point to the reference binary, but the
reference must take several different forms for this to work.
Chris Hanson [Mon, 26 Nov 2007 05:19:35 +0000 (05:19 +0000)]
Fix problem introduced by previous change: argument to
"-bundle_loader" must always point to the reference binary, but the
reference must take several different forms for this to work.
Chris Hanson [Mon, 26 Nov 2007 05:15:33 +0000 (05:15 +0000)]
Revert change to WITH-EVAL-UNIT, which broke building of C back end.
(Specifically, the reference to "base/make" in
"compiler/machines/C/make.scm".)
Chris Hanson [Mon, 26 Nov 2007 04:00:24 +0000 (04:00 +0000)]
Fix formatting type error.
Chris Hanson [Sun, 25 Nov 2007 05:24:43 +0000 (05:24 +0000)]
Refine the gcc build flags for Mac OS X. Target version 10.4 if SDK
available.
Chris Hanson [Sat, 3 Nov 2007 04:00:36 +0000 (04:00 +0000)]
Fix bug: IMAP-MAILBOX-DELIMITER was using the mailbox name as a key
into a global table, without considering the server that the mailbox
resided on. Consequently there were collisions when multiple servers
had different delimiters.
Chris Hanson [Sat, 3 Nov 2007 02:57:34 +0000 (02:57 +0000)]
Work around bug in Gmail IMAP server.
Chris Hanson [Mon, 22 Oct 2007 04:13:45 +0000 (04:13 +0000)]
bzr doesn't have a meaningful default-revision method; stub it out.
Remove unused ERROR? argument from all the default-revision methods.
Chris Hanson [Fri, 19 Oct 2007 17:28:07 +0000 (17:28 +0000)]
Rework bzr caching to use standard vc cache support.
Chris Hanson [Thu, 18 Oct 2007 15:57:40 +0000 (15:57 +0000)]
Fix bzr command cache to pay attention to timestamp of workfile.
Chris Hanson [Wed, 17 Oct 2007 18:50:22 +0000 (18:50 +0000)]
Add support for bzr.
Chris Hanson [Fri, 12 Oct 2007 19:08:37 +0000 (19:08 +0000)]
Always parse POST variables, so that alternate content handlers can
use them.
Chris Hanson [Fri, 12 Oct 2007 02:19:45 +0000 (02:19 +0000)]
Provide DEFINE-MIME-HANDLER and DEFINE-SUBTREE-HANDLER to XHTML
expanders.
Chris Hanson [Fri, 12 Oct 2007 02:13:17 +0000 (02:13 +0000)]
Eliminate ugly load hack; use WITH-EVAL-UNIT and WITH-LOAD-ENVIRONMENT
to make loader work right for embedded Scheme code.
Chris Hanson [Fri, 12 Oct 2007 02:12:14 +0000 (02:12 +0000)]
Change WITH-EVAL-UNIT to change the current working directory if it is
given a pathname URI. Rename SET-CURRENT-LOAD-ENVIRONMENT! and
WITH-CURRENT-LOAD-ENVIRONMENT to SET-LOAD-ENVIRONMENT! and
WITH-LOAD-ENVIRONMENT, respectively.
Chris Hanson [Fri, 12 Oct 2007 02:00:24 +0000 (02:00 +0000)]
Implement WITH-CURRENT-LOAD-ENVIRONMENT.
Chris Hanson [Fri, 12 Oct 2007 01:24:33 +0000 (01:24 +0000)]
Implement READ-RDF/TURTLE.
Chris Hanson [Fri, 12 Oct 2007 01:08:03 +0000 (01:08 +0000)]
Implement CURRENT-LOAD-ENVIRONMENT.
Chris Hanson [Tue, 9 Oct 2007 04:43:49 +0000 (04:43 +0000)]
Allow scheme-environment variable to be set to a procedure, which is
called at reference time to compute the environment.
Chris Hanson [Tue, 9 Oct 2007 04:41:32 +0000 (04:41 +0000)]
Add indentation rule to override "DEF" prefix for "DEFAULT".
Chris Hanson [Tue, 9 Oct 2007 04:26:24 +0000 (04:26 +0000)]
Allow ->BUFFER to accept #!DEFAULT.
Chris Hanson [Tue, 9 Oct 2007 04:20:44 +0000 (04:20 +0000)]
Move "bad evaluation environment" message to "evlcom.scm".
Chris Hanson [Tue, 9 Oct 2007 04:14:40 +0000 (04:14 +0000)]
Fix thinko.
Chris Hanson [Tue, 9 Oct 2007 04:14:29 +0000 (04:14 +0000)]
Eliminate kludge to work around old DEFAULT-OBJECT? macro.
Chris Hanson [Mon, 8 Oct 2007 03:05:41 +0000 (03:05 +0000)]
Make port args optional on output procedures.
Chris Hanson [Fri, 5 Oct 2007 20:13:50 +0000 (20:13 +0000)]
Eliminate INDENTATION argument from WRITE-RDF/TURTLE-TRIPLE. Fix
indentation bug in WRITE-GROUP.
Taylor R. Campbell [Wed, 26 Sep 2007 00:25:50 +0000 (00:25 +0000)]
Fix detection of ^G in PREVIEW-EVENT.
Taylor R. Campbell [Mon, 24 Sep 2007 05:22:29 +0000 (05:22 +0000)]
Fix typo in FIND-HEADER: the local variable is named STRING, not TEXT.
Chris Hanson [Mon, 17 Sep 2007 05:07:13 +0000 (05:07 +0000)]
Fix bug in handling of URL bindings (thanks Aaron Hsu). Closes
savannah #21096.
Taylor R. Campbell [Mon, 17 Sep 2007 02:31:42 +0000 (02:31 +0000)]
Omit superfluous octothorpe from error message for illegal boolean
conditions.
Taylor R. Campbell [Fri, 14 Sep 2007 15:52:40 +0000 (15:52 +0000)]
Add support for socket-related errno values.
Chris Hanson [Thu, 13 Sep 2007 13:58:04 +0000 (13:58 +0000)]
Fix READ-CHAR-NO-HANG to account for CHAR-READY? returning #T on EOF.
Chris Hanson [Thu, 13 Sep 2007 12:49:13 +0000 (12:49 +0000)]
Fix two WNA errors that occur when generating RTL and/or LAP files.
Chris Hanson [Wed, 12 Sep 2007 23:36:09 +0000 (23:36 +0000)]
Eliminate now-unnecessary definitions of INPUT-PORT/EOF?.
Chris Hanson [Wed, 12 Sep 2007 23:35:01 +0000 (23:35 +0000)]
Implement INPUT-PORT/EOF?.
Chris Hanson [Wed, 12 Sep 2007 23:32:53 +0000 (23:32 +0000)]
Return #T from CHAR-READY? when at EOF.
Taylor R. Campbell [Mon, 10 Sep 2007 19:19:04 +0000 (19:19 +0000)]
Clarify multipart handling, and calculate lengths more carefully:
MESSAGE-LENGTH is supposed to yield the length of the whole message,
header included, not just the length of its content.
Taylor R. Campbell [Mon, 10 Sep 2007 17:19:32 +0000 (17:19 +0000)]
Fix typo in DEFINE-MIME-MEDIA-PARSER for the case of replacing the
parser for a specific type/subtype pair: set the cdr of SUB-LEVEL, not
the cdr of TOP-LEVEL.
Taylor R. Campbell [Mon, 10 Sep 2007 17:18:24 +0000 (17:18 +0000)]
Simplify calculation of octet and line counts.
Taylor R. Campbell [Mon, 10 Sep 2007 16:27:31 +0000 (16:27 +0000)]
Update SAVE-RESOURCE method on file folders to reflect six-year-old
change of status symbol from FOLDER-MODIFIED to CACHE-MODIFIED.
Taylor R. Campbell [Mon, 10 Sep 2007 16:21:59 +0000 (16:21 +0000)]
Fix bug whereby MIME parser for multipart messages would omit text
from parts with no headers starting from the beginning until the first
blank line. Do this by changing MIME:PARSE-PARTS to handle the case
of properly headerless messages, which begin with an empty line.
Taylor R. Campbell [Sun, 9 Sep 2007 18:48:46 +0000 (18:48 +0000)]
In READ-CHAR-INTERNAL and READ-STRING-INTERNAL, write the result of
READ-STRING to the IMAP transcript port only if it is not an EOF
object.
Taylor R. Campbell [Sun, 9 Sep 2007 16:51:52 +0000 (16:51 +0000)]
Export Edwin variable MAIL-RELAY-HOST from (EDWIN SENDMAIL) package so
that it can actually be set in init files.
Taylor R. Campbell [Sun, 9 Sep 2007 16:36:50 +0000 (16:36 +0000)]
New Edwin variable MAIL-RELAY-SERVICE, to specify the service on which
to connect to the mail relay host.
Chris Hanson [Sun, 9 Sep 2007 03:09:38 +0000 (03:09 +0000)]
Change error message generated when an unmatched close parenthesis or
bracket is encountered.
Taylor R. Campbell [Tue, 4 Sep 2007 03:35:20 +0000 (03:35 +0000)]
Revive SPARC Solaris support:
- Do canonical host checking earlier in `microcode/configure.ac', so
that OS-dependent customization can insert options to `LDFLAGS' for
the configuration tests. Add `-lsocket -lnsl' to `LDFLAGS' in
Solaris; this is necessary to get at sockets, `gethostbyname', &c.
- Introduce a temporary variable `GNU_LD' in `microcode/configure.ac',
set among the OS-dependent customization, which determines whether or
not the GNU-specific `-export-dynamic' option should be passed to the
C linker. Solaris's `ld' will see that option as `-e' with an
argument of `xport-dynamic', and fail; it is safe to omit the option
altogether, however, because the default (`-z record') is the
behaviour we want.
- Use `-f' and `-d' instead of `-e' in `test' in shell scripts. `test'
in Solaris's `sh' does not recognize `-e'.
- Use a horrid, horrid, hack to imitate the non-standard `-ef' in
`test'. If there is a better (preferably standard, but widely
supported is good enough) way to do this than grovelling through the
output of `ls -l', please tell me!
- Fix the emulation of <stdbool.h> in "confshared.h". Solaris needs
this because if `-std=c99' is not passed to GCC, there is no
<stdbool.h>, but if `-std=c99' is passed to GCC, <ucontext.h>
elsewhere makes GCC choke.
- Use "config.h" in `unstackify.c', not <stdbool.h>.
- Use the `__sparc' cpp macro throughout the microcode to test for the
SPARC, not `sparc'.
- Update "uxtrap.h" to include support for SPARC Solaris.
Taylor R. Campbell [Fri, 24 Aug 2007 13:19:24 +0000 (13:19 +0000)]
Implement preliminary support for Dragonfly BSD, thanks to Francis Gudin.
Chris Hanson [Wed, 22 Aug 2007 17:26:38 +0000 (17:26 +0000)]
Don't call UNIX/CURRENT-UID on non-unix systems.
Chris Hanson [Fri, 17 Aug 2007 03:42:49 +0000 (03:42 +0000)]
Eliminate spurious newlines and indentation from
WRITE-RDF/TURTLE-TRIPLE.
Chris Hanson [Fri, 17 Aug 2007 03:41:48 +0000 (03:41 +0000)]
When merging prefix registries, ignore ":" prefixes.
Chris Hanson [Fri, 17 Aug 2007 02:34:29 +0000 (02:34 +0000)]
Implement BYTES-WRITTEN operation for REPL buffer ports.
Chris Hanson [Thu, 16 Aug 2007 14:42:08 +0000 (14:42 +0000)]
Implement WRITE-RDF/TURTLE-TRIPLE.
Chris Hanson [Tue, 14 Aug 2007 02:57:34 +0000 (02:57 +0000)]
Don't inline the first part of a pgroup unless the subject is inline
(which it might not be if it's a graph). Do inline if there's only
one pgroup and the object is linear. Suppress final dot in subgraph,
and don't add extra blank lines between triple groups.
Chris Hanson [Tue, 14 Aug 2007 02:18:54 +0000 (02:18 +0000)]
When parsing, record null prefix in prefix registry. Fix several
problems in Turtle output, caused by introduction of subgraphs.
Chris Hanson [Tue, 14 Aug 2007 01:05:02 +0000 (01:05 +0000)]
In sub-graph notation, final dot is optional.
Chris Hanson [Mon, 13 Aug 2007 17:17:47 +0000 (17:17 +0000)]
Add predicates and guarantees to validate components of a triple.
Chris Hanson [Sun, 12 Aug 2007 03:30:42 +0000 (03:30 +0000)]
Do _not_ do SAVE_CONT after returning from compiled code. Assume that
the compiled-code interface has left the stack in the correct state.
Chris Hanson [Fri, 10 Aug 2007 19:26:03 +0000 (19:26 +0000)]
Add EVENT:NEW-RDF-GRAPH.
Chris Hanson [Fri, 10 Aug 2007 19:08:44 +0000 (19:08 +0000)]
Allow URIs to be given to STRING and UTF8-STRING.
Chris Hanson [Fri, 10 Aug 2007 19:07:14 +0000 (19:07 +0000)]
Implement URI-PREFIX.
Chris Hanson [Fri, 10 Aug 2007 19:01:44 +0000 (19:01 +0000)]
Fix thinko in GUARANTEE-8-BIT-CHAR.
Chris Hanson [Fri, 10 Aug 2007 18:09:39 +0000 (18:09 +0000)]
Fix typo.
Chris Hanson [Fri, 10 Aug 2007 18:09:18 +0000 (18:09 +0000)]
Oops... remove old binding of SYMBOL-APPEND.
Chris Hanson [Fri, 10 Aug 2007 18:08:38 +0000 (18:08 +0000)]
Change SYMBOL to use UTF8-STRING. Change SYMBOL-APPEND to be an alias
for SYMBOL.
Chris Hanson [Fri, 10 Aug 2007 18:06:20 +0000 (18:06 +0000)]
Extend STRING to accept a large class of objects, each of which it
converts to a string. Implement UTF8-STRING to do the same thing for
the UTF-8 encoding.
Chris Hanson [Fri, 10 Aug 2007 17:57:27 +0000 (17:57 +0000)]
Implement 8-BIT-CHAR?. Move GUARANTEE-8-BIT-CHAR to "char.scm".
Taylor R. Campbell [Sun, 5 Aug 2007 23:57:30 +0000 (23:57 +0000)]
Handle an empty selector in WRITE-MIME-MESSAGE-BODY-PART on IMAP
messages by interpreting it as a selector of (TEXT). This lets IMAIL
save MIME entities that the whole message comprises, such as S/MIME
application/pkcs7-mime messages.
Taylor R. Campbell [Sun, 5 Aug 2007 08:26:00 +0000 (08:26 +0000)]
Clarify the method of WRITE-MIME-MESSAGE-BODY-PART specialized on
<MESSAGE> instances, and fix two bugs in it:
1. Message part selectors may be empty lists, in which case the whole
message body is meant; this may arise, for instance, when a MIME
message is sent with a wholly unrecognize Content-Type (like
application/pkcs7-mime), and the user tries to save the MIME entity
that represents the whole message to a file.
2. WRITE-HEADER-FIELDS takes a list of header field strings, not a
message. How this never arose, I don't know.
Taylor R. Campbell [Sun, 5 Aug 2007 08:08:40 +0000 (08:08 +0000)]
Escape the backslash within `#\=' in the error message `Misplaced #\=
in BASE64 input.' Perhaps the message should use quote marks, rather
than Scheme's #\ notation.
Chris Hanson [Thu, 2 Aug 2007 17:20:21 +0000 (17:20 +0000)]
Fix various problems with output of subgraphs. Eliminate whitespace
preceding trailing ".".
Chris Hanson [Thu, 2 Aug 2007 16:54:42 +0000 (16:54 +0000)]
Fix some thinkos in graph parsing.
Chris Hanson [Thu, 2 Aug 2007 04:44:19 +0000 (04:44 +0000)]
Add support for subject/object graphs using N3's {} notation.
Chris Hanson [Thu, 2 Aug 2007 04:40:41 +0000 (04:40 +0000)]
Implement RDF graph type. Hash cons all structures, including triples
and literals. Add event distributor EVENT:NEW-RDF-TRIPLE that is
called whenever a new triple is allocated; this is a hook for
indexing.
Chris Hanson [Thu, 2 Aug 2007 04:37:58 +0000 (04:37 +0000)]
Update for new name READ-RDF/TURTLE-FILE.
Chris Hanson [Thu, 2 Aug 2007 04:37:36 +0000 (04:37 +0000)]
Fix bug: hex-encoded string escapes were missing leading u/U.
Chris Hanson [Wed, 1 Aug 2007 00:15:44 +0000 (00:15 +0000)]
Eliminate obsolete RDF index.
Chris Hanson [Wed, 1 Aug 2007 00:13:37 +0000 (00:13 +0000)]
Simplify bnode-registry mechanism to use a single procedure.
Chris Hanson [Sun, 29 Jul 2007 16:20:00 +0000 (16:20 +0000)]
Fix type-coercion bug in FIXNUM-LSH. Eliminate abstraction-breaking
uses of UNSIGNED_FIXNUM_TO_LONG and LONG_TO_FIXNUM in logical
operations. Tweak for style.
Chris Hanson [Mon, 23 Jul 2007 04:52:48 +0000 (04:52 +0000)]
Fix WITH-LOADER-BASE-URI so that it correctly recognizes system
library URIs and generates relative references to them.
Chris Hanson [Mon, 23 Jul 2007 04:12:45 +0000 (04:12 +0000)]
Require all names to conform to XML namespace specification; this is a
consequence of conforming to the specification.
Chris Hanson [Mon, 23 Jul 2007 02:46:10 +0000 (02:46 +0000)]
Change XML name type to represent namespace URI as a string, and to
compare namespace URIs using string comparison.
Chris Hanson [Mon, 23 Jul 2007 01:43:41 +0000 (01:43 +0000)]
Allow relative URIs as namespace names.
Chris Hanson [Mon, 23 Jul 2007 01:39:48 +0000 (01:39 +0000)]
Allow representation of characters in class "Cs".