Commit Graph

23924 Commits

Author SHA1 Message Date
Eli Barzilay
064a914fb2 Complete set of mailman template files.
This covers all of the html files in mailman's template directory, and
we should have a consistent look for all pages.  (Including archived
messages.)  Also tweak the front page to have a link to the mailman
"listinfo" page with the complete list of the hosted mailing lists.
2011-12-28 21:07:25 -05:00
Eli Barzilay
1160e423e2 Add a timeout to the ftp poll.
This is because the ftp mirror tends to become unresponsive often, but
it takes a huge amount of time to actually get a tmeout.
2011-12-28 21:07:24 -05:00
Eli Barzilay
fa4c073b9e Adjust meta/web' for changes in scribble/html'.
Add a `resource/referrer' abstraction for referrers, on top of plain
resources.  (When the referrer is `values', it just returns the plain
resource.)  Also add `url-of' to replace `get-resource-path'.
2011-12-28 21:07:24 -05:00
Eli Barzilay
787f3151de Make a `resource' struct so it is identifiable.
(Also, change a `define-struct' to a `struct'.)
2011-12-28 21:07:24 -05:00
Eli Barzilay
180651d04d Remove the `referrer' argument from resources.
This turned out to be a bad idea.  The thing is that some resources need
to be referred to in multiple ways -- for example, different texts in
links of different kinds, or using the URL directly in some cases.  The
existence of `get-resource-path' is a witness for this problem, since it
was used for such cases -- this function is removed as well.

There's no point in trying to generalize this here: instead, go back to
a simpler system where a resource always returns its URL (with an
optional argument to get an absolute URL).  When a `referrer'
functionality is needed, build it on top of that, in a place where it
makes more sense.  (That is, in a specific code for generating content,
where there could be a decision that resources have plain links and also
a very short link for use in navbars.)  Otherwise, it's usually simpler
to just define resources and referrers separately (as different
bindings, the latter uses the former).
2011-12-28 21:07:24 -05:00
Eli Barzilay
1cd8e6cbf3 Remove the referrer argument from copyfile' and symlink', and remove
the unused `content-resource' (it is not necessary).
2011-12-28 21:07:24 -05:00
Eli Barzilay
c8c13e46bb Switch delay's to lazy's. 2011-12-28 21:07:24 -05:00
Eli Barzilay
ace5fdf1f3 Clarify a comment for future work; a bunch of new internal definition uses. 2011-12-28 21:07:24 -05:00
Eli Barzilay
8beba3caf9 Avoid bash regexps
Turns out that bash's regexps (using `=~') changed so that quoting them
matches a literal string, and it seems dangerous to rely on parsing
unquoted regexps.  One way around this is to put the regexp in a
variable, but for the two simple uses that this script had, it's easy to
avoid regexps completely.
2011-12-28 21:07:24 -05:00
Matthew Flatt
580c952e46 fix locale sensitivity of inexact-number parsing
Closes PR 12070
2011-12-28 19:06:07 -06:00
Matthew Flatt
00cd512e06 fix doc typo 2011-12-28 19:06:07 -06:00
Robby Findler
f1bacffbdc Adjusted rewrite-side-condition/check-errs so that it normalizes the internal
redex patterns a bunch:

