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