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