Commit Graph

10014 Commits

Author SHA1 Message Date
Noel Welsh
6c68825a49 Commit programmatic API to construct test suites and test cases, in response to popular demand.
The API is make-test-case and make-test-suite. Use should be obvious.

TODO:
 - Document
 - Port to Schematics/Planet release

svn: r14731
2009-05-06 08:53:08 +00:00
Eli Barzilay
5fccc68e53 Welcome to a new PLT day.
svn: r14730
2009-05-06 05:56:12 +00:00
Eli Barzilay
ebc179f059 last typo, hopefully
svn: r14729
2009-05-06 04:09:28 +00:00
Eli Barzilay
82d1267553 forgot the none binding
svn: r14728
2009-05-06 04:08:43 +00:00
Eli Barzilay
7d93d3b539 optimized preference lookup (one hash lookup in all cases except for the first.)
svn: r14727
2009-05-06 04:07:23 +00:00
Eli Barzilay
8ee902de48 old-preferences is gone (it was only there to convert old style preferences, and has been out for a long enough time)
svn: r14726
2009-05-06 03:42:49 +00:00
Matthew Flatt
f08649a007 further improve procedure? and procedure-arity-includes? optimization on procedure names bound in a module top-level
svn: r14725
2009-05-05 23:08:24 +00:00
Matthew Flatt
4623a1ac07 some improvement in eliminating procedure? and procedure-arity-includes? statically
svn: r14723
2009-05-05 19:22:55 +00:00
Eli Barzilay
f53cd57dc8 Welcome to a new PLT day.
svn: r14717
2009-05-05 05:22:45 +00:00
Eli Barzilay
17d64755a2 * Fixed some typos in the `preferences:low-level-put-preferences' doc
(used `put-preference' not the plural form).

* Added `preferences:low-level-get-preference' that is set by default
  to the `get-preference'.  (Together with the previous one it is
  possible to setup things so preferences are kept in a hash table
  instead of on disk.)

