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