summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2014-10-24textanalysis.ui: shift-tab now changes type back, tab forwardAlon Levy
2014-10-24fixes #106Alon Levy
broken by define addition (require.js)
2014-10-24robot: fix undefined variable from define additionAlon Levy
2014-10-21test_analyzer: better testAlon Levy
need better graph accessors to give only the 'real' nodes & links - that will fix some of the tests, leaving the real wrong ones
2014-10-21fix test_analyzer after require.jsAlon Levy
2014-10-21rhizicore: remove unused variableAlon Levy
2014-10-21oops - removed d3 accidentallyAlon Levy
2014-10-20introduce require.js and rewrite testsAlon Levy
Yes, I'm being lazy. The purpose of require.js is to allow writing modules, i.e. individual smaller then the whole files with clear dependencies. This is achieved by using a new api provided by require.js: define, require, requirejs Read more at [requirejs] (http://requirejs.org) Tests have been rewritten to work correctly with require.js; they still use jsdom. Test output is now stored in the repository, all tests are run via run_tests.js; This is a hack - once a good harness (with assertions, suites - unittest like) presents itself it will be used. Hidden here is also using FileSaver for history saving, so history is saved to history.json instead to a random name. Plus dropping some dead code.
2014-10-19remove no longer used watchdog.jsAlon Levy
2014-10-19factor out util.jsAlon Levy
2014-10-19text_analyzer: drop unused verb variableAlon Levy
2014-10-19adding proper Save As (with non random filename); MIT licensedAlon Levy
Actually seems that the proper way to save nowadays is the [download] (https://html.spec.whatwg.org/multipage/semantics.html#attr-hyperlink-download) attribute of a 'a' element, but that's also supported by the added [FileSaver.js] (external/scripts/FileSaver.js)
2014-10-13drop empty myGraph.updateGraph functionAlon Levy
2014-10-13Fixes #95 no double text in central node of star graphPrototypeAlon Levy
2014-10-12Fixes #85 - compare using lower caseAlon Levy
The whole lower case thing is a hack. We should separete id and name. But right now it seems to be holding.
2014-10-12myGraph.compareSubset: add verbose loggingAlon Levy
2014-10-12textanalysis: allow more than one letter changes between calls to ↵Alon Levy
textanalysis, firefox sometimes lags
2014-10-12Fixes #89Alon Levy
2014-10-12Fixes #83: don't register keypress multiple timesAlon Levy
2014-10-12Fixes #88: Property window doesn’t show up when a node is deleted.Anmol Agrawal
2014-10-12#63 don't move on node clickAlon Levy
2014-10-12#63 don't start force simulation when no topological change doneAlon Levy
2014-10-12textanalysis: fix logic of allowed renamesAlon Levy
2014-10-12rhizhicore: fix use of mixed case in changed_nodesAlon Levy
2014-10-09rhizicore: fix some indentation in editNameAlon Levy
Not required right now, triggered by reverted patch.
2014-10-09Revert "Allow chainlink when no last node is there"Alon Levy
This reverts commit e58e0c0b520d4abb971d3917712340330e5d85ff. It actually destroyed quite a lot of things, specifically even a simple sentence ended up being a chainlink. I need to rethink the 'abnormalGraph' predicate.
2014-10-09Allow chainlink when no last node is thereAlon Levy
Fixes #86 Well, almost - the center node contains the 'a and b and c' (with extra spaces too). node test_analyzer.js '#a and #b and #c are cool' digraph { BUBBLE; a; b; c; "new node"; "a and b and c are cool"; a -> "a and b and c are cool"; b -> "a and b and c are cool"; c -> "a and b and c are cool"; }
2014-10-08textanalysis: use and instead of nested ifs (refactor)Alon Levy
2014-10-08Fixes #85Alon Levy
This is more of #49 basically, just for a more complex sentence. I've kept the flow that we have, but augmented the graph change check (myGraph.compareSubset) and introduced some helper functions for sets on the way.
2014-10-08textanalysis: for a chainlink edit trim the complete sentenceAlon Levy
2014-10-07rhizicore: remove debug printAlon Levy
2014-10-07#49: forgotten start misses the whole pointAlon Levy
2014-10-07drag_n_drop: remove debug printAlon Levy
2014-10-07Fixes #49: forgot link changesAlon Levy
2014-10-07rhizicore: don't move graph when only changing link or node textAlon Levy
Fixes #49 Note about solution: in general we need to find out whether the graph from the new text (NewVertices, NewLinks) is homologous to the graph from the old text (OldVertices, OldLinks). The implemented solution only checks an easier case, where there is a single renamed vertex. A better solution to do later: - have textanalysis have state - have textanalysis return the difference from the last state: nodes added nodes deleted nodes changed - plus for bonus refactor all the editing functions (edit* in myGraph)
2014-10-07rhizicore: update: add no_relayout parameter, plus don't keep assigning tick ↵Alon Levy
event handler
2014-10-07rhizicore: add hasNodeAlon Levy
2014-10-07textanalysis: fix indentationAlon Levy
2014-10-07textanalysis: workaround undefined or double link additionAlon Levy
2014-10-07rhizicore: add debug print if NaN's introduced in translateAlon Levy
2014-10-07rhizicore: add helper debug_printAlon Levy
2014-10-07textanalysis: group vars at start of functionAlon Levy
2014-10-07rhizicore: fix loading json's (drag n drop) without 'name'Alon Levy
2014-10-07rhizicore: merge node additionAlon Levy
2014-10-07rhizicore: don't change state of existing nodes on additionAlon Levy
changing state of existing node results in ability to delete nodes while creating a new sentence by inputting a node name and then deleting it. This was fixed for the common case in a previous commit, but not for the case of loading from storage.
2014-10-07fix broken saveAlon Levy
2014-10-05move all external scripts to a subdirectory 'external'; easier to grep stuffAlon Levy
2014-10-02Undo of commit Merge branch '#62' into Prototypegarbash
It broke the input box
2014-10-01Merge branch '#62' into PrototypeAnmol Agrawal
Conflicts: index.html scripts/rhizicore.js
2014-09-30change #2 to issue #74Anmol Agrawal