Commit Graph

4631 Commits

Author SHA1 Message Date
Eli Barzilay
b89e20385f Specify what happens on OS X with ;-separated globs.
Also, update the `path-dialog%' intro -- it is no longer similar to the
dialog under X.

original commit: 3ecdd3bc592a36b73ec9b9086b8a280eadd1c9f0
2011-06-06 02:01:26 -04:00
Eli Barzilay
8e622af502 cocoa: fix `get-file' when any extension is allowed
original commit: 045369e3b9d54dcef0e4a950f21581a0810aa56a
2011-06-03 01:38:40 -04:00
Eli Barzilay
5c2af99006 Make the cocoa file dialogs deal better with ";"-separated globs.
* Note the ugly hack of adding "foo~" for every "foo" suffix.

* Note also that when "*.*" is in the glob list all files should be
  available but it looks like this isn't working yet for some reason.

original commit: e9487fb0c739427fa49f79b4f512fb717ab683a9
2011-06-03 00:56:21 -04:00
Robby Findler
63f26ed181 adding a missing 2htdp/image color => racket/gui color coercion
closes PR 11956

original commit: 9e36dc8eb328d9c50fcdaf2a8765b09e6591e96e
2011-06-02 16:27:09 -07:00
Eli Barzilay
3235598f6d * Make the drracket `default-filters' have a ";"-separated glob for all
patterns instead of one pattern per suffix.  (This was almost never
  used -- only when saving a file that is in text mode.)

* Since this default is the same that the scheme
  mode ("framework/private/scheme.rkt") sets, remove that
  setting.  (Leave it commented in case there's need to have some
  different global default.)  It makes the above default get used when
  saving a scheme-mode file.

* Finally, for some reason the code in "framework/private/finder.rkt"
  was not using these `default-filters' at all for the file open dialog
  in `*get-file'.  (I tracked it back to CVS when the code was written,
  and it was never used.)

  I made it use it now.  This is visible on gtk (and probably on
  windows, not sure what OSX does) in that openning a file would show
  you all files.  After this change, it would show only racket source
  files, but there will be an option to switch the pattern to show all files.

  ** If the previous setup (showing all files) was intentional, it would
     be better to simply change "drracket/private/main.rkt" to add the
     racket source globs before the default.  In that case it might also
     make sense to uncomment the change in scheme.rkt back in, so when
     saving the default is the racket file suffixes (but this sounds
     like a confusing UI).

original commit: 1582f160bc9c778af05ff9216854576b3b1d806b
2011-06-02 10:06:15 -04:00
Eli Barzilay
4a7d60f87e Split the glob patterns on ";", and add them all to the gtk dialog.
original commit: 42fe92cd257741aa308cf834a0e9d23dfdf5f6f0
2011-06-02 09:33:53 -04:00
Matthew Flatt
830c42cb1e cocoa: fix get-y' in frame%'
original commit: c0811dc220c847c7132679ca4d3acb9f3fb93754
2011-05-26 07:29:09 -06:00
Asumu Takikawa
f1856b4684 Fix docs on editor-snip% init arg
original commit: 78689098ebfae884084dea176582de2a69ad8e20
2011-05-25 23:39:38 -04:00
Matthew Flatt
0858085e2a protect against nested snip deletes in `pasteboard%'
original commit: 909aaddf3d256a0fd9058e083d499273cc646f09
2011-05-25 07:32:47 -06:00
Matthew Flatt
40cf518b8c doc formatting fixes
original commit: e7d2cb73d9ae4cfc1e5569ea7cff997e5b026275
2011-05-25 07:32:47 -06:00
Matthew Flatt
0b6c46ab1f gtk: fix self X-selection handling
original commit: 5c5e6039dfeaa178792d6a16dccbd84a39264d2f
2011-05-24 13:22:01 -06:00
Matthew Flatt
ca2c0c2591 fix doc typo
original commit: f46edbe1ffb0136761b9812eb852c3b1f1b5b19b
2011-05-24 12:58:53 -06:00
Matthew Flatt
1348145b52 use container sequence to avoid resize flicker for `text-field%'
original commit: cc647f0ab9833195a8012bece70e8eba83cb6df3
2011-05-24 12:58:53 -06:00
Matthew Flatt
525988208b add pre-multiplied mode for `{get,set}-argb-pixels'
original commit: b6445880e26df5aef4005cb4adcde50d80e2199a
2011-05-18 16:01:33 -07:00
Matthew Flatt
82f73c8324 fix alpha-only mode of `get-argb-pixels'
Closes PR 11927

original commit: 905eb116517dc86a768aa0ee13d72f20364bf02f
2011-05-17 16:00:36 -07:00
Robby Findler
bd143e105d Adjust the menubar sizing code to explicitly take
into account the size of the dummy menu item that
was added.
  related to PR 11926
  related to PR 11893
  related to PR 11623
  related to PR 11917

original commit: df6be6e7f189294c0fa31139549b14f69e1cd427
2011-05-17 11:02:26 -05:00
Matthew Flatt
e54b211a28 cocoa: fix problems using menu-bar height
original commit: 515a4f799158ed60c89c250b9962dbb3c6cba86e
2011-05-10 20:17:47 -06:00
Robby Findler
cba84ecfdf add c:x;t as a keybinding for the latex shortcuts
closes PR 11871

original commit: 1b838cf85a984ad4fecbe8629120b9efe9cbb191
2011-05-10 15:34:47 -05:00
Matthew Flatt
f55661067a cocoa: fix frame coordinate system by using initial menu-bar height
original commit: 2e93e0ec14f4a174ca0025b436fd5a07008375a3
2011-05-10 09:53:48 -06:00
Robby Findler
fd228acf90 moved the docs-complete library into rackunit
to avoid having a separate, new manual for the
  one library

original commit: 507b1cd8fd81cd9c5fcf466a2a0c4c47433b0795
2011-05-05 16:10:42 -05:00
Robby Findler
811a6f0f91 cleaned up framework docs
original commit: d6ef130fd2f2067c91eb08e5ba3f4fc75eb8e7ef
2011-05-01 14:16:04 -05:00
Asumu Takikawa
6cd965f0b2 Added test for get-pos/text method result.
original commit: 7eb26c5d268523e37d31d01eeaa7c7bd58addf9d
2011-04-29 18:56:36 -04:00
Vincent St-Amour
791a62ce78 More indentation of TR keywords.
original commit: 32a8da58cb609fad2240ae3a6410c2dbec078d29
2011-04-29 15:28:30 -04:00
Asumu Takikawa
20d73086b0 Fix horizontal-panel-mixin to use correct interface.
original commit: 8ea0e5916de95ecb8754e62bd94c3a25ed34a536
2011-04-29 14:11:22 -04:00
Asumu Takikawa
ae8faa265d Fixed inconsistent return values for get-pos/text.
original commit: 4b575c315b02e71c32823e155d2e32a3445a6817
2011-04-29 14:11:21 -04:00
Vincent St-Amour
2865956a15 Add more TR keywords to tabify list.
original commit: 5592e9b34ba24964d7688c9566f7bda343205ec9
2011-04-28 16:19:58 -04:00
Eric Dobson
8a4acb7003 Added TR keywords to default tabify list
original commit: cfab042e549061e62da8f05e7582ee13dc6326ba
2011-04-28 16:19:58 -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
Robby Findler
da5105208a added lots of new tests that our documentation is complete
original commit: e7d0029aeaadcaf1c691756198f96cfd5eff0f4c
2011-04-25 13:24:43 -05:00
Matthew Flatt
b62348db22 fix cross-reference
original commit: e78a60016f4a10902eec98290a0b2c0e6ef7f7a4
2011-04-24 07:55:32 -06: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
636072ba5b make the close icon clicky thingy not grab the focus
closes PR 10380

original commit: 100b4d31f12d9e90e0fcec73abb68e2cd89b8920
2011-04-18 10:31:57 -05:00
Matthew Flatt
ddfb73600f fix gl canvas created after parent is shown
Merge to 5.1.1

original commit: 546faf8b347e822919773796ae5a8b86a9b39d92
2011-04-16 13:24:58 -06:00
Matthew Flatt
2273e70c10 gtk: fix button enable when mouse is over button
original commit: 49903be78fb4b0d9ad297b2b792775bf1d9762d9
2011-04-15 16:54:49 -06:00
Matthew Flatt
2d275e014c fix 'solid vs. 'opaque for mono on mono Closes PR 11839
original commit: 53862066671da621a78ede6edc9798cbb63719a3
2011-04-14 15:38:38 -06:00
Matthew Flatt
c91f9950cc win32: fix window-enabling problems
Closes PR 11769

original commit: cae005a6a2e052d1867c63694dca059a39b5dd40
2011-04-14 14:50:44 -06:00
Robby Findler
ffaf986cdc adjust drracket's value printer to specially treat 2htdp/image images.
related to PR 11849

original commit: 7b4e6730810028b44e720b5de006980199c60b51
2011-04-14 15:26:43 -05:00
Matthew Flatt
cc9dc765c3 gtk: fix over-eager attempt at alt- menu activation
Closes PR 11843

original commit: aabd5f7bd2e0b71ad218f9f0475abcd64e4b9afa
2011-04-11 07:39:40 -06:00
Robby Findler
2db01ab5e4 adjust various status controls so they don't take the focus
also added a separator menu item to the line/column number popup menu

original commit: 658bc59a92c82bdb22d0b654e8c47ef6b16258cc
2011-04-11 07:41:49 -05: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
Matthew Flatt
ca0ee2dd53 gtk, cocoa: fix auto-sizing of text `message%'s
original commit: 71df6ddc051414540ff4e80503b5b4f7aec78ee9
2011-04-08 14:22:17 -06:00
Robby Findler
7210d6b63a the tabber incorrectly counted tab chars as spaces when doing indentation;
this meant that if some line were supposed to be indented in the third
  column and you had two tabs and a space on that line, the indenter
  would leave it alone. Now, if it sees tabs in the line anywhere, it just
  decides that the line is not properly indented and re-indents it
  (always using spaces)

