Commit Graph

357 Commits

Author SHA1 Message Date
Eli Barzilay
e499c32435 mzscheme -> scheme
svn: r16240
2009-10-05 04:36:22 +00:00
Eli Barzilay
b0e8fac1f8 mzscheme -> scheme
svn: r16239
2009-10-05 04:34:04 +00:00
Matthew Flatt
eab6803895 change sandbox to allow read from the planet directory; delay some path calculations in other libraries to avoid sandbox prohibitions (but the ones in Scribble seem like too much)
svn: r16122
2009-09-24 14:54:15 +00:00
Matthew Flatt
ebcacaa06d remove debugging printf (merge to 4.2.2)
svn: r16058
2009-09-17 23:09:51 +00:00
Matthew Flatt
3ebbd56865 fix cm problem tracking reader dependencies; add 'reader' reader language
svn: r15907
2009-09-08 00:07:11 +00:00
Robby Findler
33680c1b9c fixed bug where non-existent planet development paths would break setup-plt
svn: r15884
2009-09-05 10:17:55 +00:00
Matthew Flatt
f37c71c6ee setup-plt -D skips compilation of .scrbl files
svn: r15727
2009-08-13 16:24:33 +00:00
Matthew Flatt
6a71aca994 fix Ctl-C handling on setup PLT to not trigger bootstrap mode
svn: r15624
2009-07-29 19:03:35 +00:00
Eli Barzilay
388c62194b Disabled duplicate checking code for now, see comment.
svn: r15603
2009-07-28 17:00:05 +00:00
Eli Barzilay
8117217012 always use "/"s to create the collection "names" that are used for identification
svn: r15600
2009-07-28 14:52:55 +00:00
Eli Barzilay
66ab1f15ff better comment
svn: r15599
2009-07-28 14:49:59 +00:00
Eli Barzilay
d1f78ae378 Split collection names that come from specified collections on "/"s.
The code in "setup-cmdline.ss" makes sure that they all look like a
require specification, which means that they *are* separated by "/"s,
and not, for example, "\"s on windows.

svn: r15598
2009-07-28 14:35:38 +00:00
Eli Barzilay
50ea3d91fe show the two problematic collection names
svn: r15596
2009-07-28 12:46:12 +00:00
Matthew Flatt
229e2636de change scribble 'variant' to 'property'; add contracts in scribble/decode
svn: r15581
2009-07-27 03:55:43 +00:00
Matthew Flatt
345c17e85c major Scribble revision (v4.2.1.2)
svn: r15569
2009-07-25 20:25:33 +00:00
Jay McCarthy
a6312e8050 DrDr props and stderr removal
svn: r15477
2009-07-17 17:59:36 +00:00
Matthew Flatt
38ba01ed96 fix re-write of in.sxref when a collection disappears
svn: r15248
2009-06-23 22:51:13 +00:00
Matthew Flatt
53a011cf65 adjust planet client to handle nested planet invocations by re-building the doc index only once
svn: r15246
2009-06-23 22:02:07 +00:00
Matthew Flatt
cc32f3eea2 fix problems with get-info use by setup-plt
svn: r15242
2009-06-23 13:26:07 +00:00
Matthew Flatt
c25ca25320 change get-info to use a separate namespace; add make-eval-factory and make-base-eval-factory
svn: r15205
2009-06-18 10:35:13 +00:00
Matthew Flatt
fc115693f4 change zo-compiler cm trace-output to stick to a port, which avoids confusing output when installing nested Planet packages
svn: r15194
2009-06-17 05:58:26 +00:00
Eli Barzilay
b99fcf27c6 better comment
svn: r15190
2009-06-16 19:46:41 +00:00
Eli Barzilay
dd2b287309 Hack around problem, see comment
svn: r15189
2009-06-16 17:32:19 +00:00
Eli Barzilay
66c855c2d3 Switch language readers to #lang s-exp
svn: r15188
2009-06-16 17:13:51 +00:00
Eli Barzilay
e0bab0cea2 * Added setup/private/lib-roots as a place to decide what directory is
considered a library. For now, hacked with the collects and planet
  roots (and planet links), with a fixed number of directory sublevels
  from them.
