]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ChangeLog
733aff3a3684d588fdeee67d0b5f8c316d5248c7
[lyx.git] / src / frontends / controllers / ChangeLog
1 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
2
3         * ButtonController.tmpl: added // -*- C++ -*-
4
5         * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
6         ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
7         Needed in _one_ of the ControlCommand-derived classes only.
8
9 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10
11         * ControlInset.h:
12         * ControlSearch.h: #include LString.h
13
14 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
15
16         * ButtonController.h: split into two. The definition remains in
17         ButtonController.h, the declaration is now in ButtonController.tmpl.
18         These template methods should be #included when the derived class is
19         instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
20         and in the qt2 and gnome equivalents.
21
22         * ControlDialogs.h: removed. The definition of class ControlDialog is
23         now to be found in ControlDialog.h and the declaration of the methods
24         is in ControlDialog.tmpl. The two template instantiations are performed
25         in ControlDialog_impl.[Ch], new files also.
26
27         * ControlInset.h: split into two. The definition remains in
28         ControlInset.h, the declaration is now in ControlInset.tmpl.
29         These template methods should be #included derived class is
30         instantiated, in this case in 8 other .C files in this directory.
31
32         * ControlAboutlyx.[Ch]:
33         * ControlCharacter.[Ch]:
34         * ControlCommand.C:
35         * ControlERT.C:
36         * ControlError.C:
37         * ControlExternal.C:
38         * ControlFloat.C:
39         * ControlGraphics.C:
40         * ControlInclude.C:
41         * ControlLog.[Ch]:
42         * ControlMinipage.C:
43         * ControlPreamble.[Ch]:
44         * ControlPrint.[Ch]:
45         * ControlSearch.[Ch]:
46         * ControlShowFile.[Ch]:
47         * ControlSpellchecker.[Ch]:
48         * ControlTabularCreate.[Ch]:
49         * ControlTexinfo.[Ch]:
50         * ControlThesaurus.[Ch]:
51         * ControlVCLog.[Ch]: small changes associated with the above ones.
52
53         * GUI.h: #include the ButtonController and dialog controller files
54         here, rather than forward declare them. This is the correct place
55         for these #includes.
56
57         * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
58         Rename ControlDialogs.h as ControlDialog.h.
59         Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
60         EXTRA_DIST.
61         
62 2002-01-15  Angus Leeming  <a.leeming@ic.ac.uk>
63
64         * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
65
66 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
67
68         * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
69         can be done)
70
71         * ControlGraphics.C (Browse): remove overzealous shortcut
72
73 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
74
75         * FormMinipage.C (apply, update): MinipageParams::width renamed
76         as MinipageParams::pageWidth. InsetMinipage::width  renamed
77         as InsetMinipage::pageWidth.
78
79 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
80
81         * ButtonController.h (refreshReadOnly): use explicit typename
82
83 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
84
85         * helper_funcs.h (browseFile): add default empty button descriptions.
86
87         * ControlGraphics.C (Browse): 
88         * ControlBibtex.C (Browse): 
89         * ControlInclude.C (Browse): add shortcuts to directory buttons
90
91 2002-01-12  John Levon  <moz@compsoc.man.ac.uk>
92
93         * ControlThesaurus.h:
94         * ControlThesaurus.C: update to Aiksaurus 0.14
95  
96 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
97
98         * ControlSpellchecker.C (clearParams): show the closing message
99         only if some words have been checked, thereby fixing
100         bugzilla bug #52.
101
102 2001-12-11  Michael A. Koziarski <michael@koziarski.org>
103
104         * ControlFloat.[Ch]: changes to prevent here definitely being used
105         with wide figures.
106
107 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
108
109         * ControlThesaurus.h: do not include <config.h> in header files
110
111 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
112
113         * ControlToc.C: changes for floatlist
114  
115 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
116
117         * ControlVCLog.C: use _()
118  
119 2001-10-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
120
121         * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
122         that for select.
123
124 2001-10-22  Juergen Vigna  <jug@sad.it>
125
126         * ControlSpellchecker.C (clearParams): use the error_ message of the
127         speller_ if available when the spellchecker died.
128         (setParams): remove double error message display.
129
130 2001-10-15  Angus Leeming  <a.leeming@ic.ac.uk>
131
132         * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
133
134         * helper_funcs.[Ch] (getLatexUnits): see above.
135
136 2001-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
137
138         * ControlTexinfo.C (getContents): use the right file for .sty files
139
140 2001-10-10  Herbert Voss  <voss@perce.de>
141
142         * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
143         and some more stuff from FormTexinfo.C
144         
145         * ControlShowFile.C: hiding the update-button
146
147 2001-10-09  Herbert Voss  <voss@perce.de>
148
149         * ControlTexinfo.[Ch]: new files. Display information about the
150         installed texfiles (cls,sty,bst).
151
152         * ControlShowFile.[Ch]: new files. Display the contents of a file.
153
154         * GUI.h: added classes GUIShowFile and GUITexinfo.
155
156         * Makefile.am: modified appropriately.
157
158 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
159
160         * ControlAboutlyx.C (getVersion): use lyx_version and
161         lyx_release_date instead of old macros
162
163 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
164
165         * ControlSpellchecker.C (check): Behaves well now when the spell
166         library doesn't know a replacement to an incorrect word.
167
168 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
169
170         * ControlSpellchecker.C (clearParams): place emergency_exit_ in
171         the correct place. Can now check spelling more than once!
172
173 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
174
175         * ControlSplash.[Ch]: removed.
176
177         * GUI.h: remove GUISplash class.
178
179         * ViewBase.h: remove ViewSplash class.
180
181         * Makefile.am: remove ControlSplash.[Ch].
182
183 2001-09-25  Angus Leeming  <a.leeming@ic.ac.uk>
184
185         * ControlButtons.h: add variable emergency_exit_. If set to true, the
186         view will be shut down.
187
188         * ControlDialogs.h:
189         * ControlInset.h: act on emergency_exit_.
190
191         * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
192         speller fails to launch.
193
194 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
195
196         * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
197         * (getLabelList): use MakeAbsPath on the buffer name passed to it.
198
199 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
200
201         * ControlRef.h (disconnectOnApply): new method. Set to true.
202         Perhaps make this user-modifiable?
203
204 2001-09-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
205
206         * ControlGraphics.C (Browse): add "jpg" to list of recognized file
207         extensions.
208
209 2001-09-07  Dekel Tsur  <dekelts@tau.ac.il>
210
211         * ControlRef.C (getBufferList, getBufferNum): New methods
212
213 2001-09-12  Angus Leeming  <a.leeming@ic.ac.uk>
214
215         * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
216         of the dialog when the Apply button is pressed. Defaults to false,
217         but can be overridden in the daughter classes.
218
219         * ControlCitation.h (disconnectOnApply): new method. Set to true.
220         Perhaps make this user-modifiable?
221
222 2001-09-11  Angus Leeming  <a.leeming@ic.ac.uk>
223
224         * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
225         we have dialogs that update their contents when the buffer changes.
226         Rather embarassing, really!
227
228 2001-09-07  Angus Leeming  <a.leeming@ic.ac.uk>
229
230         * ControlSearch (replace): change semantics of replace to NOT move on
231         to the next instance of a word once the present instance has been
232         replaced unless we are replacing ALL instances of the word.
233
234 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
235
236         * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
237
238 2001-09-04  Angus Leeming  <a.leeming@ic.ac.uk>
239
240         * ControlCharacter.C: fix Michael's bug: In the "Character layout"
241         dialog, set all options to "reset", close the dialog, re-open it ->
242         the options are set incorrectly.
243
244         * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
245         When Applying it's useful to know whether the dialog is about to close
246         or not (no point refreshing the display for example).
247
248         * ControlInset.C (apply): use isClosing.
249
250 2001-08-25  John Levon  <moz@compsoc.man.ac.uk>
251
252         * ControlInset.h:
253         * ControlDialogs.h: remove bc() hack, now fixed in
254           Qt2 frontend. use member dialog_built_ instead of shared
255           static.
256  
257         * ButtonController.h: 
258         * ButtonPolicies.C: more debug info
259  
260         * ButtonControllerBase.C: call refresh() when setting readOnly !
261  
262         * GUI.h: External form has apply, use the right policy
263
264         * character.C: fix two off-by-one errors when latex font was removed
265  
266 2001-08-15  Angus Leeming  <a.leeming@ic.ac.uk>
267
268         * ControlInset.h (apply): tentative fix for the press Apply multiple
269         times and get multiple new Insets problem.
270
271 2001-08-24  John Levon  <moz@compsoc.man.ac.uk>
272
273         * ControlCharacter.C: fix typo
274
275         * ViewBase.h: 
276         * ControlDialogs.C:
277         * ControlInsets.C: make sure dialog is built before it is shown, so
278           it works properly the very first time it is shown
279  
280 2001-08-20  Herbert Voss  <voss@perce.de>
281
282         * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
283         and styles. Added an option for "bibliography into toc"
284
285 2001-08-15  Angus Leeming  <a.leeming@ic.ac.uk>
286
287         * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
288         LaTeX is no longer a font property.
289
290 2001-08-09  Angus Leeming  <a.leeming@ic.ac.uk>
291
292         * GUI.h: Button controller for Reference dialog changed to
293         NoRepeatedApplyReadOnlyPolicy.
294
295         * biblio.C (getInfo): output volume and number info. Move year to end
296         of string.
297
298 2001-08-09  Allan Rae  <rae@lyx.org>
299
300         * Makefile.am (SUBDIRS, dist-hook): remove bogus entries. 
301
302 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
303
304         * helper_funcs.C (getVectorFromString): fixed small bug.
305
306         * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
307
308 2001-08-07  Edwin Leuven  <leuven@fee.uva.nl>
309
310         * ControlSpellchecker.C: check next word after insert in personal dict
311
312 2001-08-06  Juergen Vigna  <jug@sad.it>
313
314         * ControlERT.[Ch]: new file
315
316 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
317
318         * ControlInset.h: const and non-const forms of params().
319
320         * helper_funcs.C (getStringFromVector,getVectorFromString): remove
321         whitespace from either side of each item.
322
323 2001-07-30  Angus Leeming  <a.leeming@ic.ac.uk>
324
325         * ControlFloat.h: add a != operator for FloatParams.
326         Lars, how did you get this to compile!!!
327
328         * ControlMinipage.[Ch]: uncommented someone's commenting out of
329         operator != for MinipageParams. Who's changing stuff and not compiling?
330
331 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
332
333         * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
334         ControlFloat.C
335
336         * GUI.h: add class GUIFloat
337
338         * ControlFloat.[Ch]: new files
339
340 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
341
342         * ControlPrint.C: #include Lassert.h here.
343
344 2001-07-26  Baruch Even  <baruch@lyx.org>
345
346         * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
347         and png.
348
349 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
350
351         * ControlThesaurus.h:
352         * ControlThesaurus.C:
353         * GUI.h:
354         * Makefile.am: thesaurus support
355
356 2001-07-23  John Levon  <moz@compsoc.man.ac.uk>
357
358         * ControlInclude.h:
359         * ControlInclude.C: implement ability to load file
360  
361 2001-07-18  Juergen Vigna  <jug@sad.it>
362
363         * ControlSearch.C (replace): changes to lyxfind.h function calls.
364
365 2001-07-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
366
367         * biblio.C (getInfo): add a .c_str() to handle the usual
368         stringstream pain.
369
370 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
371
372         * ControlCitation.[Ch]: changes associated with adding natbib support.
373         New public methods, usingNatbib, getCiteStrings and getCiteStyles.
374         New static variable citeStyles_.
375
376         * biblio.[Ch]: large internal rearrangement.
377         New public enum CiteStyle.
378         New public struct CitationStyle.
379         New public functions getCitationStyle, getCiteCommand, getCiteStyles,
380         getNumericalStrings, getAuthorYearStrings
381         (simpleSearch, regexSearch): no longer publicly accessible.
382
383         * helper_funcs.C (getStringFromVector): bug fix.
384
385 2001-07-16  Baruch Even  <baruch@lyx.org>
386
387         * ControlVCLog.h: Added Lsstream.h to includes.
388
389 2001-07-17  Angus Leeming  <a.leeming@ic.ac.uk>
390
391         * ControlSpellchecker.[Ch]: remove d-tor.
392
393 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
394
395         * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
396         
397 2001-07-16  Juergen Vigna  <jug@sad.it>
398
399         * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
400         compiled with USE_PSPELL) to be able to switch between ISpell and
401         PSpell classes.
402
403 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
404
405         Consistent use of Lsstream.h:
406         * ControlAboutlyx.[Ch] (getCredits):
407         * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
408
409 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
410
411         * ControlCredits.[Ch]: removed
412         * ControlCopyright.[Ch]: removed
413         * ControlAboutlyx.[Ch]: added (replaces previous)
414         * GUI.h: removed credits and copyright added about lyx stuff
415
416 2001-07-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
417
418         * ControlSpellchecker.C (getSuggestion): 
419         (getWord): add std:: qualifier
420
421 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
422
423         * ControlSpellchecker.[Ch]: added
424         * ViewBase.h: added partialUpdate(int) member
425         * GUI.h: added spell stuff
426         
427 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
428
429         * ControlExternal.C: (*it). -> it->
430
431 2001-06-16  Angus Leeming  <a.leeming@ic.ac.uk>
432
433         * ButtonController.h: move some included header files out of the
434         frontends and into here.
435
436 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
437
438         * ControlCharacter.C (c-tor): cosmetic name change of signal.
439
440 2001-06-13  Angus Leeming  <a.leeming@ic.ac.uk>
441
442         * *.[h]: added // -*- C++ -*-
443         * *.[C]: removed // -*- C++ -*-
444
445         * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
446         activate Apply button.
447         (clearParams): removed.
448         font_ is now stored as a boost::scoped_ptr.
449         font_ is no longer deleted on hide(), so it's contents can now be used
450         by the Font button on the toolbar.
451         Lots of new methods so that the GUI can easily get the contents of
452         font_ when it update()s.
453
454 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
455
456         * ControlCharacter.C (apply): test that font_ exists, thereby preventing
457         crash when the Font button on the Toolbar is pressed.
458
459         * GUI.h: change policy of Character button controller to
460         OkApplyCancelReadOnlyPolicy.
461
462 2001-06-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
463
464         * ControlToc.C (getContents): don't add anything to the list if it
465         is supposed to be empty.
466
467 2001-06-01  Angus Leeming  <a.leeming@ic.ac.uk>
468
469         * helper_funcs.C (getVectorFromString): bug fix.
470
471 2001-05-30  Angus Leeming  <a.leeming@ic.ac.uk>
472
473         * ButtonController.h
474         * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
475         from ButtonControllerBase::readOnly. Updates the state of the widgets
476         in the read-only list only when the read-only status of the document
477         changes.
478         (refresh): moved this stuff into refreshReadOnly.
479
480 2001-05-18  Angus Leeming  <a.leeming@ic.ac.uk>
481
482         * ControlPrint.C (c-tor):
483         * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
484
485 2001-05-14  Angus Leeming  <a.leeming@ic.ac.uk>
486
487         * biblio.C:
488         * character.h: small clean-ups.
489
490 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
491
492         * ControlToc.C (getType): remove support for old float list.
493
494 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
495
496         * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
497         * ControlGraphics.h: no longer include insetgraphicsParams.h
498         * ControlInset.h: no longer include LyXView.h
499
500         * ControlBibitem.C:
501         * ControlBibtex.C:
502         * ControlButtons.C:
503         * ControlCharacter.C:
504         * ControlCitation.C:
505         * ControlCommand.C:
506         * ControlConnections.C:
507         * ControlCopyright.C:
508         * ControlCredits.C:
509         * ControlError.C:
510         * ControlExternal.C:
511         * ControlGraphics.C:
512         * ControlInclude.C:
513         * ControlLog.C:
514         * ControlMinipage.C:
515         * ControlPreamble.C:
516         * ControlPrint.C:
517         * ControlRef.C:
518         * ControlSearch.C:
519         * ControlTabularCreate.C:
520         * ControlToc.C:
521         * ControlVCLog.C: they're now in here!
522
523 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
524
525         * ButtonControllerBase.h: C++ mode, inherit privately from
526         noncopyable 
527         * ButtonPolicies.h: ditto
528
529         * ButtonController.h: C++ mode, swap init order of restore_ and
530         cancel_ 
531
532 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
533
534         * ControlTabularCreate.h:
535         * ControlTabularCreate.C: make dialogs use a pair of uints
536           instead of a string
537
538         * ControlVCLog.h:
539         * ControlVCLog.C: fill a stringstream with the log contents
540         and then delete it
541
542         * ControlExternal.C: from Angus, clone the new InsetExternal
543           before acting on it
544
545 2001-04-09  Angus Leeming  <a.leeming@ic.ac.uk>
546
547         * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
548         and made more robust.
549
550 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
551
552         * ControlToc.C: 
553         * ControlSearch.C: 
554         * ControlPrint.C: 
555         * ControlPreamble.C: 
556         * ControlInclude.C: 
557         * ControlGraphics.C: 
558         * ControlExternal.C: 
559         * ControlCopyright.C: include gettext.h
560
561         * ControlCharacter.C: 
562         * character.C: include gettext.h and language.h
563
564 2001-04-03  John Levon  <moz@compsoc.man.ac.uk>
565
566         * ButtonController.h:
567         * ButtonControllerBase.h:
568         * ButtonControllerBase.C:
569         * ButtonPolicies.h:
570         * ButtonPolicies.C:
571         * ControlButton.h:
572         * ControlButton.C:
573         * ControlButtons.h:
574         * ControlButtons.C:
575         * ControlConnections.h:
576         * ControlDialogs.h:
577         * ControlInset.h:
578         * ControlExternal.C:
579         * Makefile.am:
580         * README:
581         * ViewBase.h: s/ControlButton/ControlButtons/
582         s/popup/dialog/
583         s/UndoAll/Restore/ + associated
584
585 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
586
587         * ControlToc.[Ch]: new files; a controller for the TOC popup.
588
589         * GUI.h:
590         * Makefile.am: associated changes with all of the above.
591
592 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
593
594         * ControlExternal.C: bug fixes. Can now apply changes to the inset
595         and edit, view, update the External Material correctly. I hope!
596
597 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
598
599         * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
600
601         * BCTemplates.h: renamed as ButtonController.h
602
603         * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
604
605         * ViewBase.h:
606         * ControlConnections.h: associated change in #include and class names.
607         
608         * ControlExternal.[Ch]: new files; a controller for the External
609         Material popup.
610
611         * GUI.h:
612         * Makefile.am: associated changes with all of the above.
613
614         * ControlGraphics.[Ch]:
615         * ControlInclude.[Ch]:
616         * ControlPrint.[Ch]:
617         (lv): removed.
618         (Browse): new method. Returns the results of a FileDialog browse.
619
620         * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
621         (getVectorFromString): fixed bug.
622
623         * biblio.C (simpleSearch): cleaned up.
624
625 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
626
627         * A slight reworking of Baruch Even's ButtonController patch.
628
629         * BCTemplates.h: new file; all the templates for the ButtonController.
630         Including Baruch's new GuiBC class, with setCancelCloseButton() changed
631         to the more generic setButtonLabel().
632
633         * ButtonController.[Ch]: renamed cancel_label and close_label as
634         cancel_label_ and close_label_.
635
636         * Makefile.am: added BCTemplates.h
637
638 2001-03-29  Juergen Vigna  <jug@sad.it>
639
640         * ControlMinipage.C: removed widthp_ and all it's functions and changed
641         to use new %-lengths of LyXLength.
642
643 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
644
645         * ControlCitation.C (bibkeysInfo): removed Assert.
646
647         * ControlCopyright.h: moved GUICopyright into GUI.h
648
649         * GUI.h: see above.
650
651 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
652
653         * ControlInset.h (clearDaughterParams): is empty by default, not pure.
654         (setDaughterParams): a (by default empty) new method called in show().
655
656         * ControlBibitem.h:
657         * ControlBibtex.h:
658         * ControlError.h:
659         * ControlInclude.h:
660         * ControlMinipage.h:
661         * ControlRef.h:
662         * ControlSearch.h:
663         * ControlUrl.h (clearDaughterParams): removed
664
665         * ControlMinipage.C (applyParamsToInset): update the view.
666         Added namespace minipage containing a helper function getUnits.
667
668         * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
669
670         * ControlCharacter.[Ch]: moved out all the helper functions and the
671         enum into their own file.
672         * character.[Ch]: new files; contain the character helper functions,
673         now inside namespace character.
674
675         * ControlCitation.[Ch]: moved out all the helper functions and the
676         enums into their own file. Simplified interface.
677         * biblio.[Ch]: new files; contain the citation helper functions,
678         now inside namespace biblio. Will be of use also to an improved
679         BibTeX popup.
680
681         * ControlGraphics.[Ch]:
682         * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
683         popups, respectively.
684
685         * GUI.h:
686         * Makefile.am: associated changes.
687
688 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
689
690         * ControlMinipage.[Ch]:
691         * ControlPreamble.[Ch]:
692         * ControlPrint.[Ch]:
693         * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
694         and Print popups and Splash screen, respectively.
695
696         * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
697         screens.
698
699         * GUI.h:
700         * Makefile.am: associated changes.
701
702 2001-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
703
704         * ControlConnections.[Ch]: (docType): new method; returns the type
705         of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
706
707         * ControlRef.[Ch]:
708         * ControlSearch.[Ch]:
709         * ControlTabularCreate.[Ch]: new files; controller for the Ref,
710         Search and TabularCreate popups, respectively.
711
712         * GUI.h:
713         * Makefile.am: associated changes.
714
715 2001-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
716
717         * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
718         contains data.
719
720         * ControlInset.h (apply): fix bug. Can now create new insets again.
721
722         * README: describe program flow.
723
724 2001-03-24  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
725
726         * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
727
728 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
729
730         * ControlDialogs.h: moved class ControlInset into its own file.
731
732         * ControlInset.h: new file. class ControlInset has been expanded to take
733         two template parameters, Inset and Params. Believe that all inset
734         controllers can be derived from this with the minimum of effort.
735
736         * ControlBibitem.[Ch]:
737         * ControlBibtex.[Ch]:
738         * ControlCitation.[Ch]:
739         * ControlCommand.[Ch]: moved most code into ControlInset.
740
741         * lots of files. Moved protected stuff into private where possible.
742
743         * ControlError.[Ch]:
744         * ControlInclude.[Ch]:
745         * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
746         Include and Url popups, respectively.
747
748         * GUI.h:
749         * Makefile.am: associated changes.
750
751 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
752
753         * ControlCredits.[Ch] (getCredits): returns a stringstream not a
754         vector<string>.
755
756 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
757
758         * ControlCredits.C (getCredits): remove std:: qualifier for
759         getline(). 
760
761 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
762
763         * ControlCredits.C (getCredits): add std:: on vector
764
765 2001-03-22  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
766
767         * ControlCredits.C: remove using that is only used once, use
768         std::ios instead of std::iosbase, add some annoying comments.
769
770 2001-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
771
772         * lots of header files: improved explanatory notes.
773
774         * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
775         ControlBase is now a class that only controls the interaction of the
776         View with the ButtonController.
777
778         * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
779         to ControlConnectBase. The class controls the connection/disconnection
780         of signals from the LyX kernel and makes available the kernel (through
781         lv_) to daughter controller classes.
782         Moved out class ControlConnectInset to a new file ControlDialogs.h.
783
784         * ControlDialogs.h: new file. Contains the definition of two template
785         controller classes, ControlDialog and ControlInset (was
786         ControlConnectInset). ControlInset is a parent class for controllers
787         of inset-popups. ControlDialogs is the rather uninspired name for
788         the base class of all non-inset popups. (Eg, Document and Paragraph.)
789         ControlDialogs is reaching a state of maturity as several popups now use
790         it and its functionality becomes clear. ControlInset is still in a state
791         of flux. It is likely that functionality will be moved out of
792         ControlCommands and into it.
793
794         * GUI.h: new file. Moved all the template GUIXXX classes out of the
795         individual Controller header files and into one place. These classes
796         serve only as convenient wrappers to simplify code in the respective
797         frontends' Dialogs::c-tor. Now all derived from a templatised parent.
798
799         * ControlCharacter.[Ch] (show, update, hide):
800         * ControlLog.[Ch] (show, update, hide):
801         * ControlVCLog.[Ch] (show, update, hide): moved back into
802         the ControlDialogs base class.
803         (setParams, clearParams): new methods containing controller-specific
804         code to set/reset the parameters manipulated by the view.
805
806         * ControlCommand.[Ch] (clearParams): a new virtual method, by default
807         empty.
808         (hide): calls clearParams.
809
810         * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
811         by ControlCommand::hide().
812
813         * ControlCopyright.[Ch]:
814         * ControlCredits.[Ch]: new files; controllers for the copyright and
815         credits popups, respectively.
816
817 2001-03-21  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
818
819         * ControlCharacter.C: fix typo
820
821 2001-03-21  Angus Leeming  <a.leeming@ic.ac.uk>
822
823         * ControlCharacter.[Ch]: new files; controller for the character popup.
824
825         * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
826         moved to new files helper_funcs.[Ch].
827
828         * helper_funcs.[Ch]: new files. Some useful helper functions and
829         functors.
830
831         * Makefile.am: added new files.
832
833 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
834
835         * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
836
837 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
838
839         * ControlLog.[Ch]:
840         * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
841         Control log files, respectively.
842
843         * Makefile.am: added new files.
844
845 2001-03-19  Angus Leeming  <a.leeming@ic.ac.uk>
846
847         * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
848
849         * Makefile.am: added ControlBibtex.[Ch].
850
851 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
852
853         * ControlBibitem.C:
854         * ControlCitation.C: added "using SigC::slot" declaration.
855
856         * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
857         to FormCitation.C prior to the merger: "Do not put space between
858         multiple keys".
859
860 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
861
862         * several files: remove CXX_WORKING_NAMESPACES
863
864         * ButtonController.h: noncopyable is in namespace boost
865         * ButtonPolicies.h: ditto
866
867 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
868
869         * Merging changes from BRANCH_MVC back into HEAD.
870
871 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
872
873         * Makefile.am: add ControlBibitem.[Ch].
874
875         * ControlBibitem.[Ch]: new files that together define the Controller
876         for a Bibitem popup.
877
878         * ControlCommand.h (c-tor): give  kb_action a default value of
879         LFUN_NOACTION.
880         
881         * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
882         
883         * ControlCitation.[Ch]: moved search functions out of class.
884         (bibkeysInfo): new method. Returns const reference to private data.
885         (searchKeys): added case-sensitive switch. Used only by simpleSearch
886         for now.
887
888 2001-03-09  Angus Leeming  <a.leeming@ic.ac.uk>
889
890         * ControlCitation.[Ch]: added Search functions to the class,
891         (shamelessly lifted from Marco's gnome code). I think that these would
892         be better as helper functions outside the class, but this is a first
893         stab at it.
894
895 2001-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
896
897         * ControlCitation.[Ch]: (getBibkeyList): removed from class
898         ControlCitation.
899         (getBibkeys, getBibkeyInfo): added to class ControlCitation.
900         (getStringFromVector, getVectorFromString, parseBibTeX): new helper
901         funcs. parseBibTeX() is lifted staraight out of Marco's gnome
902         implementation of FormCitation.
903
904 2001-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
905
906         * ButtonPolicies.h: add SMI_NOOP to enum.
907
908         * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
909
910         * ButtonController.C (input): add "optimising" if-statement. Actually,
911         things don't work correctly without it...
912
913 2001-03-02  John Levon  <moz@compsoc.man.ac.uk>
914
915         * ViewBase.h: remove #pragma directive
916
917         * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
918         to make g++ happy.
919
920 2001-03-02  Angus Leeming  <a.leeming@ic.ac.uk>
921
922         * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
923
924         * Makefile.am: added ButtonPolicies.[Ch]
925
926         * ButtonController.[Ch]: ButtonController is split into
927         ButtonControllerBase and a template ButtonController class. The base
928         class no longer stores a pointer to a ButtonPolicy, but instead
929         accesses the actual instantiation of the policy through a pure virtual
930         method bp(). This method and the ButtonPolicy itself are instantiated
931         in the templatised ButtonController class. This class is derived from
932         the GUI-specific GUIBC class, meaning that the frontends know
933         nothing about the actual policy decided upon by the controllers.
934
935         * ControlBase.[Ch]: No longer store the View or the ButtonController.
936         Instead the actual instantiations are accessed through pure virtual
937         methods view() and bc(). The daughter classes are responsible for the
938         actual View and ButtonController.
939
940         * ControlCitation.h: the templatised class GUICitation instantiates
941         the methods view() and bc(). It also stores the instances of the
942         View and ButtonController.
943         
944 2001-02-23  Angus Leeming  <a.leeming@ic.ac.uk>
945
946         * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
947         also changed to ButtonController.
948
949         * ControlBase.[Ch]:
950         * ControlConnections.[Ch]:
951         * ControlCommand.[Ch]:
952         * ControlCitation.[Ch]:
953         * ViewBase.h: Changes associated with this.
954
955 2001-01-15  Angus Leeming  <a.leeming@ic.ac.uk>
956
957         * ButtonControllerBase.[Ch]: new files. Split Allan's original
958         xforms/ButtonController class into a GUI-I class (here) and an
959         xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
960
961         * ControlBase.[Ch]: new files. ControlBase is an abstract base class
962         from which all Dialog Controllers should be derived. the Controllers
963         are GUI-independent, but are designed to control the behaviour of
964         GUI-specific implementaions of each dialog.
965
966         * ControlConnections.[Ch]: new files. Classes controlling the
967         connections of buffer-independent, buffer-dependent and Inset dialogs
968         with the LyX kernel.
969
970         * ControlCommand.[Ch]: new files. A controller for all dialogs for the
971         InsetCommand subset of insets.
972
973         * ControlCitation.[Ch]: new files. The test specialisation! A
974         controller for the Citation dialog.
975
976         * ViewBase.h: new file. ViewBase is an abstract base class from which
977         GUI-specific dialogs should be derived. The functionality that the GUIs
978         must now implement is much reduced.