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