1 2001-03-29 Juergen Vigna <jug@sad.it>
3 * ControlMinipage.C: removed widthp_ and all it's functions and changed
4 to use new %-lengths of LyXLength.
6 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
8 * ControlCitation.C (bibkeysInfo): removed Assert.
10 * ControlCopyright.h: moved GUICopyright into GUI.h
14 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
17 (setDaughterParams): a (by default empty) new method called in show().
26 * ControlUrl.h (clearDaughterParams): removed
28 * ControlMinipage.C (applyParamsToInset): update the view.
29 Added namespace minipage containing a helper function getUnits.
31 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
33 * ControlCharacter.[Ch]: moved out all the helper functions and the
34 enum into their own file.
35 * character.[Ch]: new files; contain the character helper functions,
36 now inside namespace character.
38 * ControlCitation.[Ch]: moved out all the helper functions and the
39 enums into their own file. Simplified interface.
40 * biblio.[Ch]: new files; contain the citation helper functions,
41 now inside namespace biblio. Will be of use also to an improved
44 * ControlGraphics.[Ch]:
45 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
49 * Makefile.am: associated changes.
51 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
53 * ControlMinipage.[Ch]:
54 * ControlPreamble.[Ch]:
56 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
57 and Print popups and Splash screen, respectively.
59 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
63 * Makefile.am: associated changes.
65 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
67 * ControlConnections.[Ch]: (docType): new method; returns the type
68 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
72 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
73 Search and TabularCreate popups, respectively.
76 * Makefile.am: associated changes.
78 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
80 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
83 * ControlInset.h (apply): fix bug. Can now create new insets again.
85 * README: describe program flow.
87 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
89 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
91 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
93 * ControlDialogs.h: moved class ControlInset into its own file.
95 * ControlInset.h: new file. class ControlInset has been expanded to take
96 two template parameters, Inset and Params. Believe that all inset
97 controllers can be derived from this with the minimum of effort.
99 * ControlBibitem.[Ch]:
100 * ControlBibtex.[Ch]:
101 * ControlCitation.[Ch]:
102 * ControlCommand.[Ch]: moved most code into ControlInset.
104 * lots of files. Moved protected stuff into private where possible.
107 * ControlInclude.[Ch]:
108 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
109 Include and Url popups, respectively.
112 * Makefile.am: associated changes.
114 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
116 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
119 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
121 * ControlCredits.C (getCredits): remove std:: qualifier for
124 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
126 * ControlCredits.C (getCredits): add std:: on vector
128 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
130 * ControlCredits.C: remove using that is only used once, use
131 std::ios instead of std::iosbase, add some annoying comments.
133 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
135 * lots of header files: improved explanatory notes.
137 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
138 ControlBase is now a class that only controls the interaction of the
139 View with the ButtonController.
141 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
142 to ControlConnectBase. The class controls the connection/disconnection
143 of signals from the LyX kernel and makes available the kernel (through
144 lv_) to daughter controller classes.
145 Moved out class ControlConnectInset to a new file ControlDialogs.h.
147 * ControlDialogs.h: new file. Contains the definition of two template
148 controller classes, ControlDialog and ControlInset (was
149 ControlConnectInset). ControlInset is a parent class for controllers
150 of inset-popups. ControlDialogs is the rather uninspired name for
151 the base class of all non-inset popups. (Eg, Document and Paragraph.)
152 ControlDialogs is reaching a state of maturity as several popups now use
153 it and its functionality becomes clear. ControlInset is still in a state
154 of flux. It is likely that functionality will be moved out of
155 ControlCommands and into it.
157 * GUI.h: new file. Moved all the template GUIXXX classes out of the
158 individual Controller header files and into one place. These classes
159 serve only as convenient wrappers to simplify code in the respective
160 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
162 * ControlCharacter.[Ch] (show, update, hide):
163 * ControlLog.[Ch] (show, update, hide):
164 * ControlVCLog.[Ch] (show, update, hide): moved back into
165 the ControlDialogs base class.
166 (setParams, clearParams): new methods containing controller-specific
167 code to set/reset the parameters manipulated by the view.
169 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
171 (hide): calls clearParams.
173 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
174 by ControlCommand::hide().
176 * ControlCopyright.[Ch]:
177 * ControlCredits.[Ch]: new files; controllers for the copyright and
178 credits popups, respectively.
180 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
182 * ControlCharacter.C: fix typo
184 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
186 * ControlCharacter.[Ch]: new files; controller for the character popup.
188 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
189 moved to new files helper_funcs.[Ch].
191 * helper_funcs.[Ch]: new files. Some useful helper functions and
194 * Makefile.am: added new files.
196 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
198 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
200 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
203 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
204 Control log files, respectively.
206 * Makefile.am: added new files.
208 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
210 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
212 * Makefile.am: added ControlBibtex.[Ch].
214 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
217 * ControlCitation.C: added "using SigC::slot" declaration.
219 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
220 to FormCitation.C prior to the merger: "Do not put space between
223 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
225 * several files: remove CXX_WORKING_NAMESPACES
227 * ButtonController.h: noncopyable is in namespace boost
228 * ButtonPolicies.h: ditto
230 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
232 * Merging changes from BRANCH_MVC back into HEAD.
234 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
236 * Makefile.am: add ControlBibitem.[Ch].
238 * ControlBibitem.[Ch]: new files that together define the Controller
241 * ControlCommand.h (c-tor): give kb_action a default value of
244 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
246 * ControlCitation.[Ch]: moved search functions out of class.
247 (bibkeysInfo): new method. Returns const reference to private data.
248 (searchKeys): added case-sensitive switch. Used only by simpleSearch
251 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
253 * ControlCitation.[Ch]: added Search functions to the class,
254 (shamelessly lifted from Marco's gnome code). I think that these would
255 be better as helper functions outside the class, but this is a first
258 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
260 * ControlCitation.[Ch]: (getBibkeyList): removed from class
262 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
263 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
264 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
265 implementation of FormCitation.
267 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
269 * ButtonPolicies.h: add SMI_NOOP to enum.
271 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
273 * ButtonController.C (input): add "optimising" if-statement. Actually,
274 things don't work correctly without it...
276 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
278 * ViewBase.h: remove #pragma directive
280 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
283 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
285 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
287 * Makefile.am: added ButtonPolicies.[Ch]
289 * ButtonController.[Ch]: ButtonController is split into
290 ButtonControllerBase and a template ButtonController class. The base
291 class no longer stores a pointer to a ButtonPolicy, but instead
292 accesses the actual instantiation of the policy through a pure virtual
293 method bp(). This method and the ButtonPolicy itself are instantiated
294 in the templatised ButtonController class. This class is derived from
295 the GUI-specific GUIBC class, meaning that the frontends know
296 nothing about the actual policy decided upon by the controllers.
298 * ControlBase.[Ch]: No longer store the View or the ButtonController.
299 Instead the actual instantiations are accessed through pure virtual
300 methods view() and bc(). The daughter classes are responsible for the
301 actual View and ButtonController.
303 * ControlCitation.h: the templatised class GUICitation instantiates
304 the methods view() and bc(). It also stores the instances of the
305 View and ButtonController.
307 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
309 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
310 also changed to ButtonController.
313 * ControlConnections.[Ch]:
314 * ControlCommand.[Ch]:
315 * ControlCitation.[Ch]:
316 * ViewBase.h: Changes associated with this.
318 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
320 * ButtonControllerBase.[Ch]: new files. Split Allan's original
321 xforms/ButtonController class into a GUI-I class (here) and an
322 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
324 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
325 from which all Dialog Controllers should be derived. the Controllers
326 are GUI-independent, but are designed to control the behaviour of
327 GUI-specific implementaions of each dialog.
329 * ControlConnections.[Ch]: new files. Classes controlling the
330 connections of buffer-independent, buffer-dependent and Inset dialogs
333 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
334 InsetCommand subset of insets.
336 * ControlCitation.[Ch]: new files. The test specialisation! A
337 controller for the Citation dialog.
339 * ViewBase.h: new file. ViewBase is an abstract base class from which
340 GUI-specific dialogs should be derived. The functionality that the GUIs
341 must now implement is much reduced.