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