Commit Graph

22 Commits

Author SHA1 Message Date
Robby Findler
cdc76526cf added PLTDRPROFILE
svn: r15130
2009-06-10 04:49:38 +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
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
8b4844cf5e some typos
svn: r14709
2009-05-04 09:34:07 +00:00
Robby Findler
613527fd25 fixed PR 9409
svn: r9959
2008-05-26 15:19:27 +00:00
Robby Findler
3eb20f5a11 moved all of the framework's function documentation into the scribble/srcdoc world
svn: r9545
2008-04-30 19:18:52 +00:00
Robby Findler
d07eff8bce added docs for the gui-utils and the textual preferences to the framework
svn: r9503
2008-04-27 14:57:09 +00:00
Robby Findler
97dbca2831 fixed bug noticed by Sam
svn: r9114
2008-03-29 21:57:35 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
Robby Findler
81e5a24390 fix to PR 8900
svn: r7526
2007-10-18 22:12:59 +00:00
Carl Eastlund
0b725ae0f4 Corrected typos in contracts in the framework collection.
svn: r7228
2007-08-30 16:11:28 +00:00
Robby Findler
af46ef5622 started refactoring to fix the preferences problem
svn: r7226
2007-08-30 04:08:56 +00:00
Robby Findler
7ef0ce8b0f removed printf
svn: r5915
2007-04-10 18:18:24 +00:00
Robby Findler
cac2d2f174 undid previous commit (oops!)
svn: r5914
2007-04-10 18:17:48 +00:00
Robby Findler
4133afdd43 removed printf
svn: r5913
2007-04-10 18:16:31 +00:00
Robby Findler
d688a1f9e3 misc improvements to the white on black view in drscheme (also added explicit buttons that switch to a default set of colors and also flips a preferences flag for more coarse grained control)
svn: r5892
2007-04-08 23:30:58 +00:00
Eli Barzilay
0cb9b70922 set svn:eol-style and added newlines at EOFs
svn: r5546
2007-02-03 06:51:31 +00:00
Robby Findler
e5895cd76a whoops! forgot to add preferences.ss in
svn: r5540
2007-02-02 04:58:57 +00:00