]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ChangeLog
b9ca141ad06805fbc78d9e1673e88786f7e3d54f
[lyx.git] / src / frontends / controllers / ChangeLog
1 2001-09-04  Angus Leeming  <a.leeming@ic.ac.uk>
2
3         * ControlCharacter.C: fix Michael's bug: In the "Character layout"
4         dialog, set all options to "reset", close the dialog, re-open it ->
5         the options are set incorrectly.
6
7         * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
8         When Applying it's useful to know whether the dialog is about to close
9         or not (no point refreshing the display for example).
10
11         * ControlInset.C (apply): use isClosing.
12
13 2001-08-25  John Levon  <moz@compsoc.man.ac.uk>
14
15         * ControlInset.h:
16         * ControlDialogs.h: remove bc() hack, now fixed in
17           Qt2 frontend. use member dialog_built_ instead of shared
18           static.
19  
20         * ButtonController.h: 
21         * ButtonPolicies.C: more debug info
22  
23         * ButtonControllerBase.C: call refresh() when setting readOnly !
24  
25         * GUI.h: External form has apply, use the right policy
26
27         * character.C: fix two off-by-one errors when latex font was removed
28  
29 2001-08-15  Angus Leeming  <a.leeming@ic.ac.uk>
30
31         * ControlInset.h (apply): tentative fix for the press Apply multiple
32         times and get multiple new Insets problem.
33
34 2001-08-24  John Levon  <moz@compsoc.man.ac.uk>
35
36         * ControlCharacter.C: fix typo
37
38         * ViewBase.h: 
39         * ControlDialogs.C:
40         * ControlInsets.C: make sure dialog is built before it is shown, so
41           it works properly the very first time it is shown
42  
43 2001-08-20  Herbert Voss  <voss@perce.de>
44
45         * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
46         and styles. Added an option for "bibliography into toc"
47
48 2001-08-15  Angus Leeming  <a.leeming@ic.ac.uk>
49
50         * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
51         LaTeX is no longer a font property.
52
53 2001-08-09  Angus Leeming  <a.leeming@ic.ac.uk>
54
55         * GUI.h: Button controller for Reference dialog changed to
56         NoRepeatedApplyReadOnlyPolicy.
57
58         * biblio.C (getInfo): output volume and number info. Move year to end
59         of string.
60
61 2001-08-09  Allan Rae  <rae@lyx.org>
62
63         * Makefile.am (SUBDIRS, dist-hook): remove bogus entries. 
64
65 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
66
67         * helper_funcs.C (getVectorFromString): fixed small bug.
68
69         * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
70
71 2001-08-07  Edwin Leuven  <leuven@fee.uva.nl>
72
73         * ControlSpellchecker.C: check next word after insert in personal dict
74
75 2001-08-06  Juergen Vigna  <jug@sad.it>
76
77         * ControlERT.[Ch]: new file
78
79 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
80
81         * ControlInset.h: const and non-const forms of params().
82
83         * helper_funcs.C (getStringFromVector,getVectorFromString): remove
84         whitespace from either side of each item.
85
86 2001-07-30  Angus Leeming  <a.leeming@ic.ac.uk>
87
88         * ControlFloat.h: add a != operator for FloatParams.
89         Lars, how did you get this to compile!!!
90
91         * ControlMinipage.[Ch]: uncommented someone's commenting out of
92         operator != for MinipageParams. Who's changing stuff and not compiling?
93
94 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
95
96         * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
97         ControlFloat.C
98
99         * GUI.h: add class GUIFloat
100
101         * ControlFloat.[Ch]: new files
102
103 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
104
105         * ControlPrint.C: #include Lassert.h here.
106
107 2001-07-26  Baruch Even  <baruch@lyx.org>
108
109         * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
110         and png.
111
112 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
113
114         * ControlThesaurus.h:
115         * ControlThesaurus.C:
116         * GUI.h:
117         * Makefile.am: thesaurus support
118
119 2001-07-23  John Levon  <moz@compsoc.man.ac.uk>
120
121         * ControlInclude.h:
122         * ControlInclude.C: implement ability to load file
123  
124 2001-07-18  Juergen Vigna  <jug@sad.it>
125
126         * ControlSearch.C (replace): changes to lyxfind.h function calls.
127
128 2001-07-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
129
130         * biblio.C (getInfo): add a .c_str() to handle the usual
131         stringstream pain.
132
133 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
134
135         * ControlCitation.[Ch]: changes associated with adding natbib support.
136         New public methods, usingNatbib, getCiteStrings and getCiteStyles.
137         New static variable citeStyles_.
138
139         * biblio.[Ch]: large internal rearrangement.
140         New public enum CiteStyle.
141         New public struct CitationStyle.
142         New public functions getCitationStyle, getCiteCommand, getCiteStyles,
143         getNumericalStrings, getAuthorYearStrings
144         (simpleSearch, regexSearch): no longer publicly accessible.
145
146         * helper_funcs.C (getStringFromVector): bug fix.
147
148 2001-07-16  Baruch Even  <baruch@lyx.org>
149
150         * ControlVCLog.h: Added Lsstream.h to includes.
151
152 2001-07-17  Angus Leeming  <a.leeming@ic.ac.uk>
153
154         * ControlSpellchecker.[Ch]: remove d-tor.
155
156 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
157
158         * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
159         
160 2001-07-16  Juergen Vigna  <jug@sad.it>
161
162         * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
163         compiled with USE_PSPELL) to be able to switch between ISpell and
164         PSpell classes.
165
166 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
167
168         Consistent use of Lsstream.h:
169         * ControlAboutlyx.[Ch] (getCredits):
170         * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
171
172 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
173
174         * ControlCredits.[Ch]: removed
175         * ControlCopyright.[Ch]: removed
176         * ControlAboutlyx.[Ch]: added (replaces previous)
177         * GUI.h: removed credits and copyright added about lyx stuff
178
179 2001-07-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
180
181         * ControlSpellchecker.C (getSuggestion): 
182         (getWord): add std:: qualifier
183
184 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
185
186         * ControlSpellchecker.[Ch]: added
187         * ViewBase.h: added partialUpdate(int) member
188         * GUI.h: added spell stuff
189         
190 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
191
192         * ControlExternal.C: (*it). -> it->
193
194 2001-06-16  Angus Leeming  <a.leeming@ic.ac.uk>
195
196         * ButtonController.h: move some included header files out of the
197         frontends and into here.
198
199 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
200
201         * ControlCharacter.C (c-tor): cosmetic name change of signal.
202
203 2001-06-13  Angus Leeming  <a.leeming@ic.ac.uk>
204
205         * *.[h]: added // -*- C++ -*-
206         * *.[C]: removed // -*- C++ -*-
207
208         * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
209         activate Apply button.
210         (clearParams): removed.
211         font_ is now stored as a boost::scoped_ptr.
212         font_ is no longer deleted on hide(), so it's contents can now be used
213         by the Font button on the toolbar.
214         Lots of new methods so that the GUI can easily get the contents of
215         font_ when it update()s.
216
217 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
218
219         * ControlCharacter.C (apply): test that font_ exists, thereby preventing
220         crash when the Font button on the Toolbar is pressed.
221
222         * GUI.h: change policy of Character button controller to
223         OkApplyCancelReadOnlyPolicy.
224
225 2001-06-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
226
227         * ControlToc.C (getContents): don't add anything to the list if it
228         is supposed to be empty.
229
230 2001-06-01  Angus Leeming  <a.leeming@ic.ac.uk>
231
232         * helper_funcs.C (getVectorFromString): bug fix.
233
234 2001-05-30  Angus Leeming  <a.leeming@ic.ac.uk>
235
236         * ButtonController.h
237         * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
238         from ButtonControllerBase::readOnly. Updates the state of the widgets
239         in the read-only list only when the read-only status of the document
240         changes.
241         (refresh): moved this stuff into refreshReadOnly.
242
243 2001-05-18  Angus Leeming  <a.leeming@ic.ac.uk>
244
245         * ControlPrint.C (c-tor):
246         * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
247
248 2001-05-14  Angus Leeming  <a.leeming@ic.ac.uk>
249
250         * biblio.C:
251         * character.h: small clean-ups.
252
253 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
254
255         * ControlToc.C (getType): remove support for old float list.
256
257 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
258
259         * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
260         * ControlGraphics.h: no longer include insetgraphicsParams.h
261         * ControlInset.h: no longer include LyXView.h
262
263         * ControlBibitem.C:
264         * ControlBibtex.C:
265         * ControlButtons.C:
266         * ControlCharacter.C:
267         * ControlCitation.C:
268         * ControlCommand.C:
269         * ControlConnections.C:
270         * ControlCopyright.C:
271         * ControlCredits.C:
272         * ControlError.C:
273         * ControlExternal.C:
274         * ControlGraphics.C:
275         * ControlInclude.C:
276         * ControlLog.C:
277         * ControlMinipage.C:
278         * ControlPreamble.C:
279         * ControlPrint.C:
280         * ControlRef.C:
281         * ControlSearch.C:
282         * ControlTabularCreate.C:
283         * ControlToc.C:
284         * ControlVCLog.C: they're now in here!
285
286 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
287
288         * ButtonControllerBase.h: C++ mode, inherit privately from
289         noncopyable 
290         * ButtonPolicies.h: ditto
291
292         * ButtonController.h: C++ mode, swap init order of restore_ and
293         cancel_ 
294
295 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
296
297         * ControlTabularCreate.h:
298         * ControlTabularCreate.C: make dialogs use a pair of uints
299           instead of a string
300
301         * ControlVCLog.h:
302         * ControlVCLog.C: fill a stringstream with the log contents
303         and then delete it
304
305         * ControlExternal.C: from Angus, clone the new InsetExternal
306           before acting on it
307
308 2001-04-09  Angus Leeming  <a.leeming@ic.ac.uk>
309
310         * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
311         and made more robust.
312
313 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
314
315         * ControlToc.C: 
316         * ControlSearch.C: 
317         * ControlPrint.C: 
318         * ControlPreamble.C: 
319         * ControlInclude.C: 
320         * ControlGraphics.C: 
321         * ControlExternal.C: 
322         * ControlCopyright.C: include gettext.h
323
324         * ControlCharacter.C: 
325         * character.C: include gettext.h and language.h
326
327 2001-04-03  John Levon  <moz@compsoc.man.ac.uk>
328
329         * ButtonController.h:
330         * ButtonControllerBase.h:
331         * ButtonControllerBase.C:
332         * ButtonPolicies.h:
333         * ButtonPolicies.C:
334         * ControlButton.h:
335         * ControlButton.C:
336         * ControlButtons.h:
337         * ControlButtons.C:
338         * ControlConnections.h:
339         * ControlDialogs.h:
340         * ControlInset.h:
341         * ControlExternal.C:
342         * Makefile.am:
343         * README:
344         * ViewBase.h: s/ControlButton/ControlButtons/
345         s/popup/dialog/
346         s/UndoAll/Restore/ + associated
347
348 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
349
350         * ControlToc.[Ch]: new files; a controller for the TOC popup.
351
352         * GUI.h:
353         * Makefile.am: associated changes with all of the above.
354
355 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
356
357         * ControlExternal.C: bug fixes. Can now apply changes to the inset
358         and edit, view, update the External Material correctly. I hope!
359
360 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
361
362         * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
363
364         * BCTemplates.h: renamed as ButtonController.h
365
366         * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
367
368         * ViewBase.h:
369         * ControlConnections.h: associated change in #include and class names.
370         
371         * ControlExternal.[Ch]: new files; a controller for the External
372         Material popup.
373
374         * GUI.h:
375         * Makefile.am: associated changes with all of the above.
376
377         * ControlGraphics.[Ch]:
378         * ControlInclude.[Ch]:
379         * ControlPrint.[Ch]:
380         (lv): removed.
381         (Browse): new method. Returns the results of a FileDialog browse.
382
383         * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
384         (getVectorFromString): fixed bug.
385
386         * biblio.C (simpleSearch): cleaned up.
387
388 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
389
390         * A slight reworking of Baruch Even's ButtonController patch.
391
392         * BCTemplates.h: new file; all the templates for the ButtonController.
393         Including Baruch's new GuiBC class, with setCancelCloseButton() changed
394         to the more generic setButtonLabel().
395
396         * ButtonController.[Ch]: renamed cancel_label and close_label as
397         cancel_label_ and close_label_.
398
399         * Makefile.am: added BCTemplates.h
400
401 2001-03-29  Juergen Vigna  <jug@sad.it>
402
403         * ControlMinipage.C: removed widthp_ and all it's functions and changed
404         to use new %-lengths of LyXLength.
405
406 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
407
408         * ControlCitation.C (bibkeysInfo): removed Assert.
409
410         * ControlCopyright.h: moved GUICopyright into GUI.h
411
412         * GUI.h: see above.
413
414 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
415
416         * ControlInset.h (clearDaughterParams): is empty by default, not pure.
417         (setDaughterParams): a (by default empty) new method called in show().
418
419         * ControlBibitem.h:
420         * ControlBibtex.h:
421         * ControlError.h:
422         * ControlInclude.h:
423         * ControlMinipage.h:
424         * ControlRef.h:
425         * ControlSearch.h:
426         * ControlUrl.h (clearDaughterParams): removed
427
428         * ControlMinipage.C (applyParamsToInset): update the view.
429         Added namespace minipage containing a helper function getUnits.
430
431         * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
432
433         * ControlCharacter.[Ch]: moved out all the helper functions and the
434         enum into their own file.
435         * character.[Ch]: new files; contain the character helper functions,
436         now inside namespace character.
437
438         * ControlCitation.[Ch]: moved out all the helper functions and the
439         enums into their own file. Simplified interface.
440         * biblio.[Ch]: new files; contain the citation helper functions,
441         now inside namespace biblio. Will be of use also to an improved
442         BibTeX popup.
443
444         * ControlGraphics.[Ch]:
445         * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
446         popups, respectively.
447
448         * GUI.h:
449         * Makefile.am: associated changes.
450
451 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
452
453         * ControlMinipage.[Ch]:
454         * ControlPreamble.[Ch]:
455         * ControlPrint.[Ch]:
456         * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
457         and Print popups and Splash screen, respectively.
458
459         * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
460         screens.
461
462         * GUI.h:
463         * Makefile.am: associated changes.
464
465 2001-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
466
467         * ControlConnections.[Ch]: (docType): new method; returns the type
468         of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
469
470         * ControlRef.[Ch]:
471         * ControlSearch.[Ch]:
472         * ControlTabularCreate.[Ch]: new files; controller for the Ref,
473         Search and TabularCreate popups, respectively.
474
475         * GUI.h:
476         * Makefile.am: associated changes.
477
478 2001-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
479
480         * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
481         contains data.
482
483         * ControlInset.h (apply): fix bug. Can now create new insets again.
484
485         * README: describe program flow.
486
487 2001-03-24  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
488
489         * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
490
491 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
492
493         * ControlDialogs.h: moved class ControlInset into its own file.
494
495         * ControlInset.h: new file. class ControlInset has been expanded to take
496         two template parameters, Inset and Params. Believe that all inset
497         controllers can be derived from this with the minimum of effort.
498
499         * ControlBibitem.[Ch]:
500         * ControlBibtex.[Ch]:
501         * ControlCitation.[Ch]:
502         * ControlCommand.[Ch]: moved most code into ControlInset.
503
504         * lots of files. Moved protected stuff into private where possible.
505
506         * ControlError.[Ch]:
507         * ControlInclude.[Ch]:
508         * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
509         Include and Url popups, respectively.
510
511         * GUI.h:
512         * Makefile.am: associated changes.
513
514 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
515
516         * ControlCredits.[Ch] (getCredits): returns a stringstream not a
517         vector<string>.
518
519 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
520
521         * ControlCredits.C (getCredits): remove std:: qualifier for
522         getline(). 
523
524 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
525
526         * ControlCredits.C (getCredits): add std:: on vector
527
528 2001-03-22  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
529
530         * ControlCredits.C: remove using that is only used once, use
531         std::ios instead of std::iosbase, add some annoying comments.
532
533 2001-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
534
535         * lots of header files: improved explanatory notes.
536
537         * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
538         ControlBase is now a class that only controls the interaction of the
539         View with the ButtonController.
540
541         * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
542         to ControlConnectBase. The class controls the connection/disconnection
543         of signals from the LyX kernel and makes available the kernel (through
544         lv_) to daughter controller classes.
545         Moved out class ControlConnectInset to a new file ControlDialogs.h.
546
547         * ControlDialogs.h: new file. Contains the definition of two template
548         controller classes, ControlDialog and ControlInset (was
549         ControlConnectInset). ControlInset is a parent class for controllers
550         of inset-popups. ControlDialogs is the rather uninspired name for
551         the base class of all non-inset popups. (Eg, Document and Paragraph.)
552         ControlDialogs is reaching a state of maturity as several popups now use
553         it and its functionality becomes clear. ControlInset is still in a state
554         of flux. It is likely that functionality will be moved out of
555         ControlCommands and into it.
556
557         * GUI.h: new file. Moved all the template GUIXXX classes out of the
558         individual Controller header files and into one place. These classes
559         serve only as convenient wrappers to simplify code in the respective
560         frontends' Dialogs::c-tor. Now all derived from a templatised parent.
561
562         * ControlCharacter.[Ch] (show, update, hide):
563         * ControlLog.[Ch] (show, update, hide):
564         * ControlVCLog.[Ch] (show, update, hide): moved back into
565         the ControlDialogs base class.
566         (setParams, clearParams): new methods containing controller-specific
567         code to set/reset the parameters manipulated by the view.
568
569         * ControlCommand.[Ch] (clearParams): a new virtual method, by default
570         empty.
571         (hide): calls clearParams.
572
573         * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
574         by ControlCommand::hide().
575
576         * ControlCopyright.[Ch]:
577         * ControlCredits.[Ch]: new files; controllers for the copyright and
578         credits popups, respectively.
579
580 2001-03-21  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
581
582         * ControlCharacter.C: fix typo
583
584 2001-03-21  Angus Leeming  <a.leeming@ic.ac.uk>
585
586         * ControlCharacter.[Ch]: new files; controller for the character popup.
587
588         * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
589         moved to new files helper_funcs.[Ch].
590
591         * helper_funcs.[Ch]: new files. Some useful helper functions and
592         functors.
593
594         * Makefile.am: added new files.
595
596 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
597
598         * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
599
600 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
601
602         * ControlLog.[Ch]:
603         * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
604         Control log files, respectively.
605
606         * Makefile.am: added new files.
607
608 2001-03-19  Angus Leeming  <a.leeming@ic.ac.uk>
609
610         * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
611
612         * Makefile.am: added ControlBibtex.[Ch].
613
614 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
615
616         * ControlBibitem.C:
617         * ControlCitation.C: added "using SigC::slot" declaration.
618
619         * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
620         to FormCitation.C prior to the merger: "Do not put space between
621         multiple keys".
622
623 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
624
625         * several files: remove CXX_WORKING_NAMESPACES
626
627         * ButtonController.h: noncopyable is in namespace boost
628         * ButtonPolicies.h: ditto
629
630 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
631
632         * Merging changes from BRANCH_MVC back into HEAD.
633
634 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
635
636         * Makefile.am: add ControlBibitem.[Ch].
637
638         * ControlBibitem.[Ch]: new files that together define the Controller
639         for a Bibitem popup.
640
641         * ControlCommand.h (c-tor): give  kb_action a default value of
642         LFUN_NOACTION.
643         
644         * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
645         
646         * ControlCitation.[Ch]: moved search functions out of class.
647         (bibkeysInfo): new method. Returns const reference to private data.
648         (searchKeys): added case-sensitive switch. Used only by simpleSearch
649         for now.
650
651 2001-03-09  Angus Leeming  <a.leeming@ic.ac.uk>
652
653         * ControlCitation.[Ch]: added Search functions to the class,
654         (shamelessly lifted from Marco's gnome code). I think that these would
655         be better as helper functions outside the class, but this is a first
656         stab at it.
657
658 2001-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
659
660         * ControlCitation.[Ch]: (getBibkeyList): removed from class
661         ControlCitation.
662         (getBibkeys, getBibkeyInfo): added to class ControlCitation.
663         (getStringFromVector, getVectorFromString, parseBibTeX): new helper
664         funcs. parseBibTeX() is lifted staraight out of Marco's gnome
665         implementation of FormCitation.
666
667 2001-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
668
669         * ButtonPolicies.h: add SMI_NOOP to enum.
670
671         * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
672
673         * ButtonController.C (input): add "optimising" if-statement. Actually,
674         things don't work correctly without it...
675
676 2001-03-02  John Levon  <moz@compsoc.man.ac.uk>
677
678         * ViewBase.h: remove #pragma directive
679
680         * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
681         to make g++ happy.
682
683 2001-03-02  Angus Leeming  <a.leeming@ic.ac.uk>
684
685         * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
686
687         * Makefile.am: added ButtonPolicies.[Ch]
688
689         * ButtonController.[Ch]: ButtonController is split into
690         ButtonControllerBase and a template ButtonController class. The base
691         class no longer stores a pointer to a ButtonPolicy, but instead
692         accesses the actual instantiation of the policy through a pure virtual
693         method bp(). This method and the ButtonPolicy itself are instantiated
694         in the templatised ButtonController class. This class is derived from
695         the GUI-specific GUIBC class, meaning that the frontends know
696         nothing about the actual policy decided upon by the controllers.
697
698         * ControlBase.[Ch]: No longer store the View or the ButtonController.
699         Instead the actual instantiations are accessed through pure virtual
700         methods view() and bc(). The daughter classes are responsible for the
701         actual View and ButtonController.
702
703         * ControlCitation.h: the templatised class GUICitation instantiates
704         the methods view() and bc(). It also stores the instances of the
705         View and ButtonController.
706         
707 2001-02-23  Angus Leeming  <a.leeming@ic.ac.uk>
708
709         * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
710         also changed to ButtonController.
711
712         * ControlBase.[Ch]:
713         * ControlConnections.[Ch]:
714         * ControlCommand.[Ch]:
715         * ControlCitation.[Ch]:
716         * ViewBase.h: Changes associated with this.
717
718 2001-01-15  Angus Leeming  <a.leeming@ic.ac.uk>
719
720         * ButtonControllerBase.[Ch]: new files. Split Allan's original
721         xforms/ButtonController class into a GUI-I class (here) and an
722         xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
723
724         * ControlBase.[Ch]: new files. ControlBase is an abstract base class
725         from which all Dialog Controllers should be derived. the Controllers
726         are GUI-independent, but are designed to control the behaviour of
727         GUI-specific implementaions of each dialog.
728
729         * ControlConnections.[Ch]: new files. Classes controlling the
730         connections of buffer-independent, buffer-dependent and Inset dialogs
731         with the LyX kernel.
732
733         * ControlCommand.[Ch]: new files. A controller for all dialogs for the
734         InsetCommand subset of insets.
735
736         * ControlCitation.[Ch]: new files. The test specialisation! A
737         controller for the Citation dialog.
738
739         * ViewBase.h: new file. ViewBase is an abstract base class from which
740         GUI-specific dialogs should be derived. The functionality that the GUIs
741         must now implement is much reduced.