Commit Graph

123 Commits

Author SHA1 Message Date
Robby Findler
57b74886e6 add get-default-percentages to panel:dragable and then add a dragable panel
to the debugger

original commit: 951de8cc51b446b6041e64bc37356392266a3532
2011-10-02 14:34:28 -05:00
Robby Findler
eb943f394e Adjust DrRacket so that it saves files with CRLF
line terminators when:

  a) running under windows, and
  b) the file on the disk (when DrRacket first opens it)
     contains all CRLF line endings.

In all other situations, the file is saved with LF terminators.

Before this commit, DrRacket would always use the platform-specific
convention, regardless of the original content of the file.

closes PR 12242

original commit: 4a2757f2004fa84901cbae7ff9a257616ce7acaa
2011-09-30 17:08:07 -05:00
Robby Findler
17f11541b4 adjust various plumbing to get the drracket icon to the startup screen. Only to realize
that the startup screen is a dialog% and thus doesn't have set-icon

related to PR 12241

original commit: b95b346a4e3f51dddd5ec88faf126f1b4636125e
2011-09-30 17:08:03 -05:00
Eli Barzilay
7fb531ebc6 Improve code generation in the framework collection.
Instead of generating a file for code and one for documentation, do both
via a macro instead.  Most of the code is the same (modulo reformatting
in a more modern style), and instead of printing the result to a file,
it just returns it as the result of a macro.  (Since this is done in a
naive way, the macro is bad -- it is unhygienic since this is basically
what it did before only through a generated file; it should eventually
be improved to avoid these hacks.)

original commit: 093236fea448240740fe22c232a223950c693839
2011-09-30 10:51:28 -04:00
Eli Barzilay
63a464fc93 Don't create a page-setup menu item if `file-menu:create-print?' returns #f.
original commit: 656de6963692413b27b5e1682465f4cfd989a318
2011-09-30 10:45:43 -04:00
Robby Findler
63d9d89abb extend and refactor minor stuff in the framework
specifically add an argument to move/copy-to-edit so that it
does copy-only and export a function for trigger a submission
to the input port of a text:ports<%> object programmatically

original commit: 2ec720176a295f147cbb461f6b804e05c78ee57d
2011-09-22 10:51:47 -05:00
Robby Findler
dfb6f53f0e get rid of the "open here" functionality
This is a backwards incompatible change; there is a more complex change
that just stubs this stuff out that may be better that we may need
isntead of this commit.

original commit: 048fa1d7b8b5e17ac58181b068d779806bd5c59a
2011-09-21 22:53:03 -05:00
Robby Findler
1f69a824fa wrong super interface
original commit: 67d17645c425509f99d57da752c08f68fbcafe99
2011-09-05 12:33:53 -05:00
Robby Findler
b25c7cf3b1 add frame:focus-table-mixin & related things to be able to make drracket
test suites that don't depend on the OS giving any focus messages

original commit: a67f509f90359203463c943e4de90eb5e8a91656
2011-09-05 08:30:49 -05:00
Robby Findler
d1798aa1c1 break lines better
original commit: e4ddd0718ac0f0bf02c8d079a6c940d2fdb7f979
2011-09-05 08:30:46 -05:00
Eli Barzilay
6c5aad0685 Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).

original commit: d61eb53686f735b979a60dc6f9efd3d2aa9777d9
2011-08-15 07:50:04 -04:00
Robby Findler
a99c233ce7 start a section for documenting the symbols that DrRacket passes to a language's get-info proc
add docs for a few of these, notably the syntax colorer

original commit: 0c6bc11ac3fba7b0c06841b6ae9a587286045a09
2011-08-04 21:40:29 -07:00
Robby Findler
3b8bdc5ec1 adjust the size-pref frame mixin to track the position of the frame in a multi-monitor sensitive way
(also fix various issues with that code and unify the framework and drracket way of doing this)

