Commit Graph

135 Commits

Author SHA1 Message Date
Andy Keep
c2b7aa8dcb Merge pull request #139 from gwatt/format-twelfth
Write "twelfth" instead of "twelveth" in format
original commit: 76bbdec142cedd2a39df4aff81815a039def7658
2017-01-19 20:45:27 -05:00
Graham Watt
08235195db Merge branch 'master' into format-twelfth
Conflicts:
	LOG

original commit: 9c5409184402cb6503550bfc2b2bdb1d596f74ca
2017-01-19 15:18:23 -05:00
Bob Burger
385738cd8a updated LOG
original commit: 3fe74ecbefb0cb323804322e0cdad3dcd8cc22ee
2017-01-16 11:48:45 -05:00
Bob Burger
c80be2a880 added Windows installer using the WiX Toolset
original commit: 50c2b4ec1d83dd42722a32717e5940ce4da4009e
2017-01-16 11:45:11 -05:00
Graham Watt
fd2267959e Update LOG
original commit: dd30f176e39ae53cce89fa2de1711de554c84254
2017-01-10 11:24:13 -05:00
Graham Watt
008b2cf9d4 Fix tests for format to be "twelfth", not "twelveth"
original commit: 5270eb05c1415c6503115b2efd82654273e787b8
2017-01-10 11:20:15 -05:00
Graham Watt
bcb40c394b Write "twelfth" instead of "twelveth" in format
original commit: 19f41527b0ee4c70415999d2cb8b8a2b845f0066
2016-12-22 16:39:00 -05:00
Kent Dybvig
659a557a01 repaired descriptions of get-string-some! and get-bytevector-some!
original commit: e09139adddf9e25a5944215efb28677e60423970
2016-12-22 12:12:53 -05:00
Bob Burger
87f2f4106f fixed argument names in open-fd-output-port and open-fd-input/output-port
original commit: 66589024d5ff45200020015ac59f04242d45a362
2016-12-09 08:52:20 -05:00
Andy Keep
e76457ff5b Merge pull request #112 from cjfrisz/master
Fix profile counters for non-s-expression source
original commit: 526050b4b35a978e36abb10219215e1ab895223d
2016-11-28 21:44:56 -05:00
Chris Frisz
477698d4a8 Fix profile counters for non-s-expression source
Check both the beginning file pointer (bfp) and end file pointer (efp)
of the source location associated with a profile counter when updating
its count.

Assuming that each expression has a unique bfp with respect to profiling
seems to give accurate execution counts for s-expression-based source
locations as in Scheme, but causes problems when targeting other kinds
of syntax. For instance, a C-style function call, referencing the called
function by name, such as "fn(arg)", can logically have profile counters
associated with 1) the function name reference ("fn") and 2) the entire
function call expression ("fn(arg)"), both of which begin at the same
source location. Only the bfp is checked when updating profile counters,
so the two source locations are conflated, and only one counter is
incremented, which gives inaccurate execution counts for both locations;
approximately twice as many for one, and zero for the other.

