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