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