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