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