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