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