Matthew Flatt
ea3cabfc45
remove more Racket-to-C compiler leftovers
2011-11-22 05:50:18 -07:00
Matthew Flatt
243332f429
move .ico support from raco exe' internals to
file/ico'
2011-11-16 14:45:32 -07:00
Matthew Flatt
3bffcae3c2
fix places & executable interaction
...
Added `module-predefined?' and changed `racket -k ...'
2011-11-15 18:42:21 -07:00
Matthew Flatt
b377cafdac
mark OS jmpbuf as GC-ignored
...
This change is intended to make the QNX port work, but it
should also future-proof Racket a little for other platforms.
2011-10-09 10:45:24 -06:00
Matthew Flatt
b6a9330bf1
more `raco exe' cycle repairs
2011-10-07 10:32:49 -06:00
Matthew Flatt
add50ab436
cocoa: undo hack of "-64" suffix on app names
...
Commit 60101618db
seems to address the real problem.
2011-10-07 08:05:25 -06:00
Matthew Flatt
7680adf486
fix compiler bug related to lifting and unbox flonums
...
As variables are dropped for lifted functions, the bitmap
for flonum closure variables was not shifted down by the
number of dropped variables.
Closes PR 12259
2011-10-05 19:25:59 -06:00
Matthew Flatt
902ea5f7a5
fix `raco exe' for ELF starter
2011-10-04 12:59:18 -06:00
Matthew Flatt
e640041dd6
fix raco exe' for cycles created via
define-runtime-module-path'
2011-10-03 08:59:30 -06:00
Kevin Tew
a7b0c33896
QNX porting
2011-09-30 17:03:50 -06:00
Matthew Flatt
0ab6637539
remove obsolete and unused Racket-to-C compiler
...
Removes `raco ctool -e/-c', `mzc -e/-c', `compile-extensions',
`compile-extensions-to-c', `compile-c-extensions', `compiler/cffi',
`compiler/comp-unit', `compiler:inner^', and most options in
`compiler/option'.
2011-09-20 15:26:39 -06:00
Matthew Flatt
0197902309
add var-ref->mod-decl-insp' and switch
cur-code-insp' uses
...
Macros and other tools that need syntax privilege used
`(current-code-inspector)' at the module top-level to try to
capture the right code inspector at load time. It's more
consistent to instead use the enclosing module's declaration-time
inspector, and `var-ref->mod-decl-insp' provides that. The
new function works only on references to anonymous variables,
which limits access to the inspector.
The real function name is longer, of course.
2011-09-20 13:50:36 -06:00
Kevin Tew
099e89a297
Fix pr 12205 pass --disable-inline and --vv options through to parallel make
2011-09-20 11:10:56 -06:00
Eli Barzilay
623c7493ed
Some selective #:when (not ...)' ->
#:unless ...'.
2011-09-16 10:48:18 -04:00
Matthew Flatt
28afc4490e
cocoa: distinguish CFBundleIdentifier for 64-bit vs. 32-bit apps
...
This is another attempt at fixing PR 12135
2011-09-10 10:53:43 -06:00
Matthew Flatt
446fb89af1
avoid clang warnings
...
The main change is to use C99 flexible array declarations
in structs, instead of declaring single-element arrays.
There are still a few -Wtautological-compare warnings
in 3m due to marco expansion.
2011-09-09 20:45:43 -06:00
Matthew Flatt
ca0d7b5ef4
add ++aux' flag to
raco exe'
2011-09-09 17:03:18 -06:00
Matthew Flatt
b1eab296f4
fix demod for `begin-for-syntax' changes
2011-09-08 19:19:14 -06:00
Matthew Flatt
d3c56c9f13
generalized `begin-for-syntax'
2011-09-08 14:06:00 -06:00
Robby Findler
bb71539233
remove extraneous path->string conversion
2011-09-05 08:30:48 -05:00
Matthew Flatt
c5588f87e3
fix mach-o updating
2011-09-01 07:14:05 -06:00
Robby Findler
a98fd7f60b
fixed a leak in the compile locking protocol implementation and added better logging
2011-08-31 19:05:08 -05:00
Robby Findler
61aaf584c5
adjust the threading protocol for compilings files to be kill safe
2011-08-30 07:59:33 -05:00
Matthew Flatt
ecc058de4a
change `raco exe' to disable collection lookup by default
2011-08-25 09:15:30 -06:00
Matthew Flatt
2dbaa45e1b
add `raco unpack'
...
Although the ".plt" format is going to be replaced, the format is
currently viable for distributing collections, and I have wanted
a raw `unpack' command for a while. It was useful today to fix
problems with `raco pack' and collection links.
2011-08-24 20:08:18 -06:00
Matthew Flatt
a7855e20a8
add `raco link'
...
includes a rewrite the "Module Basics" section of the Guide
2011-08-24 09:07:14 -06:00
Matthew Flatt
bdadc453e0
fix `compile-collection-zos'
2011-08-21 11:43:59 -06:00
Matthew Flatt
7eb2042bd9
fix compiler handling of top-/module-level constants
...
The JIT and bytecode compiler disagreed on the definition of
"constant". Now there are two levels: "constant" means constant across
all instantiations, and "fixed" means constant for a given instantation.
The JIT uses this distinction to generate direct-primitive calls
or not. (Without the distinction, a direct jump to `reverse' could
be wrong, because `racket/base' might get instantiated with the
JIT disabled or not.)
Also, fixed a bug in the JIT's `vector-set!' code in the case that
the target vector is a top-/module-level reference that is ready,
fixed, or constant.
2011-08-19 06:32:44 -06:00
Matthew Flatt
f46a0e2519
make compile-omit-paths' apply to
scribblings' sources
2011-08-13 07:43:56 -06:00
Robby Findler
e043297ef8
use the supplied security guard in one more place where compiler/cm needs write permission
2011-08-10 07:45:14 -05:00
Matthew Flatt
5352d670c4
generalize #%variable-reference' and add
variable-reference-constant?'
...
Use the new functions to make the expansion of keyword applications
to known procedure work with mutation.
2011-08-09 16:33:17 -06:00
Robby Findler
337dbf8540
try to use the given security guard when deleting files, too
2011-08-03 23:40:51 -07:00
Robby Findler
32becaf860
added a #:security-guard argument to:
...
managed-compile-zo
make-caching-managed-compile-zo
make-compilation-manager-load/use-compiled-handler
that gets used when compiled files, dep files, and compiled/ directories are created.
2011-08-02 16:28:10 -05:00
Robby Findler
a672704e5e
add support for thread-safe compilation to compiler/cm (and use it in drracket)
2011-07-30 09:01:46 -04:00
Matthew Flatt
42f41d868a
fix compiler/zo-parse for sequence splice
...
Merge to 5.1.2
2011-07-22 22:19:58 -04:00
Matthew Flatt
8504996862
fix `raco ctool -e' for syntax taints
...
Merge to 5.1.2
2011-07-20 14:09:38 -06:00
Matthew Flatt
ab0e78122c
revert unnecessary refactoring
...
--- intended to avoid creating a dependency that already exists
Merge 5.1.2
2011-07-16 21:02:41 -06:00
Matthew Flatt
7af5d490ad
fix cm to configure reader when reading .dep files
...
Merge to 5.1.2
2011-07-16 19:29:28 -06:00
Matthew Flatt
07a9cdd2a8
fix zo-parse of rename tables
2011-07-13 10:45:19 -06:00
Matthew Flatt
5e49e0adea
improve decompiler handling of syntax object
2011-07-08 06:22:40 -06:00
Matthew Flatt
5bc8b67eba
fix decompile of define-values-for-syntax
2011-07-07 07:25:48 -06:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Matthew Flatt
98740390fa
adapt demodularizer to `compiler/zo-struct' change
2011-07-01 22:46:20 -06:00
Ryan Culpepper
1b702a2ae3
docs reorganization
...
added tutorial, racket categories
relabeled some other categories
normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Robby Findler
69b5daa9e6
remove docs tests that no one was interested in
2011-07-01 11:38:09 +08:00
Matthew Flatt
69ad39d45c
fix `compiler/zo-parse' & co.
2011-06-30 08:24:41 -06:00
Matthew Flatt
1160d3df62
remove syntax certificates; add syntax taints
2011-06-29 19:15:48 -06:00
Eli Barzilay
40124a0619
A long overdue scan to eliminate files without terminating newlines.
...
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Eli Barzilay
ac26fe7554
A ton of @scheme*' ->
@racket*' and related updates.
...
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Eli Barzilay
debd1f9f1e
Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
...
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00