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