GitHub PushEvent at 2014-06-13 15:57:52
Repository: mathquill
Actor: laughinghan
Payload: {"shas":[["2aa05dd56405a5ce4f7b5b76fe52986c543350bf","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Move \\int down among misc. symbols\n\nInstead of at the top of symbols.js","Han",false],["a0a92f8ba8c93b5ea9798cb70854ab77b79a60ec","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Reorder LatexCmds/CharCmds registration for \\prime #cosmetic","Han",false],["99da82a65ad14153b9e09b4e243a53f6fc307d68","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Fix LaTeX parsing of '\n\nhttp://mathb.in/16257\n\nIt just being on CharCmds was a total mistake, it's a real LaTeX\ncommand, we output &prime; as ', obviously we should parse ' as &prime;.\n\nTechnically in LaTeX it's a macro for ^\\prime, so we shouldn't parse\n\\prime as being the same, but &prime; looks more like ^\\prime (slash '),\nso for now, just parse \\prime wrong.","Han",false],["340b733e76f1ad39efb87a0be1548a684abfa7dc","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Move non-backslash-instantiated commands to top\n\n...of symbols.js\n\n(i.e. commands that can be typed without LatexCommandInput)","Han",false],["0b4f6bd384ca5ce4be65a27b497631c0edfc89ac","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Add dollar sign symbol \\$\n\nAdds support for parsing \\$; also makes it so that without\nCharCmds.$ = TextBlock, typing $ will default to typing the\ndollar sign symbol, \\$.","Han",false],["fbbd558132a77781b84beb2b2167bb3600ab4c74","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Move VanillaSymbol and BinaryOperator to math.js\n\n...next to Symbol, from symbols.js, because about to split up basic and\nadvanced symbols, but both depend on VanillaSymbol and BinaryOperator.","Han",false],["d91a2de454e2d695ff613db7201cd826cd884035","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Split up symbols.js into {basic,advanced}Symbols.js","Han",false],["ade2a989ab8a4a78b9186b77b73c154f928343b6","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Separate out LatexCommandInput from commands.js\n\nThe rest of commands.js comes up in basic mathematics.","Han",false],["f07f60c18c1dbd3728e55a6bd7176ffe6cc75d6b","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Merge branch 'api.no-auto-mathquill-ify' into feature.basic\n\nSo that test/visual.html can include both full and basic MathQuill\nwithout them clashing","Han",false],["c67edbd5aa528f9377d3d0f18ae9e13d1462f3c3","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Fix empty math fields 0 width and height when created\n\nBecause the root block has .mq-hasCursor and no .mq-empty, because the\ncursor is hidden but the root block wasn't blurred:\nhttps://github.com/mathquill/mathquill/commit/a09f88f63617e05d6189889debceff4152aa36eb#commitcomment-6327135","Han",false],["15582f4f0bde7f441fc810872002d638ef65d1ea","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Fix forgot to make new phony make targets .PHONYs","Han",false],["7d519854d17a391de6a050c978fc55be80234c07","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","`make basic` builds mathquill-basic{,.min}.js\n\n...which omit LatexCommandInput.js, advancedSymbols.js, and text.js.\n\nAlso, `make test` builds mathquill-basic.js too, so that unit.html can\ninclude it and publicapi.test.js can unit-test it, and so that\nvisual.html can include it.\n\nIn basicSymbols.js, right after setting `LatexCmds.backslash`,\nCharCmds['\\\\'] defaults to LatexCmds.backslash if LatexCommandInput.js\nis omitted. (Note that the order of LatexCommandInput.js vs\nbasicSymbols.js when concatenated doesn't matter; even if basicSymbols.js\nis first, LatexCommandInput.js just overwrites CharCmds['\\\\'].)\n\nCloses #290, which is about configuring typing \\ to insert \\backslash.\nCloses #306, which is about separating out commands that can only be\ntyped with LatexCommandInput; now separated as advancedSymbols.js.","Han",false],["015e66f99f228e59cb9a90c772ebeaa490efded9","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Fix append element to #mock but don't rm it #test\n\nhttps://github.com/mathquill/mathquill/commit/8fd3b2de#commitcomment-6495760","Han",false],["b0c882f1eb6a5ecd6513c06d53d8ffd65650bef2","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Fix .cmd() ReferenceError; rm Cursor::insertCmd\n\nCursor::insertCmd is used by LatexCommandInput::renderCommand and by\nEditableField::cmd (the public API). MathQuill-basic doesn't have\nTextBlock's, so passing .cmd() an unrecognized LaTeX command actually\ncauses a ReferenceError right now, but that is the only place that still\nreferences TextBlock, and only in that edge case, so we still def don't\nwant TextBlock in MathQuill-basic.\n\nSo what I do is say, those uses of Cursor::insertCmd should never have\nbeen unified, inline it as-is into LatexCommandInput::renderCommand and\ninline the non-TextBlock part into EditableField::cmd (instead, when\npassed an unrecognized backslash command, noop, which is at least\nconsistent-ish with .latex() (which empties the MathQuill if unable to\nparse the LaTeX), though proper error reporting would be nice).\n\nI actually really don't like the unknown-backslash-commands-are-turned-\ninto-TextBlock's behavior (like \\asdf turns into \\text{asdf}, which I'm\nleaving in LatexCommandInput::renderCommand), that's weird and I want to\nget rid of it eventually, but what I want to do instead is force the\ncursor to stay in the LatexCommandInput and I haven't really thought\nthrough how to do that and it shouldn't matter for now.\n\nAlso, unit test all the new behavior, normal and error conditions; there\nwere basically no unit tests for the old behavior.","Han",false],["ec0aa73ddb94fd3e0d8d5caaaf3cb443136e26a7","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Fix LiveFraction referencing TextBlock in MQ-basic\n\n...and throwing a ReferenceError just for typing '/'.\n\nInstead, `instanceof TextBlock` should just silently fail if there's no\nTextBlock, because then a node couldn't possibly be an instance of it.\n\n(I was amazed to learn that `instanceof undefined` errors, I totally\nthought it fails silently, apparently instanceof anything that's not a\nfunction errors, so just `|| noop`.)\n\nAlso added a MathQuill-basic section to the LiveFraction test.\n\nRecommend -w to view diff.","Han",false],["c1e7af7f1871058770529a0243b085fe9b490117","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Move {Math,Text}Field out of publicapi.js\n\n...to {math,text}.js, respectively.\n\nThis way, rather than MathQuill-basic having an undocumented\nMathQuill.TextField that ReferenceError's when called (since\nRootTextBlock isn't defined), it doesn't have MathQuill.TextField\nat all.\n\nThere is now no reference to TextBlock or RootTextBlock whatsoever in\nMathQuill-basic.","Han",false],["040ce1bc188281c560c72b72991f091ed2fbc999","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","MathQuill-basic links to smaller Symbola-basic font\n\nFont is linked by stylesheet, so now can't share stylesheet with full\nMathQuill, `make basic` now has to build a totally separate stylesheet\nmathquill-basic.css, by having font.less choose what font file to\nreference based on a compile-time parameter.\n\nSince `make basic` now builds minified JS + CSS + fonts, it's really\nmore like `make all` than like `make js`, so move it next to `all`.\n\nLess doesn't actually have compile-time parameters, but you can set\nvariable values with --modify-var [1] (equivalent to putting appending\na variable declaration to the base file, and variables are lazy-loaded\nso the last declaration is the one used [2]), then use a conditional\nmixin to choose what font file to reference [3]. --modify-var was\nreleased in v1.5.1 [4], so set that to the required version of Less\n(was originally edge to fix some bug [5] but that was pre-1.3, should\nbe fixed by now).\n\n[1]: http://lesscss.org/usage/#command-line-usage-modify-variable\n[2]: http://lesscss.org/features/#variables-feature-lazy-loading\n[3]: http://lesscss.org/features/#mixin-guards-feature-conditional-mixins\n[4]: https://github.com/less/less.js/commit/daec7dff1c5d533bfaaee5315aa20c9bf56f1873\n[5]: https://github.com/mathquill/mathquill/commit/411a37641fbcddd5c73268863dc49a53124189a5#commitcomment-6589168\n\nOnly add and reference .eot and .ttf files for now, even though for full\nSymbola we currently have .eot, .ttf, .otf, .woff, *and* .svg files.\nDesmos only has .eot, .ttf, and .woff files (presumably because .ttf and\n.otf have the same browser support [6] and only old Opera and old iOS\nSafari need SVG instead [7]), but all user agents that support .woff [8]\nalso support .ttf (which isn't true the other way around!), so, should\nbe fine. In fact, I probably actually want to trim some of the redundant\nfull Symbola font formats, but I'm putting that off for now, we'll fix\nthat when we fix our outdated @font-face syntax [9].\n\n[6]: http://caniuse.com/tff\n[7]: http://caniuse.com/svg-fonts\n[8]: http://caniuse.com/woff\n[9]: Currently using \"the local reference\" http://www.paulirish.com/2009/bulletproof-font-face-implementation-syntax/\n\nIn both full MathQuill and MathQuill-basic the @font-face font name (as\nopposed to font filename) is just \"Symbola\", wouldn't want to have to\nchange the @symbola etc variables too, but that means there has to be a\nseparate test page for MathQuill-basic where the full Symbola font isn't\nloaded, to check that the Symbola-basic font files load correctly.","Han",false],["567a084ef4e6b8dce212d2e1472d83f291ce90cb","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Mention `make basic` in README #docs","Han",false],["43e266b45f644a85506503f21012a17a68c49fb0","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","`make test` builds mathquill-basic.css too, oops\n\nTo test on test/basic.html","Han",false],["5d649f9ba31e9889d8199bcc297ab29655df9eb7","77561ff6a07411ba18b3619c3b34e13ee47ef524@gmail.com","Mention mathquill-basic.min.js in README #typo","Han",false]],"size":22,"ref":"refs/heads/feature.innerFields","head":"f434137edec14bfd1675ff10c92b4c979b98fe59"}