1 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
3 * ControlExternal.C: from Angus, clone the new InsetExternal
6 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
8 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
11 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
20 * ControlCopyright.C: include gettext.h
23 * character.C: include gettext.h and language.h
25 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
28 * ButtonControllerBase.h:
29 * ButtonControllerBase.C:
36 * ControlConnections.h:
42 * ViewBase.h: s/ControlButton/ControlButtons/
44 s/UndoAll/Restore/ + associated
46 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
48 * ControlToc.[Ch]: new files; a controller for the TOC popup.
51 * Makefile.am: associated changes with all of the above.
53 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
55 * ControlExternal.C: bug fixes. Can now apply changes to the inset
56 and edit, view, update the External Material correctly. I hope!
58 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
60 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
62 * BCTemplates.h: renamed as ButtonController.h
64 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
67 * ControlConnections.h: associated change in #include and class names.
69 * ControlExternal.[Ch]: new files; a controller for the External
73 * Makefile.am: associated changes with all of the above.
75 * ControlGraphics.[Ch]:
76 * ControlInclude.[Ch]:
79 (Browse): new method. Returns the results of a FileDialog browse.
81 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
82 (getVectorFromString): fixed bug.
84 * biblio.C (simpleSearch): cleaned up.
86 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
88 * A slight reworking of Baruch Even's ButtonController patch.
90 * BCTemplates.h: new file; all the templates for the ButtonController.
91 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
92 to the more generic setButtonLabel().
94 * ButtonController.[Ch]: renamed cancel_label and close_label as
95 cancel_label_ and close_label_.
97 * Makefile.am: added BCTemplates.h
99 2001-03-29 Juergen Vigna <jug@sad.it>
101 * ControlMinipage.C: removed widthp_ and all it's functions and changed
102 to use new %-lengths of LyXLength.
104 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
106 * ControlCitation.C (bibkeysInfo): removed Assert.
108 * ControlCopyright.h: moved GUICopyright into GUI.h
112 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
114 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
115 (setDaughterParams): a (by default empty) new method called in show().
124 * ControlUrl.h (clearDaughterParams): removed
126 * ControlMinipage.C (applyParamsToInset): update the view.
127 Added namespace minipage containing a helper function getUnits.
129 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
131 * ControlCharacter.[Ch]: moved out all the helper functions and the
132 enum into their own file.
133 * character.[Ch]: new files; contain the character helper functions,
134 now inside namespace character.
136 * ControlCitation.[Ch]: moved out all the helper functions and the
137 enums into their own file. Simplified interface.
138 * biblio.[Ch]: new files; contain the citation helper functions,
139 now inside namespace biblio. Will be of use also to an improved
142 * ControlGraphics.[Ch]:
143 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
144 popups, respectively.
147 * Makefile.am: associated changes.
149 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
151 * ControlMinipage.[Ch]:
152 * ControlPreamble.[Ch]:
154 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
155 and Print popups and Splash screen, respectively.
157 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
161 * Makefile.am: associated changes.
163 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
165 * ControlConnections.[Ch]: (docType): new method; returns the type
166 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
169 * ControlSearch.[Ch]:
170 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
171 Search and TabularCreate popups, respectively.
174 * Makefile.am: associated changes.
176 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
178 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
181 * ControlInset.h (apply): fix bug. Can now create new insets again.
183 * README: describe program flow.
185 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
187 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
189 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
191 * ControlDialogs.h: moved class ControlInset into its own file.
193 * ControlInset.h: new file. class ControlInset has been expanded to take
194 two template parameters, Inset and Params. Believe that all inset
195 controllers can be derived from this with the minimum of effort.
197 * ControlBibitem.[Ch]:
198 * ControlBibtex.[Ch]:
199 * ControlCitation.[Ch]:
200 * ControlCommand.[Ch]: moved most code into ControlInset.
202 * lots of files. Moved protected stuff into private where possible.
205 * ControlInclude.[Ch]:
206 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
207 Include and Url popups, respectively.
210 * Makefile.am: associated changes.
212 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
214 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
217 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
219 * ControlCredits.C (getCredits): remove std:: qualifier for
222 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
224 * ControlCredits.C (getCredits): add std:: on vector
226 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
228 * ControlCredits.C: remove using that is only used once, use
229 std::ios instead of std::iosbase, add some annoying comments.
231 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
233 * lots of header files: improved explanatory notes.
235 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
236 ControlBase is now a class that only controls the interaction of the
237 View with the ButtonController.
239 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
240 to ControlConnectBase. The class controls the connection/disconnection
241 of signals from the LyX kernel and makes available the kernel (through
242 lv_) to daughter controller classes.
243 Moved out class ControlConnectInset to a new file ControlDialogs.h.
245 * ControlDialogs.h: new file. Contains the definition of two template
246 controller classes, ControlDialog and ControlInset (was
247 ControlConnectInset). ControlInset is a parent class for controllers
248 of inset-popups. ControlDialogs is the rather uninspired name for
249 the base class of all non-inset popups. (Eg, Document and Paragraph.)
250 ControlDialogs is reaching a state of maturity as several popups now use
251 it and its functionality becomes clear. ControlInset is still in a state
252 of flux. It is likely that functionality will be moved out of
253 ControlCommands and into it.
255 * GUI.h: new file. Moved all the template GUIXXX classes out of the
256 individual Controller header files and into one place. These classes
257 serve only as convenient wrappers to simplify code in the respective
258 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
260 * ControlCharacter.[Ch] (show, update, hide):
261 * ControlLog.[Ch] (show, update, hide):
262 * ControlVCLog.[Ch] (show, update, hide): moved back into
263 the ControlDialogs base class.
264 (setParams, clearParams): new methods containing controller-specific
265 code to set/reset the parameters manipulated by the view.
267 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
269 (hide): calls clearParams.
271 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
272 by ControlCommand::hide().
274 * ControlCopyright.[Ch]:
275 * ControlCredits.[Ch]: new files; controllers for the copyright and
276 credits popups, respectively.
278 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
280 * ControlCharacter.C: fix typo
282 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
284 * ControlCharacter.[Ch]: new files; controller for the character popup.
286 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
287 moved to new files helper_funcs.[Ch].
289 * helper_funcs.[Ch]: new files. Some useful helper functions and
292 * Makefile.am: added new files.
294 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
296 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
298 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
301 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
302 Control log files, respectively.
304 * Makefile.am: added new files.
306 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
308 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
310 * Makefile.am: added ControlBibtex.[Ch].
312 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
315 * ControlCitation.C: added "using SigC::slot" declaration.
317 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
318 to FormCitation.C prior to the merger: "Do not put space between
321 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
323 * several files: remove CXX_WORKING_NAMESPACES
325 * ButtonController.h: noncopyable is in namespace boost
326 * ButtonPolicies.h: ditto
328 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
330 * Merging changes from BRANCH_MVC back into HEAD.
332 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
334 * Makefile.am: add ControlBibitem.[Ch].
336 * ControlBibitem.[Ch]: new files that together define the Controller
339 * ControlCommand.h (c-tor): give kb_action a default value of
342 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
344 * ControlCitation.[Ch]: moved search functions out of class.
345 (bibkeysInfo): new method. Returns const reference to private data.
346 (searchKeys): added case-sensitive switch. Used only by simpleSearch
349 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
351 * ControlCitation.[Ch]: added Search functions to the class,
352 (shamelessly lifted from Marco's gnome code). I think that these would
353 be better as helper functions outside the class, but this is a first
356 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
358 * ControlCitation.[Ch]: (getBibkeyList): removed from class
360 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
361 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
362 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
363 implementation of FormCitation.
365 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
367 * ButtonPolicies.h: add SMI_NOOP to enum.
369 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
371 * ButtonController.C (input): add "optimising" if-statement. Actually,
372 things don't work correctly without it...
374 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
376 * ViewBase.h: remove #pragma directive
378 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
381 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
383 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
385 * Makefile.am: added ButtonPolicies.[Ch]
387 * ButtonController.[Ch]: ButtonController is split into
388 ButtonControllerBase and a template ButtonController class. The base
389 class no longer stores a pointer to a ButtonPolicy, but instead
390 accesses the actual instantiation of the policy through a pure virtual
391 method bp(). This method and the ButtonPolicy itself are instantiated
392 in the templatised ButtonController class. This class is derived from
393 the GUI-specific GUIBC class, meaning that the frontends know
394 nothing about the actual policy decided upon by the controllers.
396 * ControlBase.[Ch]: No longer store the View or the ButtonController.
397 Instead the actual instantiations are accessed through pure virtual
398 methods view() and bc(). The daughter classes are responsible for the
399 actual View and ButtonController.
401 * ControlCitation.h: the templatised class GUICitation instantiates
402 the methods view() and bc(). It also stores the instances of the
403 View and ButtonController.
405 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
407 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
408 also changed to ButtonController.
411 * ControlConnections.[Ch]:
412 * ControlCommand.[Ch]:
413 * ControlCitation.[Ch]:
414 * ViewBase.h: Changes associated with this.
416 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
418 * ButtonControllerBase.[Ch]: new files. Split Allan's original
419 xforms/ButtonController class into a GUI-I class (here) and an
420 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
422 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
423 from which all Dialog Controllers should be derived. the Controllers
424 are GUI-independent, but are designed to control the behaviour of
425 GUI-specific implementaions of each dialog.
427 * ControlConnections.[Ch]: new files. Classes controlling the
428 connections of buffer-independent, buffer-dependent and Inset dialogs
431 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
432 InsetCommand subset of insets.
434 * ControlCitation.[Ch]: new files. The test specialisation! A
435 controller for the Citation dialog.
437 * ViewBase.h: new file. ViewBase is an abstract base class from which
438 GUI-specific dialogs should be derived. The functionality that the GUIs
439 must now implement is much reduced.