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