]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ChangeLog
Forgotten ChangeLog entries.
[lyx.git] / src / frontends / controllers / ChangeLog
1 2001-07-16  Juergen Vigna  <jug@sad.it>
2
3         * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
4         compiled with USE_PSPELL) to be able to switch between ISpell and
5         PSpell classes.
6
7 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
8
9         Consistent use of Lsstream.h:
10         * ControlAboutlyx.[Ch] (getCredits):
11         * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
12
13 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14
15         * ControlCredits.[Ch]: removed
16         * ControlCopyright.[Ch]: removed
17         * ControlAboutlyx.[Ch]: added (replaces previous)
18         * GUI.h: removed credits and copyright added about lyx stuff
19
20 2001-07-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
21
22         * ControlSpellchecker.C (getSuggestion): 
23         (getWord): add std:: qualifier
24
25 >001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
26
27         * ControlSpellchecker.[Ch]: added
28         * ViewBase.h: added partialUpdate(int) member
29         * GUI.h: added spell stuff
30         
31 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
32
33         * ControlExternal.C: (*it). -> it->
34
35 2001-06-16  Angus Leeming  <a.leeming@ic.ac.uk>
36
37         * ButtonController.h: move some included header files out of the
38         frontends and into here.
39
40 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
41
42         * ControlCharacter.C (c-tor): cosmetic name change of signal.
43
44 2001-06-13  Angus Leeming  <a.leeming@ic.ac.uk>
45
46         * *.[h]: added // -*- C++ -*-
47         * *.[C]: removed // -*- C++ -*-
48
49         * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
50         activate Apply button.
51         (clearParams): removed.
52         font_ is now stored as a boost::scoped_ptr.
53         font_ is no longer deleted on hide(), so it's contents can now be used
54         by the Font button on the toolbar.
55         Lots of new methods so that the GUI can easily get the contents of
56         font_ when it update()s.
57
58 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
59
60         * ControlCharacter.C (apply): test that font_ exists, thereby preventing
61         crash when the Font button on the Toolbar is pressed.
62
63         * GUI.h: change policy of Character button controller to
64         OkApplyCancelReadOnlyPolicy.
65
66 2001-06-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
67
68         * ControlToc.C (getContents): don't add anything to the list if it
69         is supposed to be empty.
70
71 2001-06-01  Angus Leeming  <a.leeming@ic.ac.uk>
72
73         * helper_funcs.C (getVectorFromString): bug fix.
74
75 2001-05-30  Angus Leeming  <a.leeming@ic.ac.uk>
76
77         * ButtonController.h
78         * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
79         from ButtonControllerBase::readOnly. Updates the state of the widgets
80         in the read-only list only when the read-only status of the document
81         changes.
82         (refresh): moved this stuff into refreshReadOnly.
83
84 2001-05-18  Angus Leeming  <a.leeming@ic.ac.uk>
85
86         * ControlPrint.C (c-tor):
87         * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
88
89 2001-05-14  Angus Leeming  <a.leeming@ic.ac.uk>
90
91         * biblio.C:
92         * character.h: small clean-ups.
93
94 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
95
96         * ControlToc.C (getType): remove support for old float list.
97
98 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
99
100         * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
101         * ControlGraphics.h: no longer include insetgraphicsParams.h
102         * ControlInset.h: no longer include LyXView.h
103
104         * ControlBibitem.C:
105         * ControlBibtex.C:
106         * ControlButtons.C:
107         * ControlCharacter.C:
108         * ControlCitation.C:
109         * ControlCommand.C:
110         * ControlConnections.C:
111         * ControlCopyright.C:
112         * ControlCredits.C:
113         * ControlError.C:
114         * ControlExternal.C:
115         * ControlGraphics.C:
116         * ControlInclude.C:
117         * ControlLog.C:
118         * ControlMinipage.C:
119         * ControlPreamble.C:
120         * ControlPrint.C:
121         * ControlRef.C:
122         * ControlSearch.C:
123         * ControlTabularCreate.C:
124         * ControlToc.C:
125         * ControlVCLog.C: they're now in here!
126
127 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
128
129         * ButtonControllerBase.h: C++ mode, inherit privately from
130         noncopyable 
131         * ButtonPolicies.h: ditto
132
133         * ButtonController.h: C++ mode, swap init order of restore_ and
134         cancel_ 
135
136 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
137
138         * ControlTabularCreate.h:
139         * ControlTabularCreate.C: make dialogs use a pair of uints
140           instead of a string
141
142         * ControlVCLog.h:
143         * ControlVCLog.C: fill a stringstream with the log contents
144         and then delete it
145
146         * ControlExternal.C: from Angus, clone the new InsetExternal
147           before acting on it
148
149 2001-04-09  Angus Leeming  <a.leeming@ic.ac.uk>
150
151         * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
152         and made more robust.
153
154 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
155
156         * ControlToc.C: 
157         * ControlSearch.C: 
158         * ControlPrint.C: 
159         * ControlPreamble.C: 
160         * ControlInclude.C: 
161         * ControlGraphics.C: 
162         * ControlExternal.C: 
163         * ControlCopyright.C: include gettext.h
164
165         * ControlCharacter.C: 
166         * character.C: include gettext.h and language.h
167
168 2001-04-03  John Levon  <moz@compsoc.man.ac.uk>
169
170         * ButtonController.h:
171         * ButtonControllerBase.h:
172         * ButtonControllerBase.C:
173         * ButtonPolicies.h:
174         * ButtonPolicies.C:
175         * ControlButton.h:
176         * ControlButton.C:
177         * ControlButtons.h:
178         * ControlButtons.C:
179         * ControlConnections.h:
180         * ControlDialogs.h:
181         * ControlInset.h:
182         * ControlExternal.C:
183         * Makefile.am:
184         * README:
185         * ViewBase.h: s/ControlButton/ControlButtons/
186         s/popup/dialog/
187         s/UndoAll/Restore/ + associated
188
189 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
190
191         * ControlToc.[Ch]: new files; a controller for the TOC popup.
192
193         * GUI.h:
194         * Makefile.am: associated changes with all of the above.
195
196 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
197
198         * ControlExternal.C: bug fixes. Can now apply changes to the inset
199         and edit, view, update the External Material correctly. I hope!
200
201 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
202
203         * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
204
205         * BCTemplates.h: renamed as ButtonController.h
206
207         * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
208
209         * ViewBase.h:
210         * ControlConnections.h: associated change in #include and class names.
211         
212         * ControlExternal.[Ch]: new files; a controller for the External
213         Material popup.
214
215         * GUI.h:
216         * Makefile.am: associated changes with all of the above.
217
218         * ControlGraphics.[Ch]:
219         * ControlInclude.[Ch]:
220         * ControlPrint.[Ch]:
221         (lv): removed.
222         (Browse): new method. Returns the results of a FileDialog browse.
223
224         * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
225         (getVectorFromString): fixed bug.
226
227         * biblio.C (simpleSearch): cleaned up.
228
229 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
230
231         * A slight reworking of Baruch Even's ButtonController patch.
232
233         * BCTemplates.h: new file; all the templates for the ButtonController.
234         Including Baruch's new GuiBC class, with setCancelCloseButton() changed
235         to the more generic setButtonLabel().
236
237         * ButtonController.[Ch]: renamed cancel_label and close_label as
238         cancel_label_ and close_label_.
239
240         * Makefile.am: added BCTemplates.h
241
242 2001-03-29  Juergen Vigna  <jug@sad.it>
243
244         * ControlMinipage.C: removed widthp_ and all it's functions and changed
245         to use new %-lengths of LyXLength.
246
247 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
248
249         * ControlCitation.C (bibkeysInfo): removed Assert.
250
251         * ControlCopyright.h: moved GUICopyright into GUI.h
252
253         * GUI.h: see above.
254
255 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
256
257         * ControlInset.h (clearDaughterParams): is empty by default, not pure.
258         (setDaughterParams): a (by default empty) new method called in show().
259
260         * ControlBibitem.h:
261         * ControlBibtex.h:
262         * ControlError.h:
263         * ControlInclude.h:
264         * ControlMinipage.h:
265         * ControlRef.h:
266         * ControlSearch.h:
267         * ControlUrl.h (clearDaughterParams): removed
268
269         * ControlMinipage.C (applyParamsToInset): update the view.
270         Added namespace minipage containing a helper function getUnits.
271
272         * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
273
274         * ControlCharacter.[Ch]: moved out all the helper functions and the
275         enum into their own file.
276         * character.[Ch]: new files; contain the character helper functions,
277         now inside namespace character.
278
279         * ControlCitation.[Ch]: moved out all the helper functions and the
280         enums into their own file. Simplified interface.
281         * biblio.[Ch]: new files; contain the citation helper functions,
282         now inside namespace biblio. Will be of use also to an improved
283         BibTeX popup.
284
285         * ControlGraphics.[Ch]:
286         * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
287         popups, respectively.
288
289         * GUI.h:
290         * Makefile.am: associated changes.
291
292 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
293
294         * ControlMinipage.[Ch]:
295         * ControlPreamble.[Ch]:
296         * ControlPrint.[Ch]:
297         * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
298         and Print popups and Splash screen, respectively.
299
300         * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
301         screens.
302
303         * GUI.h:
304         * Makefile.am: associated changes.
305
306 2001-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
307
308         * ControlConnections.[Ch]: (docType): new method; returns the type
309         of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
310
311         * ControlRef.[Ch]:
312         * ControlSearch.[Ch]:
313         * ControlTabularCreate.[Ch]: new files; controller for the Ref,
314         Search and TabularCreate popups, respectively.
315
316         * GUI.h:
317         * Makefile.am: associated changes.
318
319 2001-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
320
321         * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
322         contains data.
323
324         * ControlInset.h (apply): fix bug. Can now create new insets again.
325
326         * README: describe program flow.
327
328 2001-03-24  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
329
330         * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
331
332 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
333
334         * ControlDialogs.h: moved class ControlInset into its own file.
335
336         * ControlInset.h: new file. class ControlInset has been expanded to take
337         two template parameters, Inset and Params. Believe that all inset
338         controllers can be derived from this with the minimum of effort.
339
340         * ControlBibitem.[Ch]:
341         * ControlBibtex.[Ch]:
342         * ControlCitation.[Ch]:
343         * ControlCommand.[Ch]: moved most code into ControlInset.
344
345         * lots of files. Moved protected stuff into private where possible.
346
347         * ControlError.[Ch]:
348         * ControlInclude.[Ch]:
349         * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
350         Include and Url popups, respectively.
351
352         * GUI.h:
353         * Makefile.am: associated changes.
354
355 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
356
357         * ControlCredits.[Ch] (getCredits): returns a stringstream not a
358         vector<string>.
359
360 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
361
362         * ControlCredits.C (getCredits): remove std:: qualifier for
363         getline(). 
364
365 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
366
367         * ControlCredits.C (getCredits): add std:: on vector
368
369 2001-03-22  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
370
371         * ControlCredits.C: remove using that is only used once, use
372         std::ios instead of std::iosbase, add some annoying comments.
373
374 2001-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
375
376         * lots of header files: improved explanatory notes.
377
378         * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
379         ControlBase is now a class that only controls the interaction of the
380         View with the ButtonController.
381
382         * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
383         to ControlConnectBase. The class controls the connection/disconnection
384         of signals from the LyX kernel and makes available the kernel (through
385         lv_) to daughter controller classes.
386         Moved out class ControlConnectInset to a new file ControlDialogs.h.
387
388         * ControlDialogs.h: new file. Contains the definition of two template
389         controller classes, ControlDialog and ControlInset (was
390         ControlConnectInset). ControlInset is a parent class for controllers
391         of inset-popups. ControlDialogs is the rather uninspired name for
392         the base class of all non-inset popups. (Eg, Document and Paragraph.)
393         ControlDialogs is reaching a state of maturity as several popups now use
394         it and its functionality becomes clear. ControlInset is still in a state
395         of flux. It is likely that functionality will be moved out of
396         ControlCommands and into it.
397
398         * GUI.h: new file. Moved all the template GUIXXX classes out of the
399         individual Controller header files and into one place. These classes
400         serve only as convenient wrappers to simplify code in the respective
401         frontends' Dialogs::c-tor. Now all derived from a templatised parent.
402
403         * ControlCharacter.[Ch] (show, update, hide):
404         * ControlLog.[Ch] (show, update, hide):
405         * ControlVCLog.[Ch] (show, update, hide): moved back into
406         the ControlDialogs base class.
407         (setParams, clearParams): new methods containing controller-specific
408         code to set/reset the parameters manipulated by the view.
409
410         * ControlCommand.[Ch] (clearParams): a new virtual method, by default
411         empty.
412         (hide): calls clearParams.
413
414         * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
415         by ControlCommand::hide().
416
417         * ControlCopyright.[Ch]:
418         * ControlCredits.[Ch]: new files; controllers for the copyright and
419         credits popups, respectively.
420
421 2001-03-21  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
422
423         * ControlCharacter.C: fix typo
424
425 2001-03-21  Angus Leeming  <a.leeming@ic.ac.uk>
426
427         * ControlCharacter.[Ch]: new files; controller for the character popup.
428
429         * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
430         moved to new files helper_funcs.[Ch].
431
432         * helper_funcs.[Ch]: new files. Some useful helper functions and
433         functors.
434
435         * Makefile.am: added new files.
436
437 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
438
439         * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
440
441 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
442
443         * ControlLog.[Ch]:
444         * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
445         Control log files, respectively.
446
447         * Makefile.am: added new files.
448
449 2001-03-19  Angus Leeming  <a.leeming@ic.ac.uk>
450
451         * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
452
453         * Makefile.am: added ControlBibtex.[Ch].
454
455 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
456
457         * ControlBibitem.C:
458         * ControlCitation.C: added "using SigC::slot" declaration.
459
460         * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
461         to FormCitation.C prior to the merger: "Do not put space between
462         multiple keys".
463
464 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
465
466         * several files: remove CXX_WORKING_NAMESPACES
467
468         * ButtonController.h: noncopyable is in namespace boost
469         * ButtonPolicies.h: ditto
470
471 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
472
473         * Merging changes from BRANCH_MVC back into HEAD.
474
475 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
476
477         * Makefile.am: add ControlBibitem.[Ch].
478
479         * ControlBibitem.[Ch]: new files that together define the Controller
480         for a Bibitem popup.
481
482         * ControlCommand.h (c-tor): give  kb_action a default value of
483         LFUN_NOACTION.
484         
485         * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
486         
487         * ControlCitation.[Ch]: moved search functions out of class.
488         (bibkeysInfo): new method. Returns const reference to private data.
489         (searchKeys): added case-sensitive switch. Used only by simpleSearch
490         for now.
491
492 2001-03-09  Angus Leeming  <a.leeming@ic.ac.uk>
493
494         * ControlCitation.[Ch]: added Search functions to the class,
495         (shamelessly lifted from Marco's gnome code). I think that these would
496         be better as helper functions outside the class, but this is a first
497         stab at it.
498
499 2001-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
500
501         * ControlCitation.[Ch]: (getBibkeyList): removed from class
502         ControlCitation.
503         (getBibkeys, getBibkeyInfo): added to class ControlCitation.
504         (getStringFromVector, getVectorFromString, parseBibTeX): new helper
505         funcs. parseBibTeX() is lifted staraight out of Marco's gnome
506         implementation of FormCitation.
507
508 2001-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
509
510         * ButtonPolicies.h: add SMI_NOOP to enum.
511
512         * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
513
514         * ButtonController.C (input): add "optimising" if-statement. Actually,
515         things don't work correctly without it...
516
517 2001-03-02  John Levon  <moz@compsoc.man.ac.uk>
518
519         * ViewBase.h: remove #pragma directive
520
521         * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
522         to make g++ happy.
523
524 2001-03-02  Angus Leeming  <a.leeming@ic.ac.uk>
525
526         * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
527
528         * Makefile.am: added ButtonPolicies.[Ch]
529
530         * ButtonController.[Ch]: ButtonController is split into
531         ButtonControllerBase and a template ButtonController class. The base
532         class no longer stores a pointer to a ButtonPolicy, but instead
533         accesses the actual instantiation of the policy through a pure virtual
534         method bp(). This method and the ButtonPolicy itself are instantiated
535         in the templatised ButtonController class. This class is derived from
536         the GUI-specific GUIBC class, meaning that the frontends know
537         nothing about the actual policy decided upon by the controllers.
538
539         * ControlBase.[Ch]: No longer store the View or the ButtonController.
540         Instead the actual instantiations are accessed through pure virtual
541         methods view() and bc(). The daughter classes are responsible for the
542         actual View and ButtonController.
543
544         * ControlCitation.h: the templatised class GUICitation instantiates
545         the methods view() and bc(). It also stores the instances of the
546         View and ButtonController.
547         
548 2001-02-23  Angus Leeming  <a.leeming@ic.ac.uk>
549
550         * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
551         also changed to ButtonController.
552
553         * ControlBase.[Ch]:
554         * ControlConnections.[Ch]:
555         * ControlCommand.[Ch]:
556         * ControlCitation.[Ch]:
557         * ViewBase.h: Changes associated with this.
558
559 2001-01-15  Angus Leeming  <a.leeming@ic.ac.uk>
560
561         * ButtonControllerBase.[Ch]: new files. Split Allan's original
562         xforms/ButtonController class into a GUI-I class (here) and an
563         xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
564
565         * ControlBase.[Ch]: new files. ControlBase is an abstract base class
566         from which all Dialog Controllers should be derived. the Controllers
567         are GUI-independent, but are designed to control the behaviour of
568         GUI-specific implementaions of each dialog.
569
570         * ControlConnections.[Ch]: new files. Classes controlling the
571         connections of buffer-independent, buffer-dependent and Inset dialogs
572         with the LyX kernel.
573
574         * ControlCommand.[Ch]: new files. A controller for all dialogs for the
575         InsetCommand subset of insets.
576
577         * ControlCitation.[Ch]: new files. The test specialisation! A
578         controller for the Citation dialog.
579
580         * ViewBase.h: new file. ViewBase is an abstract base class from which
581         GUI-specific dialogs should be derived. The functionality that the GUIs
582         must now implement is much reduced.