- repeats are turned into wrappers in sequences,
- names are all explicit,
- non-terminals are wrapped with `nt',
- cross patterns always have the hyphens in them.
- ellipses names are normalized (so there are no "hidden"
  name equalities); this also means that repeat patterns
  can have both a regular name and a mismatch name

Also, added a match-a-pattern helper macro that checks to make sure
that functions that process patterns don't miss any cases
2011-12-28 09:46:43 -06:00
Robby Findler
c9fcde258f docs bug (as noted by Marijn on racket-dev) 2011-12-27 08:53:35 -06:00
Robby Findler
376ad1f52c remove 'stupid-internal-definition' and Rackety 2011-12-27 08:53:32 -06:00
Jay McCarthy
a0475c5d90 Commit from Anthony West to tutorial 2011-12-26 14:43:49 -07:00
Jay McCarthy
9723e939b4 Merge branch 'master' of git.racket-lang.org:plt 2011-12-26 14:33:20 -07:00
Jay McCarthy
ae31b19168 Synchronizable events from Tom McNulty 2011-12-26 14:33:07 -07:00
Robby Findler
e02eb9c2c1 the variable most-recent-languages-hier-list-selection used
to be a  hierarchical-list-item<%> object, but now it is
a list of language names (same information, different data)
and one place didn't get updated.

Closes PR 12462
2011-12-26 09:50:33 -06:00
Matthew Flatt
3a1df23be6 fix `text-outline' test to include a curve 2011-12-26 06:27:22 -06:00
Michael W
ae1ca5b91a Bugfix: text-outline now handles curves correctly 2011-12-26 06:26:58 -06:00
Matthew Flatt
e12bf33f8d 'rshift and 'rcontrol don't interrupt keybindings
Closes PR 12461
2011-12-25 19:39:37 -06:00
Matthew Flatt
1c63784517 for record-dc%', record initial configuration after each erase'
Closes PR 12460
2011-12-25 19:26:39 -06:00
Matthew Flatt
6c5c170565 racket/draw: add text-outline' to dc-path%' 2011-12-25 18:20:39 -06:00
Robby Findler
9bef0204bb fix the "Show Line Numbers" menu item so its label changes
when the preference changes

closes PR 12459
2011-12-25 13:39:14 -06:00
Robby Findler
188f868a28 Remove the position-location cache that check syntax used to maintain for
the purpose of drawing arrows.

The computation to fill in the cache seems to actually be pretty quick and
the work to clear the cache when it is out of date (via a call to on-change)
can be substantial on big files, so just not maintaining the cache seems better.
(there are 7254 arrows in drracket/private/unit.rkt, stored in an interval map,
and iterating over the interval-map in a for loop seems to be time consuming)

Also, DrRacket could get into a state where switching tabs would trigger a
call to on-change, which means that switching tabs would take a few seconds.
2011-12-23 16:15:26 -06:00
Matthew Flatt
5bfaea25fe fix draw-polygon' on pairs instead of point%'s
Closes PR 12455
2011-12-23 07:25:59 -06:00
Matthew Flatt
5cd324af15 src/README corrections (of out-of-date information) 2011-12-21 16:43:01 -07:00
Matthew Flatt
dccc76c9b0 slight modernization of the Slideshow tutorial 2011-12-21 16:30:24 -07:00
Matthew Flatt
d020c75202 remove libfit 2011-12-21 16:17:56 -07:00
Matthew Flatt
5a7f1b15ed mysterx: fix private/mxmain hack to avoid cross-module optimization
Using the old extension protocol for MysterX --- plus the hack of
a dummy source module for a kind of portability --- really should
be replaced with an FFI-based approach to the MysterX DLL.
2011-12-21 14:00:26 -07:00
Eli Barzilay
ed8e3367d4 More fixes and improvements to `net/unihead'.
* In base64 encoding remove all newlines from the encoded result, avoids
  getting an invalid result.

* In qp encoding:
  - replace all spaces by underlines, not just the first (looks like a
    typo in the previous code)
  - encode "?"s and "_"s too, as required for this encoding
  - remove soft newlines (again, avoid an invalid result)

* Use `regexp-replace*' to encode the parts between the lines.  Besides
  making the code simpler, it fixes a bug in the previous code where
  multiple lines would each get encoded and the results concatenated
  without the newlines or any other whitespace.

* When the string to be encoded is longer than 70 characters, split and
  encode the sub-parts, then concatenate the encodings with a "\n "
  separator.  This is done as a poor attempt to follow the line length
  limits specified in rfc2047, or more concretely, to avoid sendmail's
  "!\n " splitting.
2011-12-21 14:46:13 -05:00
Eli Barzilay
188c65661d Fixes and improvements to `net/unihead'.
* Use `re:non-ascii' to look for a non-ascii character => faster.

* Use either CR or LF for a newline, not just LF.