original commit: d364b05c3c9cd2b299fc20a6f5ec255ab7bd6718
2016-11-02 15:14:34 -04:00
Bob Burger
301f5c8bf6 Merge pull request #106 from cjfrisz/master
Correcting language stats
original commit: e0ddc92a9ef4db2045391a5952f78594698f9a60
2016-10-12 13:48:07 -04:00
Chris Frisz
0a375d7bb2 Merge branch 'add-gitattributes'
original commit: 671eb824354e056f7fb16c3a01c6a31889b8457f
2016-10-12 11:50:32 -04:00
Chris Frisz
01b807b201 Adding .gitattributes files to correct language stats
original commit: b2b8f839cd58b3d6dea9cc4d00112c9c53554523
2016-10-12 11:47:53 -04:00
Bob Burger
df45aba923 added needed #ifdef WIN32. Thanks, alflanagan!
original commit: 7728f94291d10d8b86b1ac368c43a53ca3e7d5ae
2016-09-22 14:46:44 -04:00
Bob Burger
30c6552ec2 Use high-precision clock time on Windows 8 and up.
original commit: 15982a28189454d5b7b3b065db5aac9816781bde
2016-09-22 13:36:10 -04:00
Andy Keep
e65bb0595c Merge pull request #105 from jltaylor-us/sockets-example
updated the sockets example to work with the current version of Chez.
original commit: 8f7bd84c526e84e16b0980ad94c8ff114288c0d1
2016-09-15 00:05:03 -04:00
Jamie Taylor
7df230607b updated the sockets example to work with the current version of Chez.
Change the foreign procedure definitions to use the more portable int
  rather than integer-32.  Switch to a custom port
  [make-custom-binary-input/output-port] rather than a generic port
  [make-input/output-port], which resulted in deleting quite a bit of
  code.  Fix various compiler warnings in the C code, and along the way,
  fix a signedness bug in c_write that could have resulted in not writing
  the full buffer (but reporting that it did) in the case of errors from
  write.
    examples/csocket.c, examples/socket.ss

original commit: 9dfa900b251ba480ea13b1796a58d7398146d0b9
2016-09-12 14:29:02 -04:00
Bob Burger
a8645cb2a3 fix type declaration in s_ee_write_char for WIN32
original commit: 2f044f7088ed30e1be42adcf8a4c3e13f3fe06ec
2016-08-26 16:55:06 -04:00
Bob Burger
8679155d53 fixed typos in csug/io.stex
original commit: e38c5b2c5b01975c95f6b7cc05792e6074f86740
2016-08-23 12:41:46 -04:00
dybvig
c680147c5b - added descriptions of print-extended-identifiers to the user's guide
and release notes.  updated the release notes to account for a couple
  of other log entries.
    release_notes.stex,
    intro.stex, io.stex

original commit: 7d1bbdaaccc6640e1529fdbd8b40a8ff7012bee4
2016-08-22 23:34:32 -04:00
dybvig
0bd87e4c4d - added tests for the case and exclusive-cond syntax-error calls
4.ms, root-experr-compile-0-f-f-f
- added print-extended-identifier parameter.  when #t, symbols like
  1+ and +++ print without escapes.
    priminfo.ss, print.ss,
    6.ms

original commit: 603019ea82afda1926462214576ef92df15e43c8
2016-08-22 21:41:53 -04:00
R. Kent Dybvig
3c1f43380b Merge pull request #99 from gavwhela/syntax-error-call-fix
case and exclusive-cond syntax-error calls
original commit: 2004f91246ffe417dbdf9d744716f7b790fe40be
2016-08-22 12:55:04 -04:00
Gavin Whelan
339e25d47e - fixed a bug in case and exclusive-cond syntax-error calls causing an
exception in syntax-error instead of the intended error message.
    s/syntax.ss

original commit: 17a5c5d27b02b7c4a1edc5ee36a6aa43de62c4cb
2016-08-21 23:38:57 -04:00
dybvig
7bc1af89c8 - instead of default-exception handler, new-cafe establishes a handler
that calls the current value of base-exception-handler so the handler
  can be overridden, as we do in our own make files.
    cafe.ss,
    7.ms

original commit: 99b763e30d22b205106ef9a84ea2e0a928fd0b30
2016-08-21 10:54:26 -04:00
dybvig
ca1560f4d0 - fixed a side-effect preservation bug with non-trivial test-context
not-like patterns.
    cp0.ss,
    cp0.ms, 4.ms

original commit: 5626f4433d886c43d40b4ec4fedc8b34fa6d0bb2
2016-08-14 10:19:22 -04:00
dybvig
35eaa9feff - fixed a bug in cpvalid resulting in it leaving behind a cpvalid-defer
form for later passes to choke on.  also fixed cp0 to print the correct
  name for cpvalid when it does this.
    cpvalid.ss, cp0.ss,
    misc.ms
- updated the prototype for s_ee_write_char to match the definition
    expeditor.c
