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