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