Commit Graph

6525 Commits

Author SHA1 Message Date
David Greenspan
c3d45ede00 Outline complete table of contents 2015-04-20 14:43:33 -07:00
David Greenspan
03f06295f2 solve and solveAssuming docs 2015-04-20 14:43:33 -07:00
David Greenspan
590446181a Fix stray quote 2015-04-20 14:43:32 -07:00
David Greenspan
c206117c1e Demote "MiniSat" section from beginning to end 2015-04-20 14:43:32 -07:00
David Greenspan
92358119d3 More TOC (and move below Introduction) 2015-04-20 14:43:32 -07:00
David Greenspan
90db08176b Write section on Solver 2015-04-20 14:43:32 -07:00
David Greenspan
b96cedc220 Make Solver#ignoreUnknownVariables a method
in preparation for documenting it
2015-04-20 14:43:32 -07:00
David Greenspan
189eed798a Formula TOC 2015-04-20 14:43:32 -07:00
David Greenspan
66bc7626f2 Document Formulas 2015-04-20 14:43:31 -07:00
David Greenspan
71de34bbf2 More TOC and wordsmithing (TLC) 2015-04-20 14:43:31 -07:00
David Greenspan
2f36eac93b More docs, start TOC 2015-04-20 14:43:31 -07:00
David Greenspan
13312a97b6 Write about Terms 2015-04-20 14:43:31 -07:00
David Greenspan
90982efcc6 De-italicize "variable name" 2015-04-20 14:43:31 -07:00
David Greenspan
b2a8c2f63d Wordsmithing 2015-04-20 14:43:31 -07:00
David Greenspan
698977abf5 Document Variables 2015-04-20 14:43:30 -07:00
David Greenspan
a161fe467d Make noCreate a public 2nd arg to getVarNum 2015-04-20 14:43:30 -07:00
David Greenspan
5f6b0a083a Wordsmithing 2015-04-20 14:43:30 -07:00
David Greenspan
0f749741f7 Minor improvements 2015-04-20 14:43:30 -07:00
David Greenspan
44064263c2 Write a bunch of README text for Logic Solver! 2015-04-20 14:43:30 -07:00
David Greenspan
f6f267d44d Improve Logic.variableBits
check that the second argument is present

generate better variable names.  the generated
names don't have to be magic -- we will probably
document what they are -- but they should be a
little better than just appending a number.
it's reasonable to give variables names like
"1,1", and appending a 0 to that would make
"1,10", which is weird.  "1,1$0" is better.
2015-04-20 14:43:30 -07:00
David Greenspan
a61deafba1 Update constraint-solver for logic-solver changes 2015-04-20 14:43:30 -07:00
David Greenspan
7855bb87c3 Don't depend on "check", and provide type testers
The dependency on "check" was a real buzz-kill, especially when we
think of this package as something someone might run outside Meteor:

* `check` is really slow (mainly due to using exceptions for control 
flow, I think), giving you a choice of *either* argument-checking or
good performance out of the box

* `check` pulls in the `ejson` and `base64` packages

