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