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