Type testers are functions like `Logic.isTerm`, which are much more
useful to have as part of the public API than "matchers" like
`Logic.Term` in the old code.
2015-04-20 14:43:30 -07:00
David Greenspan
dea8d09b80 Define Logic.isNameTerm, etc. type checks
Starting to break dependency on "check"
2015-04-20 14:43:29 -07:00
David Glasser
d310c3e3e6 Upgrade UglifyJS to 2.4.20 from 2.4.17
Fixes #3019.
2015-04-17 12:30:10 -07:00
Robert Lowe
4c1ed1ee20 Refactors #4052 according to @glassers review! 2015-04-14 23:32:20 -07:00
Robert Lowe
f27bcbb3c4 Adds onReady hook to Spiderable package
Resolves #3824
Adds missing `DDP` dependancy
Adds `callback-hook` for onReady hook registration
Adds some client tests for `Spiderable`
Bumps version to `1.0.8`
2015-04-14 23:32:20 -07:00
David Glasser
64c170d6e3 The tool only needs the ddp client
However, turns out the previous commit doesn't really work --- making
webapp a strong dependency of ddp-server means that as soon as we load
mongo we'll load webapp in the tool which is bad.  So move the mongodb
Npm module out of mongo, since that's all we need in the tool.
2015-04-14 21:48:41 -07:00
David Glasser
c48ea4affb webapp and routepolicy need no longer be weak deps 2015-04-14 21:34:46 -07:00
David Glasser
6ede690eaa ddp-server does not use faye-websocket directly
(ddp-client does, and sockjs does use it indirectly)
2015-04-14 21:34:46 -07:00
David Glasser
80384fb522 Update ddp package summaries 2015-04-14 21:34:46 -07:00
David Glasser
484007101c accounts-password no longer uses SRP 2015-04-14 21:34:46 -07:00
Robert Lowe
9096e4670a Resolves: ddp package should be split in two
DDP mitosis
2015-04-14 21:34:46 -07:00
Slava Kim
dda3a9f766 Move isRelative to helpers, too. Fix a typo. 2015-04-14 15:40:16 -07:00
Slava Kim
40dd0299b9 Stylistic changes to the PR #4175 2015-04-14 15:33:58 -07:00
Robert Lowe
2e8a28ceaf Add sanity test for #3465 2015-04-14 15:25:18 -07:00
Robert Lowe
8cac5cc4b7 Fixes #3465 2015-04-14 15:25:18 -07:00
David Glasser
b704424a73 Clarify coffeescript README
Fixes #4171.
2015-04-14 14:47:16 -07:00
Dan Dascalescu
7096881781 Update Weibo instructions 2015-04-14 14:31:44 -07:00
Denis Gorbachev
ccfb1809da Default to error if it's actually a string
It happens when transform function throws an exception, for example.
2015-04-14 13:37:41 -07:00
Slava Kim
e556cabec3 Merge pull request #4122 from ksepehri/update-twitter-configure-message
updating the twitter configure message
2015-04-14 13:35:16 -07:00
David Glasser
6a22e377de Use per-message websocket compression
(This is the third attempt to enable this. I believe as of
permessage-deflate 0.1.3, it works properly.)

By default, we attempt to use this for every websocket message on both
client and server.

On the server, we provide the SERVER_WEBSOCKET_COMPRESSION environment
variable to control compression. If $SERVER_WEBSOCKET_COMPRESSION is
set, then it must be valid JSON. If it represents a falsey value, then
we do not use permessage-deflate at all; otherwise, the JSON value is
used as an argument to deflate's configure method; see
https://github.com/faye/permessage-deflate-node/blob/master/README.md

We do not provide a way to use it only on some messages. The underlying
spec allows this but permessage-deflate does not; see
https://github.com/faye/permessage-deflate-node/issues/2

We do not provide a mechanism to control compression parameters on the
client side.  The assumption is that the common reason to care about
compression parameters is to control server per-connection memory
usage. (The noContextTakeover configuration parameter should save some
memory and still allow for some compression, for example.)

Addresses #3007 (which will not be fixed until this change is deployed
on the package server as well).
2015-04-10 13:37:58 -07:00
Sashko Stubailo
e75875e369 Merge branch 'master' into devel
Conflicts:
	History.md
	docs/client/data.js
	tools/run-mongo.js
	tools/tests/mongo.js
2015-04-06 11:30:20 -07:00
ninja
13aa883145 updating the twitter configure message 2015-04-04 08:59:18 -05:00
Sashko Stubailo
7ca7749b6e Bump for 1.1.0.2 2015-04-03 12:01:49 -07:00
Sashko Stubailo
42df8d933e Bump meteor-tool rc 2015-04-03 11:14:35 -07:00
Slava Kim
cdaaa6b0eb Merge branch 'master' into devel 2015-04-02 14:43:23 -07:00
Slava Kim
2f13780ed5 Bumps 2015-04-02 13:59:55 -07:00
David Glasser
779f942aa3 Improvements to hot-code-push test
This test had been somewhat flaky.  It seems to be less flaky now.
Changes include:

- Trying to not send the client->server logging RPC if the client is
  about to reload due to autoupdate
- Making sure that the client doesn't send anything at all until a
  little bit after starting, in order to make the ordering of messages
  between tool-printed and server-printed messages more predictable

Also updated from standard-app-packages to meteor-tool.
2015-04-02 16:45:39 -04:00
David Greenspan
8b2c642df1 Fix #4097: error when View invalidated immediately
Bug introduced in 28c760e
2015-04-02 13:44:37 -07:00
István Rábel
7ed59d866c fix match to accept boolean values as pattern
PR #4107

[stubailo: merged two commits]
2015-04-02 10:52:50 -07:00