Matthew Flatt
a6cc19648f
cs: allow Racket framework to find itself not in "CS"
...
The installer-signing process can copy the framework to an application
directory that does not have "CS" in its name.
2018-11-15 06:35:03 -07:00
Matthew Flatt
a9b02d5956
schemify: fix some function names when saving "bytecode"
2018-11-15 05:29:36 -07:00
Matthew Flatt
3e480f1c93
io: fix current-directory
and related parameters
...
For consistency with traditional Racket, the guards need to be
implemented through derived parameters instead of chaperones.
2018-11-15 05:29:36 -07:00
Matthew Flatt
caf28648e3
cs: fix schemify of non-rator call-with-values
2018-11-15 05:29:36 -07:00
Matthew Flatt
4068b9097d
io: fix some test failures
2018-11-15 05:29:36 -07:00
Matthew Flatt
1e726581ef
io: TCP port does not count as a file-stream port
2018-11-15 05:29:36 -07:00
Ben Greenman
6abadc472e
doc: new examples for parametric->/c
2018-11-14 23:32:56 -05:00
Matthew Flatt
bf7eee0f65
thread: fix atomic-timeout-callback implementation
...
Closes racket/drracket#238
2018-11-14 16:59:16 -07:00
Sam Tobin-Hochstadt
cf34c22380
fasl: find shared values in hash tables. ( #2371 )
...
Also, add test to check sharing of uninterned symbols.
2018-11-14 18:45:54 -05:00
Matthew Flatt
c51616ecfd
cs: fix typo in Windows build script
2018-11-14 15:47:57 -07:00
Matthew Flatt
e745c047b0
doc: small adjustments to "eval-model.scrbl"
2018-11-14 12:38:14 -07:00
Paul C. Anagnostopoulos
19d096dde7
doc: improvements to "eval-model.scrbl"
...
Closes #2350
2018-11-14 10:45:49 -07:00
Matthew Flatt
60a6dc1796
setup: adjust command-name hack for case-insensitive Windows
2018-11-12 14:58:30 -08:00
Matthew Flatt
0b7072eed3
cs: communicate DLL directory to rktio
...
rktio needs the DLL directory path to load iconv.
2018-11-12 15:50:14 -07:00
Paulo Matos
28a28e4244
Use constant defined in header
2018-11-12 15:34:44 -07:00
Matthew Flatt
ccbef59e96
io: print: handle paths that don't convert cleanly to a string
2018-11-12 14:33:09 -08:00
Matthew Flatt
7abfdab35e
io: repair directory-list
for Windows
2018-11-12 14:25:44 -08:00
Matthew Flatt
9e4ebd9196
rktio Windows: fix truncate-file to not move file position
...
A call intended to restore the position was in place, but it
was wrong.
2018-11-12 09:37:02 -08:00
Matthew Flatt
8e4cecf215
io: flush before performing file truncate
...
For consistency with traditional Racket and currently matters on
Windows. The Windows implementation of file-truncate should probably
not move the file position as it does, though.
2018-11-12 09:59:35 -07:00
Matthew Flatt
0d4674a6e1
cs Windows: fix manifest on GRacket
2018-11-11 07:18:34 -08:00
Matthew Flatt
7ab69142f4
cs: fix exec-file and run-file setup
...
Allow embedded command-line argument to adjust exec-file, for
example.
2018-11-11 08:11:17 -07:00
Matthew Flatt
f10e6d43bf
rktio: avoid triggering console when starting a place
2018-11-11 05:57:03 -08:00
Matthew Flatt
67b721e5b7
Windows: move on-demand console to rktio
...
In GUI-application mode (e.g., running GRacket), a console is allocated
on demand if a program tries to use the original ports. Move that
on-demand handling into rktio, where it's simpler and works for
RacketCS.
2018-11-11 06:14:22 -07:00
Ben Greenman
982942b258
doc: change 'syntax->string' doc to match implementation ( #2351 )
...
The implementation requires a more specific input than the documentation
suggests.
2018-11-10 23:42:12 -05:00
Matthew Flatt
7fa31684e9
io: show a string as a port name
2018-11-10 15:18:09 -07:00
Matthew Flatt
d0fab4027b
net/win32-ssl: repairs for CS
2018-11-10 14:17:07 -08:00
Matthew Flatt
350ecf3d49
expander: don't duplicate properties in 'origin handling
...
One more take on the problem addressed by 990e1f1e30
. This adjustment
avoids copying properties from the original form to the identifier
that is preserved in 'origin.
2018-11-10 07:52:04 -07:00
Paulo Matos
fca1c430af
Fix typo
2018-11-10 08:43:12 -03:00
Matthew Flatt
90aac96cde
expander: fix taint problem with 'origin handling
...
Repairs a problem with commit 990e1f1e30
.
2018-11-09 20:50:10 -07:00
Matthew Flatt
990e1f1e30
expander: fix origin tracking for int-defn contexts
...
Closes #2346
2018-11-09 13:51:16 -07:00
Alexis King
bc34ba884b
Reinstate the stop list after #%module-begin performs partial expansion
2018-11-08 19:13:03 -06:00
Matthew Flatt
fd8c2b2c20
Guide on regexps: clarify that {m}? is the same as {m}
...
As noted by Jussi Salmela.
2018-11-08 17:54:47 -07:00
Jens Axel Søgaard
1b5fc19687
Improve wording
...
Improve wording: "dropped in" -> "omitted from"
2018-11-08 20:58:58 +01:00
Matthew Butterick
0c60bb40dc
Doc typo in match
2018-11-08 11:09:37 -08:00
Asumu Takikawa
a11b088ee7
file/sha1: fix doc typo ( #2357 )
2018-11-07 06:45:22 -05:00
Sorawee Porncharoenwase
5d3dc369ea
Fix typos (regexp -> pregexp)
2018-11-06 17:19:03 -06:00
Matthew Flatt
b7c2359026
compiler/cm: adapt as intended to old .dep files
...
Try again on 1293674ddb
.
2018-11-03 17:05:34 -04:00
Matthew Flatt
1293674ddb
compiler/cm: don't misue old .dep files
...
The `get-compiled-file-sha1` function assumed that a ".dep" file is
up-to-date when present. That may not be consistent with all uses,
including in `file-stamp-in-paths` as used by DrRacket for "populate
compiled", and an old file can go wrong with the recent ".dep" format
change. Make `get-compiled-file-sha1` at least check the version on
the ".dep" content before trying to use it.
Relevant to #2354
2018-11-02 20:28:08 -06:00
Alexis King
93def1f753
Fix stream contracts to work with impersonator contracts
2018-11-02 11:24:39 -05:00
Matthew Flatt
62a674fa80
io: exn:fail:network for TCP-port errors
2018-11-02 05:00:16 -07:00
Matthew Flatt
6a7f9773d1
cs: fix _stdbool
2018-11-01 16:49:10 -06:00
Kevin Robert Stravers
22cf2750a7
cmdline: three/four items -> three items
2018-11-01 14:48:20 -05:00
Leif Andersen
209a90d281
Make racket/private/serialize-struct
cross-phase ( #2270 )
...
This makes sense because a serializable struct should probably remain
serializable, even if it was inserted into a bit o' 3d syntax.
2018-10-30 15:41:08 -04:00
Leif Andersen
e5ea77f802
Note that _enum in Racket and enum in C use different backings. ( #2308 )
...
* Note that _enum in Racket and enum in C use different backings.
(It is worth noting that C does not specify the backing for enum, but
does say its range is that of an int.)
2018-10-30 15:39:10 -04:00
Matthew Flatt
c0fac954e1
windows: declare Windows 10 compatibility in manifest
2018-10-30 09:55:33 -07:00
Matthew Flatt
7e926d1d86
raco exe: fix alignment in PE resource writer
2018-10-30 09:55:33 -07:00
Matthew Flatt
b9c042329b
cs makefiles: fix a make
that should be $(MAKE)
...
Relevant to #2344
2018-10-29 20:42:03 -06:00
Matthew Flatt
0242a46396
cs: more portable approach to errno
...
Have the main Racket executable export a function to get errno, which
avoids portability problems trying to access it via the FFI.
Related to #2344
2018-10-29 20:39:01 -06:00
Matthew Flatt
063fa65872
cs: add (system-type 'machine)
...
Closes #2343
2018-10-29 20:10:13 -06:00
Matthew Flatt
842c6b5a3f
docs: remove incorrect sentence about continuation barrier
...
It might have been true in the past. More likely, it was intended to
be true in the past, not really true, and not a good idea. Commit
544b7a3d53
may be relevant.
2018-10-29 09:40:37 -06:00