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