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