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