correcting some debug displaying bugs (now that there is a trace module, no need for LogEntry, that was duplicating things)
also there was one lost LogEntry without a LogExit
also set a name for proxy function when tracing to keep same function name - that was causing inconsistencies, but I had to renounce prefixing by module name for now
correcting a bug with acth reduce of actions, due to the wrong name of proxy functions
refactored querieson server side to use rsvp promises
queries are now registered in a registry that allow to reuse the same code for each query
 a bunch of parameters are type-checked. Maybe I should use one of those node module for parameter checking (cf. schemata?) or write it myself?
refactor filter main functions to move many config to DS, all prefixed by filter
Improved documentation of filter function in RM module, in particular the config parameters
 changed the signature of the filter function to include tokenizer and detokenizer (mandatory arguments for now, the same for all filters)
 Updated thetests in tes_reader models
 Some more testing to do
 For example, now, if a data adapter is called with input type and output type being the same, the identifty function is returned
added testing for overlapping filter functionalities
set mocha as test framework for server side testing
main reason is that it is integrated in webstorm
However there seems to be some incongruities as per asynchronous testing, in conjunction with promises
Also refactor common code for execution of queries and processing of results
added some test for the HTML parsing functions
Starting to add it to the highlighting function
corrected bugs for parsing function and created associated test and created a wrapper function for easier async test with QUnit
Remains to have only one call to the parser instead of one call for each div
excellent day. Foiund a way to do cross-origin request. Via a jquery plugin though.
Also dealt with the ... case when splitting for sentence counting (detail)
also put again the formatting of the title, somehow took me 3-4 hours...
Don't forget to remove the global variables I have put many places in the code (cf. //TEST CODE)
rmoved some global aPromise debugging code from main
test suite for checking against the word counting when clicking on a word - so far only the second part from the parent with id to the clicked word
change a function declaration to make it work with firefox. Function must b declared before usage in Firefox, not a problem in Chrome apparetnly
split tests in two test files, one for helper functions , one for functionalities in progress
tested tree traversal of DOM
completed test and corrected bug with which word was not correctly returned
highlighting seems to be woking, now going to work on a simplified version of apply filter
corrected bug for notes
changed the filtering mechanism - no commenting now
added an ssert type for type checking of function!
it even allows to test for instanceof and go up the prototype chain for the checking
improved assert_type function
started to add backend storage for notes but still in early stage
corrected a bug with rpc_socket , now reader model module i initialized in main function which plays the role of the shell
lots of things I forget
but bvasically now notes can be added and retrieved from database storage
so on server side added some abstraction to handle remote storage
on client side added a stateful module and using now rsvp promises instead of jquery
corrected a b ig mistake a the cost of always storing text word by word.
All filters must apply on the same array length so we used the word by word thing in all filters.
A neater solution would be to enforce that at parsing instead of after to avoid errors.