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