original commit: 3fa2cc0d6775f1793a5068295e0370cadb70cfaf
2011-07-19 16:16:50 -05:00
Asumu Takikawa
18301de691 Fix a few framework contracts to match code
original commit: 6c3284a828f58475a9a8cd6cda6665864b156d3b
2011-07-14 18:15:48 -04:00
Robby Findler
725d1f344a fix bad contract
original commit: 2fb03852b34e326a870f6647ac4b39829e31f53f
2011-07-13 06:47:20 -06:00
Eli Barzilay
950c968e77 ".ss" -> ".rkt" scan done.
original commit: 3157955d40f89d83fb3d5fa7a2f20639cda69579
2011-07-02 10:37:53 -04:00
Ryan Culpepper
856c27560b docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names

original commit: 1b702a2ae32aba835f7467ced6b203902db0ccd9
2011-07-01 17:16:53 -06:00
Eli Barzilay
f1b2ecf4aa Get rid of "defaultly"s.
original commit: 78dacef817e0349071fb0300cf46b800ef58bfa5
2011-06-28 02:11:24 -04:00
Robby Findler
73e0722fcd added get-pos/text-dc-location method to editor:basic in framework
original commit: f93ff4de26248f6d3b2fd96c4a9da0c470c1494e
2011-06-26 15:49:55 +08:00
Eli Barzilay
ec12cbefed 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.

original commit: ac26fe75546b5182d78f18c2cd882f0f440849e2
2011-06-25 04:08:47 -04:00
Eli Barzilay
4f207d84ed Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)

original commit: debd1f9f1e6899e2a7e4ab5de929a49df490b5c7
2011-06-20 04:27:14 -04:00
Robby Findler
fed9746be7 add more caching to avoid calling normalize-path so much;
this should affect the test coverage coloring and the stacktrace
arrows/stop-sign window

original commit: 9bf26ef69e5b8c067286109afe7401665133ff3b
2011-06-15 16:45:47 +08:00
Robby Findler
811a6f0f91 cleaned up framework docs
original commit: d6ef130fd2f2067c91eb08e5ba3f4fc75eb8e7ef
2011-05-01 14:16:04 -05:00
Asumu Takikawa
ae8faa265d Fixed inconsistent return values for get-pos/text.
original commit: 4b575c315b02e71c32823e155d2e32a3445a6817
2011-04-29 14:11:21 -04:00
Asumu Takikawa
5ec2639946 Fix documented contracts in framework/color.
original commit: 836ac18667b2c0f7e235e22a4b80fcc5b122b20e
2011-04-27 17:47:30 -04:00
Asumu Takikawa
f349853f77 Documentation fixes in framework
original commit: 6d1b5842713e2c8621c38747130503579c6a421c
2011-04-25 17:56:45 -04:00
Asumu Takikawa
a5afac4522 Fix documentation for gui, draw, and framework.
- General cleanup/consistency (e.g. void -> void?)
  - Fix misdocumented methods (found violations via contracts)

original commit: 14ef89c37d4c3a03eefb8cc5cd1f230646952cbf
2011-04-22 11:27:08 -04:00
Robby Findler
d8217c9402 made the line/column thingy's popup menu be able to show the line numbers in the definitions window
- added add-line-number-menu-items
  - some minor fixes to the docs
  related to discussion in PR 11837

original commit: c4e0559db4ca37bb086b94830b9e393989c57b61
2011-04-10 19:38:19 -05:00
Eli Barzilay
17a8784314 Some random tidyings.
original commit: 1be26400cb15d234238af7958b97a79587c85f66
2011-02-16 15:26:15 -05:00
Robby Findler
4c0a52964d lift the restriction that the text:ports mixin
cannot do io from the eventspace handler thread
and add a test suite for text:ports

original commit: 8e94ce49e417ca57547702e5b40b201e27edb5bb
2011-02-15 18:10:02 -06:00
Jon Rafkind
dc520a9a47 add documentation for the splitter mixin
original commit: 7f3f861899403f3a271b35c473878a35ed472e41
2011-02-08 14:47:07 -07:00
David Van Horn
15c7ab6e1f Fixes more spelling errors.
original commit: 760a58b65df2b91010d2bcc2739ddab2a4489729
2011-02-04 19:44:13 -07:00
David Van Horn
5007d739fc Fixed various spelling errors.
original commit: c9519fd11300b07292df8619e86f48533eff6e4d
2011-02-03 17:42:33 -05:00
Robby Findler
e96d9460fd added a color:text method get-token-range and then used that to improve how f1 in drracket works
Please include this commit on the release branch