Also: started a tabber test suite

original commit: bb792c977dfa8a363ec201945527cfaa66a2a33e
2011-04-08 07:48:17 -05:00
Ryan Culpepper
b265830268 created racket/syntax from parts of unstable/syntax
original commit: 73ab1675222761363f6633061bc1156189f4ba59
2011-04-07 09:47:20 -06:00
Jay McCarthy
4b62a51ed0 Add another useful method re: Robby
original commit: b80728f4b91e81b6daaae630b76b6eb4cb83608a
2011-04-06 11:14:25 -06:00
Robby Findler
1a2755c1f8 Two improvements to the mrlib/graph library and the module browser:
- improved the drawing speed in mrlib's graph pasteboard
  by caching the background arrows (optionally; only turned
  on for the module browser. in redex, this probably won't
  speed anything up so it isn't used)

- added a search feature to the module graph to help find
  dependencies; type in string and some of the graph changes
  color

original commit: e928bd840c02ac68e6fbf7ed7c72b69e74d2fd1a
2011-04-06 11:35:31 -05:00
Jon Rafkind
59a546f676 line numbers separator uses the same color as the text
original commit: 576916d4d7de34fe9927eac46b2fc65a5edf9aa1
2011-04-04 13:07:25 -06:00
Matthew Flatt
d2ecb2bcc6 win32: another try for horizontal wheel events
original commit: 37f9363b9069bca5bbc76a80b89e34cd66b2acc0
2011-04-03 16:09:11 -06:00
Matthew Flatt
cca9680f76 win32: ignore inapplicable WM_HSCROLL and WM_VSCROLL events
original commit: 342964b10a7fe95f648f2d652518786b4ebf5ddb
2011-04-03 15:17:10 -06:00
Matthew Flatt
9722fe9427 add 'wheel-left and 'wheel-right events
original commit: b0115ee3605259d0e79c369e4bc11203e417c32d
2011-04-03 09:49:56 -06:00