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