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