original commit: 4090eabacb8d7b32900b4df18da06f14f1def40f
2011-01-29 12:28:26 -06:00
Robby Findler
c7a9484dee adjustments to the colorer-out-of-sync gizmo
(the "()" in the bottom right of the drracket window)
  to make sure that it is right when switching tabs
  and when a frame is first opened

original commit: 0fe0858ba89477f9a07bd3e15c2dd55684906db8
2011-01-22 16:06:44 -06:00
Robby Findler
08dbf9be69 setup hooks so that the behavior of the home / c:a keybinings delegates to a method to find where to go
then, use that to change how it works for the scheme mode (and also another variation for the REPL to
cope with the prompt)

I spent a while trying to make this work at the keymap% level (ie putting different keybindings for "home"
and "c:a" into different keymaps) but this just turned out to be far too confusing and fragile, so went
with this alternative (one keybinding, but that delegates to an overridable method)

closes PR 11446

original commit: d2cb96bcb39d93f6dac92906bed9885828663798
2011-01-09 16:22:28 -06:00
Robby Findler
d2e13d3f39 added an observer for the colorer
original commit: 92d9ce38d3d568daf72ba8f98080cdf9110fc1d9
2011-01-05 20:39:31 -06:00
Robby Findler
3c58e55730 added set-orientation method to panel:dragable (lets the panels
change from being vertically aligned to horizontally aligned, even
after they have been created)

original commit: 9a485dd49270da20445eeb1c8b664f8f12b414ea
2010-12-09 15:50:08 -06:00
Jon Rafkind
f21bdf599b add line number interface documentation
original commit: 7f56e677f41798aaeb52affddc32e05729b7e4e1
2010-11-03 15:09:04 -06:00
Jon Rafkind
6369097889 document line-numbers-mixin
original commit: 32bd5c9f5fe0a829616ebd80f7e80fcf4d482a90
2010-11-01 22:14:45 -06:00
Eli Barzilay
7ce956664d Some repeated "and and"s and "the the"s, and two more typos.
Closes PR 11229.

original commit: ee138cf2cba3ee32cd755a7b242ec10051180adf
2010-09-20 15:38:18 -04:00
Robby Findler
158145178f added a note about how the max width is remembered in the splash screen
original commit: 4c35af2eef7fe95efe89a465e221443b1b653702
2010-09-01 14:39:16 -05:00
Robby Findler
42ef533a5a duh
original commit: 70ea262426018c54fac78fa47a3c4a5a065efae4
2010-09-01 14:27:35 -05:00
Robby Findler
bb17de3e20 adjusted the splash screen code so that the christmas day easter egg is optional (defaultly off)
original commit: 44753bc690292b114d934416ff2a096efc44199f
2010-09-01 13:23:18 -05:00
Robby Findler
1947ad1240 added docs for the splash screen library in the framework
original commit: 12ab498977f9f481187643c47ed6710c8a572d5b
2010-09-01 13:23:18 -05:00
Robby Findler
c6fc1b3b47 cleaned up code example for make-root-area-container
original commit: 0ab512ce8c342224c178efac4c9e3c53dde7d7c4
2010-07-06 15:26:26 -05:00
Eli Barzilay
a5c2a1160f More reformatting
original commit: 28946a0a437f5129bca8eeb09699e480ccce1925
2010-05-21 20:41:35 -04:00
Eli Barzilay
ae0eb104c5 A lot of "MrEd" -> "GRacket"s.
original commit: 7f6efdc8beea4b81af31807f9788197c24d0d63e
2010-05-16 23:46:05 -04:00
Matthew Flatt
edff96857f rackety framework and tools docs
original commit: 6563ef6812bfc2ea8921165d12cb78e74dca4626
2010-05-08 07:37:08 -06:00
Matthew Flatt
5adf804728 rename all files .ss -> .rkt
original commit: 28b404307793f041bb3363135a2968e283855318
2010-04-27 16:50:15 -06:00