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