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