* setup/private/omitted-paths is simplified by reusing this code to
  get the roots.
* drscheme/private/module-browser uses this to always show requires
  from the same library, even for lib or planet requires.

svn: r15058
2009-06-02 18:48:57 +00:00
Eli Barzilay
438ad9865a reformat, use hash-ref!
svn: r15044
2009-06-01 20:28:10 +00:00
Eli Barzilay
bb823bbb3b don't die on a ".../plt/collects" path
svn: r15043
2009-06-01 20:16:40 +00:00
Matthew Flatt
93931723f4 Thomas Deniau's patch to match unix-style install work for Mac OS X mzscheme
svn: r14959
2009-05-23 14:04:39 +00:00
Eli Barzilay
b827890ba5 nicer looking output
svn: r13928
2009-03-03 22:20:13 +00:00
Eli Barzilay
098cad9135 setup uses the pdflatex iterator from scribble/private/run-pdflatex
svn: r13918
2009-03-03 17:38:46 +00:00
Matthew Flatt
ce79598a4a add body id tag support to Scribble
svn: r13801
2009-02-23 12:48:30 +00:00
Matthew Flatt
f27f1f7223 do not normalize 'exec-file paths, because the existence of a path changes how the PATH envvar is used
svn: r13395
2009-02-03 21:25:38 +00:00
Matthew Flatt
1fa53fc4bf Dave's patch to avoid out.xref warnings (a hack around the handin-server doc problem)
svn: r12649
2008-11-30 14:22:28 +00:00
Matthew Flatt
37aae202c5 speed up doc build a little; fix bugs related to getting continuation marks from a thread and using the errortrace profiler
svn: r12237
2008-11-04 23:32:44 +00:00
Matthew Flatt
95bedb17fb change contracts to reflect context via #%variable-reference instead of syntax objects; add id-less #%variable-reference form; drop link to unneeded CPort objects in delayed thunks; streamline some modules that tend to show up in deep phases
svn: r12231
2008-11-04 14:24:12 +00:00
Matthew Flatt
81dfc14cc6 remove search box for Scribble HTML output unless requested; move some hardwired styles to CSS file
svn: r12029
2008-10-14 01:53:34 +00:00
Matthew Flatt
b46a5091ba fix change that avoids re-running documents just to get xref information when the .sxref files are up-to-date
svn: r11993
2008-10-12 01:49:42 +00:00
Matthew Flatt
95fa65b7b3 fix great awlful memory leak in scribble's collect phase (which was exposed most clearly by the web-server tutorial); change in.sxref to be use fasl (bytecode) format
svn: r11989
2008-10-11 14:50:22 +00:00
Robby Findler
cde0dc2566 svn: r11843 2008-09-23 13:56:47 +00:00
Matthew Flatt
5a717903ea setup scribble: fix depends-on-everything dependencies when a collection is removed
svn: r11382
2008-08-22 13:03:50 +00:00
Eli Barzilay
59041963ca typo
svn: r11379
2008-08-22 11:33:15 +00:00
Eli Barzilay
a8ce7f6fe3 v4-ized, and use "mzscheme.exe" on cygwin
svn: r11364
2008-08-21 09:55:37 +00:00
Matthew Flatt
6516518ae5 fix cm-accomplice and avoid redundant reader-module dependencies
svn: r11354
2008-08-20 13:29:42 +00:00
Eli Barzilay
825a660254 deal with planet hard links
svn: r11352
2008-08-20 06:30:30 +00:00
Eli Barzilay
cdc45a3e64 refactored, and made the roots return the implicitly ignored directories still (so setup-plt doesnt try to compile .svn)
svn: r11350
2008-08-20 02:19:41 +00:00
Matthew Flatt
9137d5367e set appripriate reader parameters for info.ss and .sxref files
svn: r11349
2008-08-20 01:15:22 +00:00
Eli Barzilay
fb56a59571 fix main-relative->path* (check and throw a type error) and fix the doc accordingly, do path->main-relative* too
svn: r11336
2008-08-19 17:10:50 +00:00
Eli Barzilay
850af38cfe * Added `setup/private/omitted-paths' as a central point for getting
omitted paths -- including entries from parent directories
* This code automatically includes "compiled", ".*" and "doc" (unless
  in the main tree), which nicely unifies the pieces of code that
  duplicated this check (compiler/compiler-unit and setup/setup-unit).

svn: r11324
2008-08-19 10:28:22 +00:00
Eli Barzilay
2a16188855 svn: r11323 2008-08-19 05:04:21 +00:00
Eli Barzilay
156d3364df better use of new sort
svn: r11321
2008-08-19 04:55:32 +00:00
Eli Barzilay
da3b476e80 finish the cm move: change all requires, leave stub files in mzlib
svn: r11314
2008-08-19 00:22:57 +00:00
Eli Barzilay
0dc40662fc unixstyle-install needs to grab the base namespace before it moves the
collections, so it won't look for it again when it's not there.

svn: r11213
2008-08-13 03:04:32 +00:00
Matthew Flatt
5aaaa42377 fix OK and Cancel button order in MrEd built-in dialogs
svn: r11143
2008-08-08 11:29:26 +00:00
Eli Barzilay
d7c577b7e0 removed stupid debugging (exit)
svn: r11134
2008-08-07 20:45:39 +00:00
Eli Barzilay
a975bed489 fix user-doc? as main-doc?
svn: r11121
2008-08-07 07:59:02 +00:00
Eli Barzilay
1d00d880ec better filtering of user docs (?)
svn: r11056
2008-08-03 22:28:03 +00:00
Eli Barzilay
74dd0655e5 get rid of remove-falses
svn: r11055
2008-08-03 22:07:29 +00:00
Eli Barzilay
15b586c6ed more convenient use of doc:verbose and doc:setup-scribblings
svn: r11054
2008-08-03 21:51:39 +00:00
Eli Barzilay
3bd1e3615c remove only files
svn: r10785
2008-07-16 00:22:05 +00:00
Eli Barzilay
7de06dbbb3 remove all non-sxref files
svn: r10784
2008-07-15 22:46:31 +00:00
Matthew Flatt
1c6281111b add render-element structure, and use it in the search doc
svn: r10782
2008-07-15 22:03:36 +00:00
Matthew Flatt
e180452d8f adjust the way out.sxref is saved/loaded so that less is kept in memory across doc builds
svn: r10742
2008-07-13 15:51:31 +00:00
Eli Barzilay
7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00
Eli Barzilay
8fb7e764c7 setup' and compile' skip a subdirectory if it's called "doc". This
doesn't work for scribble/doc, which is a directory with code.  So
change the check to skip "doc" only if it's in the main plt collects
tree.

svn: r10488
2008-06-28 09:32:12 +00:00
Eli Barzilay
7febe63ce9 * Fix compiled and dep files path
* Comment out dep file since it's not used
* Fix checking of the `compile?' argument
* Print a "recompiling" message and a warning the file is not found

