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