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