svn: r10434
2008-06-24 01:25:46 +00:00
Matthew Flatt
3f60a478ad use new 'serialized=?' to tighten setup scribble fixpoint
svn: r10428
2008-06-23 19:28:08 +00:00
Matthew Flatt
20fcb6314c honu-module -> honu; misc doc and slideshow tweaks
svn: r10230
2008-06-12 13:02:41 +00:00
Eli Barzilay
36809f291e typo
svn: r10183
2008-06-06 19:46:56 +00:00
Eli Barzilay
05e530f443 Allow using `doc-path' for main docs only.
svn: r10181
2008-06-06 18:46:04 +00:00
Matthew Flatt
af1c17353b repair uses of module paths for Scribble keys that I missed before
svn: r10173
2008-06-06 15:09:14 +00:00
Matthew Flatt
21fd7b93b3 change the way Scribble generates keys based on modules
svn: r10170
2008-06-06 13:24:58 +00:00
Matthew Flatt
b062c52067 fix some doc links
svn: r10154
2008-06-05 18:56:41 +00:00
Eli Barzilay
ae09de2fa2 avoid warnings for missing user docs
svn: r10149
2008-06-05 16:34:53 +00:00
Matthew Flatt
413c90c0dc fix single-html scribble builds by planet; fix up teachpack docs; add Dave to acks; add a #:use-sources in errortrace docs
svn: r10139
2008-06-05 00:21:36 +00:00
Matthew Flatt
a78bf662b2 adjust search-page sizing of 'provided from' to use a CSS entry, which scales by the magic 82% instead of 80% (because 80% drops just below the threshold of anti-aliasing the default monospace font in Safari)
svn: r10036
2008-05-30 13:25:54 +00:00
Eli Barzilay
1569355405 fix setup-scribblings for pdfs
svn: r10034
2008-05-30 12:42:47 +00:00
Eli Barzilay
73f4a8dc74 minor printf bug, relative planet paths
svn: r10031
2008-05-30 07:03:01 +00:00
Eli Barzilay
b43b66ae37 * A more noticeable message for starting the doc build
* More paths relative to known places

svn: r10028
2008-05-30 02:32:49 +00:00
Matthew Flatt
204d1292f0 fix error reporting in setup-plt
svn: r10022
2008-05-29 20:28:21 +00:00
Matthew Flatt
3d1241bc5d refine setup-plt output; fix profiling (PR 9356); doc string-join (PR 9401)
svn: r10021
2008-05-29 20:01:58 +00:00
Matthew Flatt
46cd967859 doc phase output like .zo phase
svn: r10003
2008-05-28 17:44:52 +00:00
Matthew Flatt
fdd99b83dc more consistent cleaning of index strings; fix for 'get-module-code' when no file (source, bytecode, or extension) is available
svn: r10002
2008-05-28 17:40:23 +00:00
Eli Barzilay
8df91f2f10 improved setup-plt printouts
svn: r9996
2008-05-28 05:14:08 +00:00
Eli Barzilay
9127cdaaf8 up links in all documents, and they go to the user docs using cookies
svn: r9992
2008-05-28 00:02:25 +00:00
Eli Barzilay
6ca9703fcc use some scheme/list-isms
svn: r9991
2008-05-27 23:13:02 +00:00
Eli Barzilay
1c598fafc3 svn: r9894 2008-05-19 17:47:42 +00:00
Eli Barzilay
f1390fa699 Added scribble-common.js as a file to be used in all scribbled pages.
svn: r9890
2008-05-19 13:24:21 +00:00
Matthew Flatt
14b71ac83e allow setup/scribble to be missing in Mz distributions
svn: r9865
2008-05-16 15:52:06 +00:00
Eli Barzilay
bb29959db9 made -i and -I independent
svn: r9806
2008-05-11 13:40:59 +00:00
Eli Barzilay
96e9e6e10c Some parameters were not set from command line flags. I moved the
code that does this setting into option-unit, so a single macro is
used to mark a parameter as settable by flags.  This is so this will
not happen again in the future.

svn: r9793
2008-05-10 08:42:49 +00:00
Eli Barzilay
87375f0c85 formatting
svn: r9792
2008-05-10 07:50:13 +00:00
Eli Barzilay
652f1285c9 typo
svn: r9791
2008-05-10 07:48:20 +00:00
Matthew Flatt
52581d024b improve scribble memory use (a little bit)
svn: r9601
2008-05-02 19:48:57 +00:00
Matthew Flatt
ac31eba987 fix delim-cont bug (in the case that a captured continuation is delimited in the middle of a meta-contiuation that isn't the current one)
svn: r9540
2008-04-30 03:01:40 +00:00
Matthew Flatt
a212d63387 fix help lookup after scribblings entry format change
svn: r9416
2008-04-23 01:19:24 +00:00
Matthew Flatt
a26b334c67 proprocessor doc, merge scribblings and doc-categories fields
svn: r9414
2008-04-23 00:20:25 +00:00
Jacob Matthews
52ca901576 better behavior in 'same case
svn: r9375
2008-04-19 18:19:18 +00:00
Matthew Flatt
99943314d2 setup/unpack addition and docs
svn: r9370
2008-04-19 12:42:54 +00:00
Matthew Flatt
02fbaca2b7 hierlist docs; fix latex/pdf output when a paragraph starts with n hspace
svn: r9276
2008-04-12 14:42:02 +00:00
Matthew Flatt
021d4d7527 new hash function names and ops (3.99.0.23)
svn: r9209
2008-04-08 21:42:38 +00:00
Matthew Flatt
f28726ab4d fix bytecode writing of prefabs, add prop:sequence
svn: r9149
2008-04-03 14:07:52 +00:00
Matthew Flatt
705228ffdc fix deserialization in setup-plt's scribble driver, so that it's independent of the current namespace
svn: r9148
2008-04-03 12:05:55 +00:00
Eli Barzilay
2a443f0baf just skip a missing doc dir
svn: r9070
2008-03-23 03:24:38 +00:00
Eli Barzilay
e40121e879 use #lang and fix a few uses of #:exists
svn: r9069
2008-03-23 02:29:53 +00:00
Matthew Flatt
34d83b3551 change module-path? for planet path shorthand; doc edits
svn: r9048
2008-03-21 23:46:42 +00:00
Eli Barzilay
7eb39d3a3f simplify all collection paths
svn: r9001
2008-03-17 11:13:47 +00:00
Eli Barzilay
47ae6fac94 minor
svn: r8935
2008-03-09 18:15:46 +00:00
Eli Barzilay
b76390a452 revise the way setup-plt crawls over the collection trees
svn: r8860
2008-03-03 22:04:28 +00:00
Eli Barzilay
13249d3ad0 fix setup-scribblings
svn: r8789
2008-02-25 01:46:31 +00:00
Eli Barzilay
c71f59b2f8 * Improved code in setup/scribble
* Made it avoid user mannuals if -U is specified

svn: r8787
2008-02-25 00:00:13 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
Matthew Flatt
ca1a9dc8bf docs form David Van Horn; Slideshow tweaks
svn: r8661
2008-02-14 14:07:57 +00:00
John Clements
b69384799a fixed wrong # of args to internal err function
svn: r8650
2008-02-13 19:45:15 +00:00
Eli Barzilay
699c40643d * Changed setup-plt to compile collections if they have an "info.ss"
file.  (That is, it does not require the file to have a `name'
  entry.)

