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