* The `preferences:get' function will try to read a (marshalled) value
  from the preferences if there is no value set, and the `marshalled'
  hash table is gone (it was used only for initial values of
  preferences).

  This means that the preference file is not consulted until the
  preference value is needed, which makes reading the file more lazy.
  More importantly, if some user application sets the
  `preferences:low-level-get-preference' hook, then the newly
  installed hook will be used to read the initial values.  This is
  important since just registering a preference (via
  `preferences:set-default') would already read the preference to the
  `marshalled' hash table -- and many such preferences are registered
  at various module top-levels, so this would happen before the user
  code had any chance of changing the low-level get function.

  The only visible effect of this change outside of this module is
  that preferences are read more lazily from the file.  For example,
  if you start DrScheme and then remove the preference file and then
  search, you will not see your saved search string because.  (Before
  this change, the saved search string would have been read on
  startup, so its value was read before you removed the file.)

* Delayed reading of the old-preferences until needed for similar
  reasons.

* Reformatted some of the documentation strings.

svn: r14716
2009-05-05 05:09:21 +00:00
Eli Barzilay
45e4fe70da hash-table-bound? -> hash-has-key?
svn: r14715
2009-05-04 21:35:15 +00:00
Eli Barzilay
4b28ee8d34 reformat
svn: r14714
2009-05-04 21:04:37 +00:00
Casey Klein
039d24fc17 `where' clauses now properly bind in metafunctions
svn: r14712
2009-05-04 13:59:42 +00:00
Matthew Flatt
83cd3964f4 fix file-descriptor leak in process[*]/ports (PR 10229)
svn: r14710
2009-05-04 12:22:01 +00:00
Eli Barzilay
8b4844cf5e some typos
svn: r14709
2009-05-04 09:34:07 +00:00
Eli Barzilay
bee5c5b90f Welcome to a new PLT day.
svn: r14708
2009-05-04 07:50:13 +00:00
Eli Barzilay
5cb9e66cd2 fixed a probable bug in invoking format-time
svn: r14707
2009-05-04 06:37:27 +00:00
Matthew Flatt
57ff3c2486 fix foldr/foldr argument checking (PR 10215)
svn: r14706
2009-05-04 02:20:06 +00:00
Matthew Flatt
57d518dc8c doc typo
svn: r14705
2009-05-04 02:19:27 +00:00
Eli Barzilay
e3d9f396c4 compose now gets 0 or more inputs
svn: r14704
2009-05-04 02:10:01 +00:00
Matthew Flatt
2b4a0692eb doc repairs (PR 10225)
svn: r14703
2009-05-04 01:38:54 +00:00
Matthew Flatt
16e483033c fix define after define* in package; doc repairs
svn: r14701
2009-05-03 23:49:22 +00:00
Eli Barzilay
db90b44b0d make const accept arbitrary keywords
svn: r14700
2009-05-03 22:08:57 +00:00
Eli Barzilay
23e2b997a0 doc for home
svn: r14699
2009-05-03 20:45:36 +00:00
Eli Barzilay
26667f2275 Patch from Jon Wilson: added a home function
svn: r14698
2009-05-03 20:43:26 +00:00
Eli Barzilay
a1d943146b added a nullary case to compose
svn: r14697
2009-05-03 20:41:37 +00:00
Matthew Flatt
a1b65fb055 doc corrections
svn: r14696
2009-05-03 19:33:10 +00:00
Matthew Flatt
c17c267f48 R6RS: disallow assignment to exported identifier
svn: r14695
2009-05-03 17:40:31 +00:00
Eli Barzilay
3ca6ac2175 added stupid make-list and stupid const
svn: r14693
2009-05-03 16:17:48 +00:00
Matthew Flatt
75527a8821 better tracking of lexical context for unwrapped syntax objects
svn: r14692
2009-05-03 15:45:53 +00:00
Eli Barzilay
c78c9f1e1b Welcome to a new PLT day.
svn: r14691
2009-05-03 07:50:16 +00:00
Robby Findler
7315ff502b fixed label ordering for reductions when extracted via reduction-relation->rule names
svn: r14690
2009-05-02 16:18:12 +00:00
Matthias Felleisen
5f2a62f37c svn: r14689 2009-05-02 15:25:15 +00:00
Robby Findler
ea1ace6022 added horizontal-left-align style
svn: r14687
2009-05-02 12:32:04 +00:00
Eli Barzilay
a7ad3ce74c Welcome to a new PLT day.
svn: r14686
2009-05-02 07:50:11 +00:00
Robby Findler
55a98bf037 fixed a bug with holes used in certain places in patterns
svn: r14684
2009-05-02 00:57:18 +00:00
Eli Barzilay
ff73a5395e removed lots of "the the"s
svn: r14679
2009-05-01 21:02:51 +00:00
Robby Findler
a3768d00eb none of the various render-* worked under linux, due to a platform-specific default in the way ps-setup works.
svn: r14678
2009-05-01 20:38:26 +00:00
Matthew Flatt
ae36abfc37 doc corrections
svn: r14677
2009-05-01 17:03:53 +00:00
Eli Barzilay
528d032a37 Welcome to a new PLT day.
svn: r14673
2009-05-01 07:50:20 +00:00
Matthew Flatt
2b8b10dd40 fix problem with package, define*, and macro-introduced identifiers
svn: r14671
2009-04-30 23:57:45 +00:00
Robby Findler
1cb53bdf2a improvements to the preferences dialog
svn: r14670
2009-04-30 23:15:10 +00:00
Robby Findler
60db480a8d David Van Horn's changes
svn: r14669
2009-04-30 16:03:15 +00:00
Mike Sperber
1408502378 Translate the messages from the test engine.
This requires some refactoring to move the relevant message generation
to test-display.scm.

