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