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