Commit Graph

30939 Commits

Author SHA1 Message Date
Max New
e3fc04eda3 Move build-nt-property to separate file. 2013-10-13 19:10:55 -05:00
Max New
cdf24e994c Rename some redex files 2013-10-13 19:10:55 -05:00
Robby Findler
382240b6ce disable test case 2013-10-13 17:07:59 -05:00
Robby Findler
f07a836ced avoid invalidating the line numbers when doing things like drawing arrows in check syntax 2013-10-13 16:14:09 -05:00
Robby Findler
f6267ad661 make the drracket/tool-lib library
exports and drracket:tool^ be in sync

This doesn't quite do the whole job
because something seems to get names
confused when structs and signatures
team up. This is a small example that, I
believe, demonstrates the problem:

(require racket/unit)

(struct p:s ())
(define p:struct:s struct:p:s)

(define-signature s1^
  ((struct s ())))

(define-signature s2^
  ((open (prefix p: s1^))))

(define-values/invoke-unit
  (unit (import s2^) (export))
  (import s2^)
  (export))
2013-10-13 16:14:09 -05:00
Matthew Flatt
8b99d87e95 fix some pkg tests 2013-10-13 09:17:57 -06:00
Robby Findler
ae57ce9377 adjust the way the header is saved in teaching language files
to match 5.3.6 and older versions

This is another problem introduced in 480afa4

closes PR 14089
2013-10-13 10:11:50 -05:00
Robby Findler
324e053ee3 rename the preference drracket uses to remember the
teachpacks that were last selected by the user

This change is related to PR 14089 because that PR
made me realize that a similar problem happens with
this pref file. There is a simple fix, tho: just keep
the preferences for 5.3.6 and earlier using a different
key than the preferences for versions released after 5.3.6
2013-10-13 08:32:35 -05:00
Robby Findler
88d61e096c Fix collapse-newline in the case that the insertion point
is at the first position of the text.

closes PR 14043

Also, Rackety.
2013-10-12 18:46:57 -05:00
Robby Findler
4c9a99935e add keybindings for the tab movement keybindings
also move test case into an existing file because the test case
is short and it saves a little bit of trouble to have one fewer file
2013-10-12 18:43:24 -05:00
Laurent Orseau
89db703afb Add reorder tabs facility in DrRacket 2013-10-12 15:18:21 -05:00
Matthew Flatt
2a79377c60 further tighten eq-hash code generation
Avoids including the bit thet indicates whether the object
is GCable in the eq hash code (in a configuration where
bits are available in the GC header for hashing).
2013-10-12 08:37:15 -06:00
Matthew Flatt
8b7b96215b equal hash code: avoid dropping useful bits
Closes PR 14059

Symbols in the PR were mapped to coliding hashes in
groups of 4 because the low 2 bits of the `eq?` hash
code were begin dropped to generate an `equal?` hash
code. Those two bits got lost due to a refectoring
a while back that moved the dropping of two useless
bits to a more centralized place, but the 2-bit shift
did not get removed from the `equal` hash code comparision.

