]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ChangeLog
Implemented controller-view split for FormError and FormInclude.
[lyx.git] / src / frontends / controllers / ChangeLog
1 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
2
3         * ControlDialogs.h: moved class ControlInset into its own file.
4
5         * ControlInset.h: new file. class ControlInset has been expanded to take
6         two template parameters, Inset and Params. Believe that all inset
7         controllers can be derived from this with the minimum of effort.
8
9         * ControlBibitem.[Ch]:
10         * ControlBibtex.[Ch]:
11         * ControlCitation.[Ch]:
12         * ControlCommand.[Ch]: moved most code into ControlInset.
13
14         * lots of files. Moved protected stuff into private where possible.
15
16         * ControlError.[Ch]:
17         * ControlInclude.[Ch]: new files; controllers for the LaTeX error and
18         Include popups, respectively.
19
20         * GUI.h:
21         * Makefile.am: associated changes.
22
23 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
24
25         * ControlCredits.[Ch] (getCredits): returns a stringstream not a
26         vector<string>.
27
28 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
29
30         * ControlCredits.C (getCredits): remove std:: qualifier for
31         getline(). 
32
33 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
34
35         * ControlCredits.C (getCredits): add std:: on vector
36
37 2001-03-22  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
38
39         * ControlCredits.C: remove using that is only used once, use
40         std::ios instead of std::iosbase, add som annoying comments.
41
42 2001-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
43
44         * lots of header files: improved explanatory notes.
45
46         * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
47         ControlBase is now a class that only controls the interaction of the
48         View with the ButtonController.
49
50         * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
51         to ControlConnectBase. The class controls the connection/disconnection
52         of signals from the LyX kernel and makes available the kernel (through
53         lv_) to daughter controller classes.
54         Moved out class ControlConnectInset to a new file ControlDialogs.h.
55
56         * ControlDialogs.h: new file. Contains the definition of two template
57         controller classes, ControlDialog and ControlInset (was
58         ControlConnectInset). ControlInset is a parent class for controllers
59         of inset-popups. ControlDialogs is the rather uninspired name for
60         the base class of all non-inset popups. (Eg, Document and Paragraph.)
61         ControlDialogs is reaching a state of maturity as several popups now use
62         it and its functionality becomes clear. ControlInset is still in a state
63         of flux. It is likely that functionality will be moved out of
64         ControlCommands and into it.
65
66         * GUI.h: new file. Moved all the template GUIXXX classes out of the
67         individual Controller header files and into one place. These classes
68         serve only as convenient wrappers to simplify code in the respective
69         frontends' Dialogs::c-tor. Now all derived from a templatised parent.
70
71         * ControlCharacter.[Ch] (show, update, hide):
72         * ControlLog.[Ch] (show, update, hide):
73         * ControlVCLog.[Ch] (show, update, hide): moved back into
74         the ControlDialogs base class.
75         (setParams, clearParams): new methods containing controller-specific
76         code to set/reset the parameters manipulated by the view.
77
78         * ControlCommand.[Ch] (clearParams): a new virtual method, by default
79         empty.
80         (hide): calls clearParams.
81
82         * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
83         by ControlCommand::hide().
84
85         * ControlCopyright.[Ch]:
86         * ControlCredits.[Ch]: new files; controllers for the copyright and
87         credits popups, respectively.
88
89 2001-03-21  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
90
91         * ControlCharacter.C: fix typo
92
93 2001-03-21  Angus Leeming  <a.leeming@ic.ac.uk>
94
95         * ControlCharacter.[Ch]: new files; controller for the character popup.
96
97         * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
98         moved to new files helper_funcs.[Ch].
99
100         * helper_funcs.[Ch]: new files. Some useful helper functions and
101         functors.
102
103         * Makefile.am: added new files.
104
105 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
106
107         * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
108
109 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
110
111         * ControlLog.[Ch]:
112         * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
113         Control log files, respectively.
114
115         * Makefile.am: added new files.
116
117 2001-03-19  Angus Leeming  <a.leeming@ic.ac.uk>
118
119         * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
120
121         * Makefile.am: added ControlBibtex.[Ch].
122
123 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
124
125         * ControlBibitem.C:
126         * ControlCitation.C: added "using SigC::slot" declaration.
127
128         * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
129         to FormCitation.C prior to the merger: "Do not put space between
130         multiple keys".
131
132 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
133
134         * several files: remove CXX_WORKING_NAMESPACES
135
136         * ButtonController.h: noncopyable is in namespace boost
137         * ButtonPolicies.h: ditto
138
139 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
140
141         * Merging changes from BRANCH_MVC back into HEAD.
142
143 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
144
145         * Makefile.am: add ControlBibitem.[Ch].
146
147         * ControlBibitem.[Ch]: new files that together define the Controller
148         for a Bibitem popup.
149
150         * ControlCommand.h (c-tor): give  kb_action a default value of
151         LFUN_NOACTION.
152         
153         * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
154         
155         * ControlCitation.[Ch]: moved search functions out of class.
156         (bibkeysInfo): new method. Returns const reference to private data.
157         (searchKeys): added case-sensitive switch. Used only by simpleSearch
158         for now.
159
160 2001-03-09  Angus Leeming  <a.leeming@ic.ac.uk>
161
162         * ControlCitation.[Ch]: added Search functions to the class,
163         (shamelessly lifted from Marco's gnome code). I think that these would
164         be better as helper functions outside the class, but this is a first
165         stab at it.
166
167 2001-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
168
169         * ControlCitation.[Ch]: (getBibkeyList): removed from class
170         ControlCitation.
171         (getBibkeys, getBibkeyInfo): added to class ControlCitation.
172         (getStringFromVector, getVectorFromString, parseBibTeX): new helper
173         funcs. parseBibTeX() is lifted staraight out of Marco's gnome
174         implementation of FormCitation.
175
176 2001-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
177
178         * ButtonPolicies.h: add SMI_NOOP to enum.
179
180         * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
181
182         * ButtonController.C (input): add "optimising" if-statement. Actually,
183         things don't work correctly without it...
184
185 2001-03-02  John Levon  <moz@compsoc.man.ac.uk>
186
187         * ViewBase.h: remove #pragma directive
188
189         * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
190         to make g++ happy.
191
192 2001-03-02  Angus Leeming  <a.leeming@ic.ac.uk>
193
194         * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
195
196         * Makefile.am: added ButtonPolicies.[Ch]
197
198         * ButtonController.[Ch]: ButtonController is split into
199         ButtonControllerBase and a template ButtonController class. The base
200         class no longer stores a pointer to a ButtonPolicy, but instead
201         accesses the actual instantiation of the policy through a pure virtual
202         method bp(). This method and the ButtonPolicy itself are instantiated
203         in the templatised ButtonController class. This class is derived from
204         the GUI-specific GUIBC class, meaning that the frontends know
205         nothing about the actual policy decided upon by the controllers.
206
207         * ControlBase.[Ch]: No longer store the View or the ButtonController.
208         Instead the actual instantiations are accessed through pure virtual
209         methods view() and bc(). The daughter classes are responsible for the
210         actual View and ButtonController.
211
212         * ControlCitation.h: the templatised class GUICitation instantiates
213         the methods view() and bc(). It also stores the instances of the
214         View and ButtonController.
215         
216 2001-02-23  Angus Leeming  <a.leeming@ic.ac.uk>
217
218         * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
219         also changed to ButtonController.
220
221         * ControlBase.[Ch]:
222         * ControlConnections.[Ch]:
223         * ControlCommand.[Ch]:
224         * ControlCitation.[Ch]:
225         * ViewBase.h: Changes associated with this.
226
227 2001-01-15  Angus Leeming  <a.leeming@ic.ac.uk>
228
229         * ButtonControllerBase.[Ch]: new files. Split Allan's original
230         xforms/ButtonController class into a GUI-I class (here) and an
231         xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
232
233         * ControlBase.[Ch]: new files. ControlBase is an abstract base class
234         from which all Dialog Controllers should be derived. the Controllers
235         are GUI-independent, but are designed to control the behaviour of
236         GUI-specific implementaions of each dialog.
237
238         * ControlConnections.[Ch]: new files. Classes controlling the
239         connections of buffer-independent, buffer-dependent and Inset dialogs
240         with the LyX kernel.
241
242         * ControlCommand.[Ch]: new files. A controller for all dialogs for the
243         InsetCommand subset of insets.
244
245         * ControlCitation.[Ch]: new files. The test specialisation! A
246         controller for the Citation dialog.
247
248         * ViewBase.h: new file. ViewBase is an abstract base class from which
249         GUI-specific dialogs should be derived. The functionality that the GUIs
250         must now implement is much reduced.