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