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