* The name shown when setup works is the directory name, followed by
  the `name' field from the info file when specified.

* This means that many `name's are no longer needed, so I'm removing
  them.  To see if you need a `name' entry, consider that the name
  will be shown like this:
    ... foo (<your name here>)
  This means that if the name is the same as the directory name, then
  there is no point in having it.  I also removed cases where the name
  differed only in its capitalization for collections where the case
  is obvious.

* Also, for subcollections, the name should clarify the name of the
  subcollection in context.  For example "Acknowledgments" explains
  what scribbling/acks is, but there's no need to add the context name
  as in "Scribblings: Acknowledgments".

* There may also be a point in keeping names for other uses.  One such
  example was in games, where the name field was used in the PLT Games
  application.  (This was changed to default on the directory name, so
  it is no longer needed in most games.)  Another example is in planet
  packages.

svn: r8629
2008-02-12 10:33:01 +00:00
Matthew Flatt
b03e7426eb finish mzlib docs, except for contracts
svn: r8623
2008-02-11 21:37:03 +00:00
Eli Barzilay
be720e8bda minor improvements
svn: r8615
2008-02-10 21:30:34 +00:00
Matthew Flatt
6f057bd68c fix syntax-local-expand/capture-lifts
svn: r8614
2008-02-10 15:52:46 +00:00
Matthew Flatt
5929f046d5 scribble setup: serialize searches for in.sxref, so that paths in the table are ok
svn: r8613
2008-02-10 14:05:50 +00:00
Eli Barzilay
2c99aaa75c minor
svn: r8609
2008-02-10 05:40:06 +00:00
Matthew Flatt
ad0a9aa3b5 refine note on setup/main
svn: r8598
2008-02-09 13:02:59 +00:00
Eli Barzilay
6b48a31ffb add -U to avoid compiling user-specific collects
svn: r8590
2008-02-08 19:54:42 +00:00
Eli Barzilay
fd1117888e reformat
svn: r8588
2008-02-08 19:32:53 +00:00
Matthew Flatt
8bac4b1d28 start scribbling mzlib (about half done)
svn: r8546
2008-02-05 22:07:35 +00:00
Eli Barzilay
3da233dd8e fix some minor bug and typos in previous commit
svn: r8533
2008-02-05 00:22:33 +00:00
Eli Barzilay
3c72e71e24 switched info.ss files to #lang
svn: r8532
2008-02-04 23:00:35 +00:00
Eli Barzilay
160bb6a7bc switch to scheme/* libraries, minor formatting
svn: r8519
2008-02-04 03:25:32 +00:00
Eli Barzilay
a42821f724 fix use of setup-scribblings
svn: r8509
2008-02-02 19:43:30 +00:00
Matthew Flatt
3260e8f34a better handling of doc-build failures
svn: r8504
2008-02-02 13:20:03 +00:00
Matthew Flatt
7e6ef8eeb5 small improvements to scribble data structures
svn: r8481
2008-01-31 00:06:54 +00:00
Matthew Flatt
6ddbaba736 add up-links to documents in the main doc dir; add plain-install makefile targets
svn: r8466
2008-01-29 21:27:34 +00:00
Matthew Flatt
5df386275d get rid of scribbled doc.txt
svn: r8452
2008-01-28 21:57:37 +00:00
Matthew Flatt
e35c94f91d clean out _loader compilation support; merge compiler library docs into mzc manual; improve mzscheme cmdline handling so that configuration options do not cancel defaults like -i and -u
svn: r8432
2008-01-27 14:20:42 +00:00
Matthew Flatt
28c6c9d7cd fix dir for non-main-install collects docs
svn: r8429
2008-01-27 04:44:40 +00:00
Matthew Flatt
37b188229e fix help search to not fail on optional user docs
svn: r8337
2008-01-15 15:44:04 +00:00
Matthew Flatt
7b7efc2fcc omit useless PDFs
svn: r8316
2008-01-14 04:33:45 +00:00
Matthew Flatt
13025bff7a add master index
svn: r8310
2008-01-12 18:32:30 +00:00
Matthew Flatt
1c16d5829e add support for user-specific documentation list
svn: r8306
2008-01-11 23:13:11 +00:00
Matthew Flatt
05434ec54d change path->main-collects-relative, and change output directory of start document
svn: r8301
2008-01-11 19:54:38 +00:00
Eli Barzilay
d0333bce6d better pdflatex use
svn: r8295
2008-01-11 09:25:06 +00:00
Eli Barzilay
c31c424086 default to main-doc if docs are in main-collects
svn: r8294
2008-01-11 08:26:14 +00:00
Eli Barzilay
aa71be72cf improve code organization
svn: r8293
2008-01-11 08:25:46 +00:00
Eli Barzilay
eee5f7c0fc improve code organization
svn: r8292
2008-01-11 06:57:13 +00:00
Matthew Flatt
1e069dd2bc doc build automatically go to main doc dir; added doc categories for start doc; fix locale-sensitive byte<->string ops to actually use the locale; other small edits
svn: r8286
2008-01-10 23:42:23 +00:00
Matthew Flatt
3b394bda4e fix setup-plt -c .dep traversal
svn: r8283
2008-01-10 20:24:49 +00:00
Matthew Flatt
dd858c5bfa fix setup-plt -c
svn: r8282
2008-01-10 20:20:12 +00:00
Eli Barzilay
8f0f4fcdf9 Lots of reformatting, and some reorganization
svn: r8249
2008-01-07 17:29:48 +00:00
Matthew Flatt
c0a09ccef6 fix winvers script
svn: r8229
2008-01-05 23:06:05 +00:00
Eli Barzilay
0c6b19a795 show a setup-plt line for each run of pdflatex
svn: r8219
2008-01-05 00:11:55 +00:00
Matthew Flatt
7fc41024c0 3.99.0.9: binding links in docs use nominal import sources
svn: r8196
2008-01-03 19:07:02 +00:00
Matthew Flatt
d6adb5600e make setup-plt --doc-pdf work right with a relative path
svn: r8134
2007-12-27 11:18:20 +00:00