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