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