svn: r14668
2009-04-30 12:32:02 +00:00
Eli Barzilay
e179ff78fb Welcome to a new PLT day.
svn: r14667
2009-04-30 08:31:17 +00:00
Eli Barzilay
055573076a remove unused require
svn: r14666
2009-04-30 07:42:43 +00:00
Matthew Flatt
d5b5c8fb97 refine note on immutable hash table performance
svn: r14664
2009-04-29 21:55:16 +00:00
Matthias Felleisen
f7d8270a6c strings instead of chars
svn: r14663
2009-04-29 21:16:34 +00:00
Robby Findler
6d08558ab7 fixed a bug in my earlier bugfix (also PR 10221)
svn: r14662
2009-04-29 21:08:01 +00:00
Matthew Flatt
224f9fa3a7 fix bug in tracking paren shapes; fix Scribble binding search code; add syntax/template library
svn: r14661
2009-04-29 20:31:07 +00:00
John Clements
1ce0c8c307 added index for plt-web-server
svn: r14658
2009-04-29 18:21:38 +00:00
John Clements
ce0a98dc61 added 2 indexed terms
svn: r14657
2009-04-29 18:20:37 +00:00
Robby Findler
de6c1a524d PR 10219
svn: r14654
2009-04-29 16:38:31 +00:00
Jay McCarthy
6c3b8a9f2e Delaying the initialization of localization until use
svn: r14650
2009-04-29 14:22:18 +00:00
Eli Barzilay
1157488b62 Welcome to a new PLT day.
svn: r14649
2009-04-29 07:50:21 +00:00
Eli Barzilay
fc7283c5a7 svn: r14648 2009-04-29 07:14:39 +00:00
Eli Barzilay
8785850a3c svn: r14647 2009-04-29 07:13:55 +00:00
Robby Findler
87c9aba9e0 added a little optimization to provide/contract
svn: r14646
2009-04-29 03:48:45 +00:00
Matthias Felleisen
6cdf2ed976 strings for Universe callbacks
svn: r14645
2009-04-29 03:09:06 +00:00
Matthias Felleisen
10e0e08143 strings for Universe callbacks
svn: r14644
2009-04-29 03:08:40 +00:00
Matthew Flatt
b42f1b5d8b zo-marshal patch from Jay
svn: r14642
2009-04-28 16:37:16 +00:00
Robby Findler
a42ba6075b added better linking for the 'lw' struct
svn: r14641
2009-04-28 15:22:32 +00:00
Matthew Flatt
39d405fe6e zo-marshal supports module forms
svn: r14637
2009-04-28 13:13:22 +00:00
Eli Barzilay
15701f0868 Welcome to a new PLT day.
svn: r14636
2009-04-28 07:50:18 +00:00
Matthias Felleisen
450bafcde4 improved error messge for register
svn: r14628
2009-04-27 19:09:37 +00:00
Robby Findler
955f99fe41 svn: r14624 2009-04-27 14:32:30 +00:00
Matthew Flatt
30a3e8ced8 fix undo of delete implied by insert over a selection
svn: r14623
2009-04-27 13:02:49 +00:00
Eli Barzilay
3bc5491945 Welcome to a new PLT day.
svn: r14622
2009-04-27 07:50:11 +00:00
Matthew Flatt
308afeabf4 fix combo-field popdown arrow
svn: r14617
2009-04-26 22:52:58 +00:00
Eli Barzilay
610b5c7388 typo
svn: r14616
2009-04-26 20:04:42 +00:00
Sam Tobin-Hochstadt
119fd5bc95 Clarify docs.
svn: r14615
2009-04-26 17:55:02 +00:00
Matthew Flatt
4141389b84 fix some editor lock tracking
svn: r14614
2009-04-26 15:24:50 +00:00
Eli Barzilay
3dcd7182ab Welcome to a new PLT day.
svn: r14612
2009-04-26 07:50:35 +00:00
Matthew Flatt
511c2b13b0 fix syntax-error message for misuse of identifier bound as code-typesetting variable or element transformer
svn: r14611
2009-04-25 16:15:16 +00:00
Matthew Flatt
f6c389d0ec fix Scribble Latex rendering of prefixed tags; add #:tag-prefixes argument to secref and tech
svn: r14610
2009-04-25 15:19:58 +00:00
Matthew Flatt
22864b594d fix Scribble rendering of links when tag-prefixed sub-sections appear in the same output anchor scope
svn: r14608
2009-04-25 13:46:54 +00:00
Eli Barzilay
6ce301f3c8 svn: r14607 2009-04-25 13:21:50 +00:00
Eli Barzilay
97cb7802ac Welcome to a new PLT day.
svn: r14606
2009-04-25 07:50:17 +00:00
Matthew Flatt
a542660087 raise canvas scroll limits to 1B instead of 10k
svn: r14605
2009-04-24 21:54:28 +00:00
Jon Rafkind
4bc8e35d39 add example for subtract-in
svn: r14599
2009-04-24 21:22:24 +00:00
Matthew Flatt
2439b4cb75 fix zo-parse problem with graphs in literal data
svn: r14596
2009-04-24 17:34:49 +00:00
Matthew Flatt
6df0ac6f51 fix accidental commit of debugging printf
svn: r14595
2009-04-24 15:49:24 +00:00
Matthew Flatt
733a9567c0 document r6rs non-conformance: several #% names are implicited imported
svn: r14594
2009-04-24 15:09:21 +00:00
Matthew Flatt
cd09b30497 (v4.1.5.5) repair interaction of provides redirected by a rename-transformer, certification of access to unexported variables, and protected exports; also get rid of kernel-reprovide special case in export handling, because a more general export-sharing technique subsumed the special case long ago
svn: r14593
2009-04-24 14:59:09 +00:00
Eli Barzilay
be1478345e Welcome to a new PLT day.
svn: r14592
2009-04-24 07:50:19 +00:00
Jon Rafkind
7924ec7ca2 add example for matching-identifiers-in
svn: r14591
2009-04-24 05:08:51 +00:00
Robby Findler
35830ba57e removed duplicate text:ports<%>
svn: r14590
2009-04-23 20:41:17 +00:00
Jay McCarthy
8f4ece0f9f typos
svn: r14589
2009-04-23 16:17:48 +00:00
Robby Findler
7d881a32bf svn: r14588 2009-04-23 14:57:51 +00:00
Eli Barzilay
904ab8ee0e Welcome to a new PLT day.
svn: r14587
2009-04-23 07:50:27 +00:00
Matthew Flatt
3f803b2298 another doc fix (missed part of PR 10214)
svn: r14586
2009-04-22 18:32:09 +00:00
Matthew Flatt
43fe904fe5 fix typos (incl PRs 10213, 10214)
svn: r14585
2009-04-22 18:30:35 +00:00
Eli Barzilay
64b59f2b28 fix a subtle bug (canvas could be #f)
svn: r14584
2009-04-22 09:21:54 +00:00
Eli Barzilay
cfec8d12de Welcome to a new PLT day.
svn: r14583
2009-04-22 07:50:11 +00:00
Matthew Flatt
30bb8ed263 some slightly less-boring examples
svn: r14582
2009-04-22 00:42:47 +00:00
Jon Rafkind
2bd98fbdb2 fix one test, break another
svn: r14581
2009-04-21 23:49:34 +00:00
Jon Rafkind
ec615d4882 add some function tests
svn: r14580
2009-04-21 23:41:50 +00:00
Sam Tobin-Hochstadt
062008c758 type for append-map
svn: r14579
2009-04-21 22:51:55 +00:00
Sam Tobin-Hochstadt
1edd4770f4 remove debug printf
svn: r14578
2009-04-21 17:43:33 +00:00
Matthew Flatt
932fe179f8 drop a bad R6RS test (PR 10210)
svn: r14577
2009-04-21 16:44:41 +00:00