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