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