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