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