- updated LOG and release_notes
- rebuilt boot files due to s-directory changes

original commit: 50aa8b34774a9e65e96481ae329a3f329fad7aca
2016-08-07 23:36:40 -04:00
Andy Keep
7389a3ba16 - reworked the S_create_thread_object to print an error and exit when
allocating the thread context fails from Sactivate_thread.  before
  this change, the error was raised on the main thread, which resulted
  in strange behavior at best.  also added who argument to
  S_create_thread_object to allow it to report either Sactivate_thread
  or fork-thread led to the error.
    externs.h, schsig.c, scheme.c, thread.c

original commit: 89691cee27ee7d5e9bffae530b6346e96f8cc7ad
2016-08-05 00:04:00 -04:00
Andy Keep
66d7172fa2 rebuilt boot files to go with updated expression editor code.
{,t}{i3,a6}{le,nt,osx}/{petite,scheme}.boot

original commit: 639a925fcfa54600d4b366c176327d3d21b9fa90
2016-07-31 22:43:48 -04:00
Andy Keep
88e29168b8 Merge branch 'master' of github.com:cisco/chezscheme
original commit: feea4550cc6818b529ceb808c6a31a244a6a227b
2016-07-31 22:10:26 -04:00
Andy Keep
96a3e21c46 - moved s_ee_write_char function within the WIN32 check to allow the unicode
change to compile on windows.  unicode is not yet supported in the windows
  version of the repl.
    c/expeditor.c

original commit: 4d2f900b2c43a8be384444d965177f1410c2ab82
2016-07-31 22:05:50 -04:00
dybvig
45b4f56bb4 Merge branch 'michaellenaghan-master'
original commit: cfe123081d4ebfa14f07ed3212e9cdc0763c3bf0
2016-07-30 14:40:38 -04:00
dybvig
df4b544de0 updated boot files after changes to pdhtml.ss
original commit: a25fa0aa990ec93f4f2f8052e300a127d839776b
2016-07-30 14:40:01 -04:00
dybvig
fde2de6249 Merge branch 'master' of git://github.com/michaellenaghan/ChezScheme into michaellenaghan-master
original commit: cdb20639749b7a38f85629a1db46b29624a588ad
2016-07-30 14:36:14 -04:00
Michael Lenaghan
df46cb5653 Add a LOG entry.
original commit: 8f17211bb00d48ee321aa0b4de450e598723a0a9
2016-07-29 12:36:59 -04:00
Jason Felice
14aadeab83 - add unicode support to the expression editor. entry and display now work
except that combining characters are not treated correctly for
  line-wrapping.  this addresses github issue #32 and part of issue #81.
    c/expeditor.c, s/expeditor.ss

original commit: 87d4811781d7e9183f7710aa6a809b850a38454f
2016-07-20 21:54:50 -04:00
Andy Keep
f16869bb35 - fixed three instances of unchecked mallocs reported by laqrix in
github issue #77.
    io.c, schlib.c, thread.c

original commit: fe172bfdfbf2f606db611013e7689d6a2b117d5e
2016-07-17 13:47:40 -04:00
Bob Burger
6f820db2d8 s/Mf-base now uses ../bin/$m/scheme instead of symbolic link ../bin/scheme
original commit: a6643352fb9d675d4321acda0c4a540081e65ea2
2016-06-28 14:32:08 -04:00
Bob Burger
a55bd07b51 latest nanopass
original commit: 290e1744bfa424064d463c9c65b625ef070aac4b
2016-06-27 09:45:20 -04:00
Bob Burger
0d0e876fb7 fixed a couple typos in comments
original commit: 9e2347eeb2bd57b35f96f0f1938ef84d624ed6a4
2016-06-23 16:43:39 -04:00
Bob Burger
51db0ddbc1 scheme_mutex_t now uses volatile keyword for owner and count fields
because these fields can be accessed from multiple threads concurrently.
Updated $yield and $thread-check in mats/thread.ms to be more tolerant of timing variability.

