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