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