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