1 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3 * ControlCredits.C: remove using that is only used once, use
4 std::ios instead of std::iosbase, add som annoying comments.
6 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8 * lots of header files: improved explanatory notes.
10 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
11 ControlBase is now a class that only controls the interaction of the
12 View with the ButtonController.
14 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
15 to ControlConnectBase. The class controls the connection/disconnection
16 of signals from the LyX kernel and makes available the kernel (through
17 lv_) to daughter controller classes.
18 Moved out class ControlConnectInset to a new file ControlDialogs.h.
20 * ControlDialogs.h: new file. Contains the definition of two template
21 controller classes, ControlDialog and ControlInset (was
22 ControlConnectInset). ControlInset is a parent class for controllers
23 of inset-popups. ControlDialogs is the rather uninspired name for
24 the base class of all non-inset popups. (Eg, Document and Paragraph.)
25 ControlDialogs is reaching a state of maturity as several popups now use
26 it and its functionality becomes clear. ControlInset is still in a state
27 of flux. It is likely that functionality will be moved out of
28 ControlCommands and into it.
30 * GUI.h: new file. Moved all the template GUIXXX classes out of the
31 individual Controller header files and into one place. These classes
32 serve only as convenient wrappers to simplify code in the respective
33 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
35 * ControlCharacter.[Ch] (show, update, hide):
36 * ControlLog.[Ch] (show, update, hide):
37 * ControlVCLog.[Ch] (show, update, hide): moved back into
38 the ControlDialogs base class.
39 (setParams, clearParams): new methods containing controller-specific
40 code to set/reset the parameters manipulated by the view.
42 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
44 (hide): calls clearParams.
46 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
47 by ControlCommand::hide().
49 * ControlCopyright.[Ch]:
50 * ControlCredits.[Ch]: new files; controllers for the copyright and
51 credits popups, respectively.
53 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
55 * ControlCharacter.C: fix typo
57 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
59 * ControlCharacter.[Ch]: new files; controller for the character popup.
61 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
62 moved to new files helper_funcs.[Ch].
64 * helper_funcs.[Ch]: new files. Some useful helper functions and
67 * Makefile.am: added new files.
69 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
71 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
73 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
76 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
77 Control log files, respectively.
79 * Makefile.am: added new files.
81 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
83 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
85 * Makefile.am: added ControlBibtex.[Ch].
87 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
90 * ControlCitation.C: added "using SigC::slot" declaration.
92 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
93 to FormCitation.C prior to the merger: "Do not put space between
96 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
98 * several files: remove CXX_WORKING_NAMESPACES
100 * ButtonController.h: noncopyable is in namespace boost
101 * ButtonPolicies.h: ditto
103 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
105 * Merging changes from BRANCH_MVC back into HEAD.
107 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
109 * Makefile.am: add ControlBibitem.[Ch].
111 * ControlBibitem.[Ch]: new files that together define the Controller
114 * ControlCommand.h (c-tor): give kb_action a default value of
117 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
119 * ControlCitation.[Ch]: moved search functions out of class.
120 (bibkeysInfo): new method. Returns const reference to private data.
121 (searchKeys): added case-sensitive switch. Used only by simpleSearch
124 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
126 * ControlCitation.[Ch]: added Search functions to the class,
127 (shamelessly lifted from Marco's gnome code). I think that these would
128 be better as helper functions outside the class, but this is a first
131 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
133 * ControlCitation.[Ch]: (getBibkeyList): removed from class
135 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
136 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
137 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
138 implementation of FormCitation.
140 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
142 * ButtonPolicies.h: add SMI_NOOP to enum.
144 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
146 * ButtonController.C (input): add "optimising" if-statement. Actually,
147 things don't work correctly without it...
149 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
151 * ViewBase.h: remove #pragma directive
153 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
156 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
158 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
160 * Makefile.am: added ButtonPolicies.[Ch]
162 * ButtonController.[Ch]: ButtonController is split into
163 ButtonControllerBase and a template ButtonController class. The base
164 class no longer stores a pointer to a ButtonPolicy, but instead
165 accesses the actual instantiation of the policy through a pure virtual
166 method bp(). This method and the ButtonPolicy itself are instantiated
167 in the templatised ButtonController class. This class is derived from
168 the GUI-specific GUIBC class, meaning that the frontends know
169 nothing about the actual policy decided upon by the controllers.
171 * ControlBase.[Ch]: No longer store the View or the ButtonController.
172 Instead the actual instantiations are accessed through pure virtual
173 methods view() and bc(). The daughter classes are responsible for the
174 actual View and ButtonController.
176 * ControlCitation.h: the templatised class GUICitation instantiates
177 the methods view() and bc(). It also stores the instances of the
178 View and ButtonController.
180 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
182 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
183 also changed to ButtonController.
186 * ControlConnections.[Ch]:
187 * ControlCommand.[Ch]:
188 * ControlCitation.[Ch]:
189 * ViewBase.h: Changes associated with this.
191 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
193 * ButtonControllerBase.[Ch]: new files. Split Allan's original
194 xforms/ButtonController class into a GUI-I class (here) and an
195 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
197 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
198 from which all Dialog Controllers should be derived. the Controllers
199 are GUI-independent, but are designed to control the behaviour of
200 GUI-specific implementaions of each dialog.
202 * ControlConnections.[Ch]: new files. Classes controlling the
203 connections of buffer-independent, buffer-dependent and Inset dialogs
206 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
207 InsetCommand subset of insets.
209 * ControlCitation.[Ch]: new files. The test specialisation! A
210 controller for the Citation dialog.
212 * ViewBase.h: new file. ViewBase is an abstract base class from which
213 GUI-specific dialogs should be derived. The functionality that the GUIs
214 must now implement is much reduced.