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