]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ChangeLog
10458537b9899a21016293720aef2751b007ffaa
[lyx.git] / src / frontends / controllers / ChangeLog
1 2001-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
2
3         * lots of header files: improved explanatory notes.
4
5         * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
6         ControlBase is now a class that only controls the interaction of the
7         View with the ButtonController.
8
9         * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
10         to ControlConnectBase. The class controls the connection/disconnection
11         of signals from the LyX kernel and makes available the kernel (through
12         lv_) to daughter controller classes.
13         Moved out class ControlConnectInset to a new file ControlDialogs.h.
14
15         * ControlDialogs.h: new file. Contains the definition of two template
16         controller classes, ControlDialog and ControlInset (was
17         ControlConnectInset). ControlInset is a parent class for controllers
18         of inset-popups. ControlDialogs is the rather uninspired name for
19         the base class of all non-inset popups. (Eg, Document and Paragraph.)
20         ControlDialogs is reaching a state of maturity as several popups now use
21         it and its functionality becomes clear. ControlInset is still in a state
22         of flux. It is likely that functionality will be moved out of
23         ControlCommands and into it.
24
25         * GUI.h: new file. Moved all the template GUIXXX classes out of the
26         individual Controller header files and into one place. These classes
27         serve only as convenient wrappers to simplify code in the respective
28         frontends' Dialogs::c-tor. Now all derived from a templatised parent.
29
30         * ControlCharacter.[Ch] (show, update, hide):
31         * ControlLog.[Ch] (show, update, hide):
32         * ControlVCLog.[Ch] (show, update, hide): moved back into
33         the ControlDialogs base class.
34         (setParams, clearParams): new methods containing controller-specific
35         code to set/reset the parameters manipulated by the view.
36
37         * ControlCommand.[Ch] (clearParams): a new virtual method, by default
38         empty.
39         (hide): calls clearParams.
40
41         * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
42         by ControlCommand::hide().
43
44         * ControlCopyright.[Ch]:
45         * ControlCredits.[Ch]: new files; controllers for the copyright and
46         credits popups, respectively.
47
48 2001-03-21  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
49
50         * ControlCharacter.C: fix typo
51
52 2001-03-21  Angus Leeming  <a.leeming@ic.ac.uk>
53
54         * ControlCharacter.[Ch]: new files; controller for the character popup.
55
56         * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
57         moved to new files helper_funcs.[Ch].
58
59         * helper_funcs.[Ch]: new files. Some useful helper functions and
60         functors.
61
62         * Makefile.am: added new files.
63
64 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
65
66         * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
67
68 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
69
70         * ControlLog.[Ch]:
71         * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
72         Control log files, respectively.
73
74         * Makefile.am: added new files.
75
76 2001-03-19  Angus Leeming  <a.leeming@ic.ac.uk>
77
78         * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
79
80         * Makefile.am: added ControlBibtex.[Ch].
81
82 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
83
84         * ControlBibitem.C:
85         * ControlCitation.C: added "using SigC::slot" declaration.
86
87         * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
88         to FormCitation.C prior to the merger: "Do not put space between
89         multiple keys".
90
91 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
92
93         * several files: remove CXX_WORKING_NAMESPACES
94
95         * ButtonController.h: noncopyable is in namespace boost
96         * ButtonPolicies.h: ditto
97
98 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
99
100         * Merging changes from BRANCH_MVC back into HEAD.
101
102 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
103
104         * Makefile.am: add ControlBibitem.[Ch].
105
106         * ControlBibitem.[Ch]: new files that together define the Controller
107         for a Bibitem popup.
108
109         * ControlCommand.h (c-tor): give  kb_action a default value of
110         LFUN_NOACTION.
111         
112         * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
113         
114         * ControlCitation.[Ch]: moved search functions out of class.
115         (bibkeysInfo): new method. Returns const reference to private data.
116         (searchKeys): added case-sensitive switch. Used only by simpleSearch
117         for now.
118
119 2001-03-09  Angus Leeming  <a.leeming@ic.ac.uk>
120
121         * ControlCitation.[Ch]: added Search functions to the class,
122         (shamelessly lifted from Marco's gnome code). I think that these would
123         be better as helper functions outside the class, but this is a first
124         stab at it.
125
126 2001-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
127
128         * ControlCitation.[Ch]: (getBibkeyList): removed from class
129         ControlCitation.
130         (getBibkeys, getBibkeyInfo): added to class ControlCitation.
131         (getStringFromVector, getVectorFromString, parseBibTeX): new helper
132         funcs. parseBibTeX() is lifted staraight out of Marco's gnome
133         implementation of FormCitation.
134
135 2001-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
136
137         * ButtonPolicies.h: add SMI_NOOP to enum.
138
139         * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
140
141         * ButtonController.C (input): add "optimising" if-statement. Actually,
142         things don't work correctly without it...
143
144 2001-03-02  John Levon  <moz@compsoc.man.ac.uk>
145
146         * ViewBase.h: remove #pragma directive
147
148         * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
149         to make g++ happy.
150
151 2001-03-02  Angus Leeming  <a.leeming@ic.ac.uk>
152
153         * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
154
155         * Makefile.am: added ButtonPolicies.[Ch]
156
157         * ButtonController.[Ch]: ButtonController is split into
158         ButtonControllerBase and a template ButtonController class. The base
159         class no longer stores a pointer to a ButtonPolicy, but instead
160         accesses the actual instantiation of the policy through a pure virtual
161         method bp(). This method and the ButtonPolicy itself are instantiated
162         in the templatised ButtonController class. This class is derived from
163         the GUI-specific GUIBC class, meaning that the frontends know
164         nothing about the actual policy decided upon by the controllers.
165
166         * ControlBase.[Ch]: No longer store the View or the ButtonController.
167         Instead the actual instantiations are accessed through pure virtual
168         methods view() and bc(). The daughter classes are responsible for the
169         actual View and ButtonController.
170
171         * ControlCitation.h: the templatised class GUICitation instantiates
172         the methods view() and bc(). It also stores the instances of the
173         View and ButtonController.
174         
175 2001-02-23  Angus Leeming  <a.leeming@ic.ac.uk>
176
177         * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
178         also changed to ButtonController.
179
180         * ControlBase.[Ch]:
181         * ControlConnections.[Ch]:
182         * ControlCommand.[Ch]:
183         * ControlCitation.[Ch]:
184         * ViewBase.h: Changes associated with this.
185
186 2001-01-15  Angus Leeming  <a.leeming@ic.ac.uk>
187
188         * ButtonControllerBase.[Ch]: new files. Split Allan's original
189         xforms/ButtonController class into a GUI-I class (here) and an
190         xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
191
192         * ControlBase.[Ch]: new files. ControlBase is an abstract base class
193         from which all Dialog Controllers should be derived. the Controllers
194         are GUI-independent, but are designed to control the behaviour of
195         GUI-specific implementaions of each dialog.
196
197         * ControlConnections.[Ch]: new files. Classes controlling the
198         connections of buffer-independent, buffer-dependent and Inset dialogs
199         with the LyX kernel.
200
201         * ControlCommand.[Ch]: new files. A controller for all dialogs for the
202         InsetCommand subset of insets.
203
204         * ControlCitation.[Ch]: new files. The test specialisation! A
205         controller for the Citation dialog.
206
207         * ViewBase.h: new file. ViewBase is an abstract base class from which
208         GUI-specific dialogs should be derived. The functionality that the GUIs
209         must now implement is much reduced.