* Use `regexp-replace*' to encode the parts between the lines.  Besides
  making the code simpler, it fixes a bug in the previous code where
  multiple lines would each get encoded and the results concatenated
  without the newlines or any other whitespace.
2011-12-21 14:46:13 -05:00
Matthew Flatt
24991f0c1a win64: fix JIT SSE-based FP
XMM6-15 are preserved in the Win64 ABI
2011-12-21 11:27:24 -07:00
Matthew Flatt
58b111485f int -> intptr_t fixes 2011-12-21 11:27:22 -07:00
Matthew Flatt
dcedd6e2be fix for `scribble --text' and tables 2011-12-21 11:27:06 -07:00
Eli Barzilay
ddcab952f7 Quote sender, subject, and recipients strings if needed.
There might be existing uses of `net/sendmail' that did this quoting
since this code didn't do so.  Such uses would continue to work fine,
since quoted strings would already be plain ASCII, so a second quoting
would leave it as is.

Note that the quoted strings are also used as command line arguments.
It seems that sendmail deals with these all fine when they appear as
command line arguments.  This means that any valid email address format
can be used, not just "raw" emails.  If there are some sendmails that
don't do this, then it would be better to add a `-t' flag to let
sendmail parse the text in the message.

One caveat (not a new one): since they're passed as is, it is possible
to use two emails in a single string, as in "a@b.com, c@d.com".  This
could lead to obvious problems if someone uses "Bar, Foo <foo@bar.org>"
instead of "\"Bar, Foo\" <foo@bar.org>".  (Using a `-t' to parse the
content won't help with that...)  The only way to avoid this would be to
parse the emails and quote the name part if needed.  But that's a much
hairier piece of code.
2011-12-20 16:13:13 -05:00
Eli Barzilay
f9d07d8400 Revise `net/sendmail'.
* Move the `X-Mailer' header to the top, so that the interesting headers
  are all together at the bottom (the top gets littered by server
  headers anyway).

* Use `subprocess' directly (`process*' wasn't really doing anything
  more than that).

* Allow the sender to be `#f', leaving the header out.  This makes all
  sendmails that I've used use the username that is running the process.

* Just search for a sendmail program: don't barf on windows, so it can
  be used in case there is a sendmail.exe executable there.

* Remove `no-mail-recipients' to make it in-line with other racket code
  that doesn't raise super-specific exceptions.

* Use port counting instead of doing the counts manually, much simpler
  code.
2011-12-20 15:53:40 -05:00
Sam Tobin-Hochstadt
81bb8a5ea3 Improve type of `in-range'. 2011-12-19 19:41:45 -05:00
Matthew Flatt
26c0ef99ef fix executable distribution creation on Unix 2011-12-19 12:36:16 -07:00
Matthew Flatt
7fbe3c7224 avoid accidental XFORM-LOCK file in the future 2011-12-19 07:05:27 -07:00
Matthew Flatt
35d800f109 remove accidentally added file 2011-12-19 07:03:25 -07:00
Matthew Flatt
67f83bfd6d win64: fix JIT
Repairs commit 558b03034a.
2011-12-18 16:35:33 -07:00
Ryan Culpepper
d00b93cdff remove references to non-existent unstable module 2011-12-18 14:35:41 -07:00
Ryan Culpepper
bb93132463 uniform position for unstable header in unstable docs 2011-12-18 14:23:21 -07:00
Ryan Culpepper
59beeb2e14 minor doc fixes 2011-12-18 13:57:50 -07:00
Ryan Culpepper
933965b2c2 moved unstable/prop-contract into racket/contract/base 2011-12-18 13:57:50 -07:00
Ryan Culpepper
e086d237cd moved unstable/mutated-vars back to typed-racket 2011-12-18 13:57:49 -07:00
Ryan Culpepper
bf21e5b765 pruned unstable/bytes (moved some code back to web-server)
Corrected contracts from serializable? to printable/c.
2011-12-18 13:57:49 -07:00
Ryan Culpepper
dd061bdb17 removed unstable/net/url (moved code back to web-server) 2011-12-18 13:57:49 -07:00
Ryan Culpepper
7f345fe067 removed unstable/gui/language-level 2011-12-18 13:57:49 -07:00