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