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