Luca Padovani [Fri, 31 Jan 2003 09:13:55 +0000 (09:13 +0000)]
* code cleanup
* added logger class and a simple implementation on console
* moved transformation code from test into a mathml factory class
* added .cvsignore files
Paolo Marinelli [Thu, 30 Jan 2003 21:15:41 +0000 (21:15 +0000)]
Now it's possible to insert and delete control sequence with arguments
delimited by a sequence of delimiters, and to insert and delete tables.
To meet this goals, some source files have been modified.
src/TPushLexer.*
This class has a new method: flush. It's can be used to tell the lexer
to send the current content of the buffer to the parser.
It's usefull in the creation of the dictionary.
src/TDictionary.*
There are two new method: bool lastDelimiter(unsigned p) and
unsigned previousParam(unsigne p). The first one is used to know if
the delimiter at position p is the last one of a sequence.
The second one retursn the position of the parameter preceding p.
src/TPushParser.cc
Now, it provides support for inserting and deleting macro with
arguments delimetd by a sequence of delimiters, and for inserting
and deleting tables.
dictionary.xml
there are three new entry, added only for testing purposes.
xsl/tml-mmlp.xsl
it handles the three new element, introduced in the dictionary.
Paolo Marinelli [Mon, 27 Jan 2003 16:34:49 +0000 (16:34 +0000)]
Added some controls concerning the graphical deleting.
Now, it's possible to delete a macro which accepts (delimited or not delimited)
arguments.
To meet this goal, the following source files have been modified:
src/TNode.*
added a new public method: void TNode::replace(const TNode& first, TNode& last)
This method is used to replace a node with the nodes between
first (included) and last (not included).
src/TPushParser.*
Some code lines have been added to handle the graphical deleting of
macro which accepts arguments.
Added new private method: void TPushParser::rgreplace_futher(void)
This method is used in TPushParser::gdelete_prev() and
TPushParser::do_gdelete() methods. This method replaces a
group with id having the cursor as unic child, with the
cursor. Then, it repeats the control.
dictionary.xml
a new entry is avaible to test the deleting of a macro which is
"leftOpen".
Luca Padovani [Mon, 27 Jan 2003 14:21:24 +0000 (14:21 +0000)]
* binding update to recognize the new event scheme generated by
gtkmathview
* some code for handling maction elements has been moved into the
compatibility class
Luca Padovani [Thu, 23 Jan 2003 16:14:40 +0000 (16:14 +0000)]
* restored binding with gtkmathview 0.4.0
* added compatibility class for single selection and gtkmathview
* added prototype of multiple selection gtkmathview (likely to change)
Paolo Marinelli [Tue, 21 Jan 2003 11:42:16 +0000 (11:42 +0000)]
A first partial implementation of deleting is introduced. The user might
want to delete in two ways: a deleting mode near to what he has actually
typed (textual mode) and a deleting mode near to what screen shows (graphical
mode). Only a partial implementation of the second mode is provided. The user
can delete a macro he is typing, a group, an identifier, a number, a
superscript and a subscript. To delete in graphical mode the user has to type
BACKSPACE.
Added the following private methods to TPushParser class:
void do_gdelete(void)
void gdelete_prev(void)
Added the entry GDELETE to the TCat enum defined in the TToken struct.
- generalized sysLogger class so that it logs to a generic output
channel, now it can be used to log also to files, sockets, ...
- better pretty printing of debugging messages: timestamps added
- fixed copyright notice
MAJOR CHANGES:
- doesn't use thread anymore, use process with a master process which
uses two pipes to chat about stylesheets related changes, if the
stylesheet list needs a change master process kills the child process
holding the Http daemon, performs the needed changes to the stylesheet
list and runs a new Http daemon child process
MINOR CHANGES:
- disabled debugging by default
- use logfile support and log to "uwobo.log" by default
- changed default port to 58080
- moved http response facilities to Uwobo_common
- moved usage string to Uwobo_common
- fixed copyright notice
- added support for shutdown of servers' socket on abnormal exits
(actually SIGTERM or uncaught exceptions)
- deprecated use of 'ocaml_builtin' server (removed from .mli too)
- moved functions for sending/receiving hbugs messages in common/
- added a debugging wrapper that prints all messages received by broker
- test that 'subscribe' method receive at least one tutor_id
- moved version setting to Http_getter_const
- added conffile setting to Http_getter_const
- changed configuration file name to "http_getter.conf.xml"
- rebuilt .depend, now http_getter_env depends on http_getter_const
- changed link order in Makefile