The PR's example program will still generate groups of 2
when hashing around 10k symbols (which used to be groups of 8).
That's because there's a bit in the hash-code counter that
turns out to be forced to 1.
2013-10-12 08:37:15 -06:00
Jay McCarthy
8ff0193ebe Final S3 changes 2013-10-11 16:37:25 -06:00
Jay McCarthy
caf69b0c8a Removing old server code 2013-10-11 16:37:25 -06:00
Jay McCarthy
acedb0e02a New URLs for S3 hosted catalogs 2013-10-11 16:37:25 -06:00
Jay McCarthy
17315f5737 s3 sync 2013-10-11 16:37:25 -06:00
Jay McCarthy
975d06db7f dynamic server in place 2013-10-11 16:37:25 -06:00
Jay McCarthy
1fdc8e6c76 modify 2013-10-11 16:37:25 -06:00
Jay McCarthy
e5af132acf add/del version 2013-10-11 16:37:25 -06:00
Jay McCarthy
ee3f06c64c add/del author 2013-10-11 16:37:25 -06:00
Jay McCarthy
5b68b0a0ad edit buttons 2013-10-11 16:37:25 -06:00
Jay McCarthy
7e18a23296 fix mypkg_p 2013-10-11 16:37:25 -06:00
Jay McCarthy
11109c8372 upload button 2013-10-11 16:37:24 -06:00
Jay McCarthy
0094395c61 clean 2013-10-11 16:37:24 -06:00
Jay McCarthy
39e94b6e41 dynamic calls for curate 2013-10-11 16:37:24 -06:00
Jay McCarthy
d4b7d7b364 dynamic calls 2013-10-11 16:37:24 -06:00
Jay McCarthy
73b700b1d5 tag interface 2013-10-11 16:37:24 -06:00
Jay McCarthy
954f112cf2 curate interface 2013-10-11 16:37:24 -06:00
Jay McCarthy
7cd208912f initial dynamic server 2013-10-11 16:37:24 -06:00
Jay McCarthy
476ab123f2 add a tag 2013-10-11 16:37:24 -06:00
Jay McCarthy
a7e39f6dec version exceptions 2013-10-11 16:37:24 -06:00
Jay McCarthy
45b4378df2 Adding source url and dropping sorting by frequency 2013-10-11 16:37:24 -06:00
Jay McCarthy
d697a86255 info page template is ready 2013-10-11 16:37:24 -06:00
Jay McCarthy
776d3fd509 conflicts as tags 2013-10-11 16:37:24 -06:00
Jay McCarthy
25808291c9 attempting to deal with hash changes and giving up 2013-10-11 16:37:24 -06:00
Jay McCarthy
e616cb0f8a atom 2013-10-11 16:37:24 -06:00
Jay McCarthy
168d93e01a save settings in url 2013-10-11 16:37:24 -06:00
Jay McCarthy
621feae15b cleanup 2013-10-11 16:37:24 -06:00
Jay McCarthy
ecfc9dc968 Eval search on server, use hash, and only add once 2013-10-11 16:37:24 -06:00
Jay McCarthy
4cb98ac8df Initial pass at S3 version 2013-10-11 16:37:24 -06:00
Jay McCarthy
0371ade45e S3 doesn't give up HTTPS, so turn it off 2013-10-11 16:37:24 -06:00
Jay McCarthy
3d0acf4f71 Different email addr for nobody 2013-10-11 16:37:24 -06:00
Jay McCarthy
1e5ade627b Less output 2013-10-11 16:37:24 -06:00
Jay McCarthy
1d8be6c9f0 clean 2013-10-11 16:37:23 -06:00
Jay McCarthy
8090a2d23a Moving planet-compat to S3 2013-10-11 16:37:23 -06:00
Jay McCarthy
4ff41fdea2 Including test from PR14064 2013-10-11 16:37:23 -06:00
Vincent St-Amour
b282436a7a Fix pkg documentation to reflect implementation. 2013-10-11 18:21:38 -04:00
baoti
d9f0d52c8a Fix path-replace-suffix' and path-add-suffix' on path for some system 2013-10-11 16:09:30 -06:00
Matthew Flatt
7e42ee2003 fix custodian-related memory-management problem
The problem mainly affected `register-custodian-shutdown`
from `ffi/unsafe/custodian`, which is used by `math/bigfloat`
and `ffi/unsafe/com`.

When a value is registered with a custodian, the value is held
weakly, but the shutdown procedure is intended to be held
strongly. At the C API level, the data associated with a shutdown
function pointer is intended to be held strongly.

A custodian itself, however, is retained weakly by other custodians
in its family, so that custodians can be GCed and their elements
transferred to a parent custodian. Since the custodian itself may
be held only weakly, the callback & data in a custodian was effectively
held weakly --- which, in turn, can break assumptions in code such
as `ffi/unsafe/custodian` that expects strong references to prevent
finalizers from running.

Fix the problem by registering a reference to callback data as
data in a custodian's finalizer, which makes the data strongly
retained no matter how the custodian is retained.
2013-10-11 13:11:13 -06:00