original commit: 0a6a1e14e7ecb9e39fa7a10a8584ed2fec24cbf4
2016-06-22 15:33:21 -04:00
Bob Burger
d14d167275 fixed typo in amd64 path
original commit: 11ac1ba5a8fc3f16b997c498d223328f73b31152
2016-06-20 10:04:25 -04:00
dybvig
b8b7086458 Merge branch 'master' of github.com:cisco/chezscheme
original commit: 5cda30f136e87cb7c6e6fe9e9bf000ec3fe8f96d
2016-06-17 22:26:27 -04:00
dybvig
112c5b4d5c - fixed typo: VC/bin/vcvars64.bat => VC/amd64/vcvars64.bat
c/Mf-a6nt, c/Mf-ta6nt

original commit: f2a69588a37e9a10fafae544c94903613f63986f
2016-06-17 22:26:10 -04:00
Bob Burger
9e92d0ce21 add note about TZ environment variable in Cygwin, fix typos in release notes
original commit: 20cad4ed4091b4b4d55f1857894cf56d35e1e59f
2016-06-17 14:33:28 -04:00
dybvig
f4b03df12e Merge branch 'master' of github.com:cisco/chezscheme
original commit: a70016d9941df3e62c27dfababda92b0d91dac10
2016-06-16 23:11:14 -04:00
dybvig
b4d452cc71 - eliminated a couple of thread-safety issues and limitations on the
sizes of pathnames produced by expansion of tilde (home-directory)
  prefixes by replacing S_pathname, S_pathname_impl, and S_homedir
  with S_malloc_pathname, which always mallocs space for the result.
  one thread-safety issue involved the use of static strings for expanded
  pathnames and affected various file-system operations.  the other
  affected the file open routines and involved use of the incoming
  pathname while deactivated.  the incoming pathname is sometimes if not
  always a pointer into a Scheme bytevector, which can be overwritten if a
  collection occurs while the thread is deactivated.  the size limitation
  corresponded to the use of the static strings, which were limited to
  PATH_MAX bytes.  (PATH_MAX typically isn't actually the maximum path
  length in contemporary operating systems.)  eliminated similar issues
  for wide pathnames under Windows by adding S_malloc_wide_pathname.
  consumers of the old routines have been modified to use the new
  routines and to free the result strings.  the various file operations
  now consistently treat a pathname with an unresolvable home directory
  as a pathname that happens to start with a tilde.  eliminated unused
  foreign-symbol binding of "(cs)pathname" to S_pathname.
    io.c, externs.h, new_io.c, prim5.c, scheme.c, prim.c
- various places where a call to close or gzclose was retried when
  the close operation was interrupted no longer do so, since this can
  cause problems when another thread has reallocated the same file
  descriptor.
    new_io.c
- now using vcvarsall type x86_amd64 rather than amd64 when the
  former appears to supported and the latter does not, as is the
  case with VS Express 2015.
    c/Mf-a6nt, c/Mf-ta6nt
- commented out one of the thread mats that consistently causes
  indefinite delays under Windows and OpenBSD due to starvation.
    thread.ms
- increased wait time for a couple of subprocess responses
    6.ms
- added call to collector to close files opened during iconv mats
  specifically for when mats are run under Windows with no iconv dll.
    io.ms

original commit: ad44924307c576eb2fc92e7958afe8b615a7f48b
2016-06-16 23:04:32 -04:00
Bob Burger
7e9d64fc29 fixed typos in release notes for new time-object manipulation procedures
original commit: 29946dc8340a921e576b64971eb1c20f282ce627
2016-06-16 15:18:29 -04:00
dybvig
8d28c6afb9 Merge branch 'yjqww6-master'
original commit: 461bd944847bc9a1ff54a804fec450cd86969990
2016-06-14 23:49:21 -04:00
dybvig
83af38b195 Merge branch 'master' of git://github.com/yjqww6/ChezScheme into yjqww6-master
original commit: afa27dd66ae2e45dede6f6900fc2193f48da9086
2016-06-14 23:48:18 -04:00