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