1 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * ControlToc.C (getContents): don't add anything to the list if it
4 is supposed to be empty.
6 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
8 * helper_funcs.C (getVectorFromString): bug fix.
10 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
13 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
14 from ButtonControllerBase::readOnly. Updates the state of the widgets
15 in the read-only list only when the read-only status of the document
17 (refresh): moved this stuff into refreshReadOnly.
19 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
21 * ControlPrint.C (c-tor):
22 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
24 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
27 * character.h: small clean-ups.
29 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
31 * ControlToc.C (getType): remove support for old float list.
33 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
35 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
36 * ControlGraphics.h: no longer include insetgraphicsParams.h
37 * ControlInset.h: no longer include LyXView.h
45 * ControlConnections.C:
58 * ControlTabularCreate.C:
60 * ControlVCLog.C: they're now in here!
62 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
64 * ButtonControllerBase.h: C++ mode, inherit privately from
66 * ButtonPolicies.h: ditto
68 * ButtonController.h: C++ mode, swap init order of restore_ and
71 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
73 * ControlTabularCreate.h:
74 * ControlTabularCreate.C: make dialogs use a pair of uints
78 * ControlVCLog.C: fill a stringstream with the log contents
81 * ControlExternal.C: from Angus, clone the new InsetExternal
84 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
86 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
89 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
98 * ControlCopyright.C: include gettext.h
100 * ControlCharacter.C:
101 * character.C: include gettext.h and language.h
103 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
105 * ButtonController.h:
106 * ButtonControllerBase.h:
107 * ButtonControllerBase.C:
114 * ControlConnections.h:
120 * ViewBase.h: s/ControlButton/ControlButtons/
122 s/UndoAll/Restore/ + associated
124 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
126 * ControlToc.[Ch]: new files; a controller for the TOC popup.
129 * Makefile.am: associated changes with all of the above.
131 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
133 * ControlExternal.C: bug fixes. Can now apply changes to the inset
134 and edit, view, update the External Material correctly. I hope!
136 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
138 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
140 * BCTemplates.h: renamed as ButtonController.h
142 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
145 * ControlConnections.h: associated change in #include and class names.
147 * ControlExternal.[Ch]: new files; a controller for the External
151 * Makefile.am: associated changes with all of the above.
153 * ControlGraphics.[Ch]:
154 * ControlInclude.[Ch]:
157 (Browse): new method. Returns the results of a FileDialog browse.
159 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
160 (getVectorFromString): fixed bug.
162 * biblio.C (simpleSearch): cleaned up.
164 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
166 * A slight reworking of Baruch Even's ButtonController patch.
168 * BCTemplates.h: new file; all the templates for the ButtonController.
169 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
170 to the more generic setButtonLabel().
172 * ButtonController.[Ch]: renamed cancel_label and close_label as
173 cancel_label_ and close_label_.
175 * Makefile.am: added BCTemplates.h
177 2001-03-29 Juergen Vigna <jug@sad.it>
179 * ControlMinipage.C: removed widthp_ and all it's functions and changed
180 to use new %-lengths of LyXLength.
182 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
184 * ControlCitation.C (bibkeysInfo): removed Assert.
186 * ControlCopyright.h: moved GUICopyright into GUI.h
190 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
192 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
193 (setDaughterParams): a (by default empty) new method called in show().
202 * ControlUrl.h (clearDaughterParams): removed
204 * ControlMinipage.C (applyParamsToInset): update the view.
205 Added namespace minipage containing a helper function getUnits.
207 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
209 * ControlCharacter.[Ch]: moved out all the helper functions and the
210 enum into their own file.
211 * character.[Ch]: new files; contain the character helper functions,
212 now inside namespace character.
214 * ControlCitation.[Ch]: moved out all the helper functions and the
215 enums into their own file. Simplified interface.
216 * biblio.[Ch]: new files; contain the citation helper functions,
217 now inside namespace biblio. Will be of use also to an improved
220 * ControlGraphics.[Ch]:
221 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
222 popups, respectively.
225 * Makefile.am: associated changes.
227 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
229 * ControlMinipage.[Ch]:
230 * ControlPreamble.[Ch]:
232 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
233 and Print popups and Splash screen, respectively.
235 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
239 * Makefile.am: associated changes.
241 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
243 * ControlConnections.[Ch]: (docType): new method; returns the type
244 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
247 * ControlSearch.[Ch]:
248 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
249 Search and TabularCreate popups, respectively.
252 * Makefile.am: associated changes.
254 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
256 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
259 * ControlInset.h (apply): fix bug. Can now create new insets again.
261 * README: describe program flow.
263 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
265 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
267 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
269 * ControlDialogs.h: moved class ControlInset into its own file.
271 * ControlInset.h: new file. class ControlInset has been expanded to take
272 two template parameters, Inset and Params. Believe that all inset
273 controllers can be derived from this with the minimum of effort.
275 * ControlBibitem.[Ch]:
276 * ControlBibtex.[Ch]:
277 * ControlCitation.[Ch]:
278 * ControlCommand.[Ch]: moved most code into ControlInset.
280 * lots of files. Moved protected stuff into private where possible.
283 * ControlInclude.[Ch]:
284 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
285 Include and Url popups, respectively.
288 * Makefile.am: associated changes.
290 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
292 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
295 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
297 * ControlCredits.C (getCredits): remove std:: qualifier for
300 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
302 * ControlCredits.C (getCredits): add std:: on vector
304 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
306 * ControlCredits.C: remove using that is only used once, use
307 std::ios instead of std::iosbase, add some annoying comments.
309 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
311 * lots of header files: improved explanatory notes.
313 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
314 ControlBase is now a class that only controls the interaction of the
315 View with the ButtonController.
317 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
318 to ControlConnectBase. The class controls the connection/disconnection
319 of signals from the LyX kernel and makes available the kernel (through
320 lv_) to daughter controller classes.
321 Moved out class ControlConnectInset to a new file ControlDialogs.h.
323 * ControlDialogs.h: new file. Contains the definition of two template
324 controller classes, ControlDialog and ControlInset (was
325 ControlConnectInset). ControlInset is a parent class for controllers
326 of inset-popups. ControlDialogs is the rather uninspired name for
327 the base class of all non-inset popups. (Eg, Document and Paragraph.)
328 ControlDialogs is reaching a state of maturity as several popups now use
329 it and its functionality becomes clear. ControlInset is still in a state
330 of flux. It is likely that functionality will be moved out of
331 ControlCommands and into it.
333 * GUI.h: new file. Moved all the template GUIXXX classes out of the
334 individual Controller header files and into one place. These classes
335 serve only as convenient wrappers to simplify code in the respective
336 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
338 * ControlCharacter.[Ch] (show, update, hide):
339 * ControlLog.[Ch] (show, update, hide):
340 * ControlVCLog.[Ch] (show, update, hide): moved back into
341 the ControlDialogs base class.
342 (setParams, clearParams): new methods containing controller-specific
343 code to set/reset the parameters manipulated by the view.
345 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
347 (hide): calls clearParams.
349 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
350 by ControlCommand::hide().
352 * ControlCopyright.[Ch]:
353 * ControlCredits.[Ch]: new files; controllers for the copyright and
354 credits popups, respectively.
356 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
358 * ControlCharacter.C: fix typo
360 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
362 * ControlCharacter.[Ch]: new files; controller for the character popup.
364 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
365 moved to new files helper_funcs.[Ch].
367 * helper_funcs.[Ch]: new files. Some useful helper functions and
370 * Makefile.am: added new files.
372 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
374 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
376 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
379 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
380 Control log files, respectively.
382 * Makefile.am: added new files.
384 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
386 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
388 * Makefile.am: added ControlBibtex.[Ch].
390 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
393 * ControlCitation.C: added "using SigC::slot" declaration.
395 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
396 to FormCitation.C prior to the merger: "Do not put space between
399 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
401 * several files: remove CXX_WORKING_NAMESPACES
403 * ButtonController.h: noncopyable is in namespace boost
404 * ButtonPolicies.h: ditto
406 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
408 * Merging changes from BRANCH_MVC back into HEAD.
410 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
412 * Makefile.am: add ControlBibitem.[Ch].
414 * ControlBibitem.[Ch]: new files that together define the Controller
417 * ControlCommand.h (c-tor): give kb_action a default value of
420 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
422 * ControlCitation.[Ch]: moved search functions out of class.
423 (bibkeysInfo): new method. Returns const reference to private data.
424 (searchKeys): added case-sensitive switch. Used only by simpleSearch
427 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
429 * ControlCitation.[Ch]: added Search functions to the class,
430 (shamelessly lifted from Marco's gnome code). I think that these would
431 be better as helper functions outside the class, but this is a first
434 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
436 * ControlCitation.[Ch]: (getBibkeyList): removed from class
438 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
439 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
440 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
441 implementation of FormCitation.
443 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
445 * ButtonPolicies.h: add SMI_NOOP to enum.
447 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
449 * ButtonController.C (input): add "optimising" if-statement. Actually,
450 things don't work correctly without it...
452 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
454 * ViewBase.h: remove #pragma directive
456 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
459 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
461 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
463 * Makefile.am: added ButtonPolicies.[Ch]
465 * ButtonController.[Ch]: ButtonController is split into
466 ButtonControllerBase and a template ButtonController class. The base
467 class no longer stores a pointer to a ButtonPolicy, but instead
468 accesses the actual instantiation of the policy through a pure virtual
469 method bp(). This method and the ButtonPolicy itself are instantiated
470 in the templatised ButtonController class. This class is derived from
471 the GUI-specific GUIBC class, meaning that the frontends know
472 nothing about the actual policy decided upon by the controllers.
474 * ControlBase.[Ch]: No longer store the View or the ButtonController.
475 Instead the actual instantiations are accessed through pure virtual
476 methods view() and bc(). The daughter classes are responsible for the
477 actual View and ButtonController.
479 * ControlCitation.h: the templatised class GUICitation instantiates
480 the methods view() and bc(). It also stores the instances of the
481 View and ButtonController.
483 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
485 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
486 also changed to ButtonController.
489 * ControlConnections.[Ch]:
490 * ControlCommand.[Ch]:
491 * ControlCitation.[Ch]:
492 * ViewBase.h: Changes associated with this.
494 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
496 * ButtonControllerBase.[Ch]: new files. Split Allan's original
497 xforms/ButtonController class into a GUI-I class (here) and an
498 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
500 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
501 from which all Dialog Controllers should be derived. the Controllers
502 are GUI-independent, but are designed to control the behaviour of
503 GUI-specific implementaions of each dialog.
505 * ControlConnections.[Ch]: new files. Classes controlling the
506 connections of buffer-independent, buffer-dependent and Inset dialogs
509 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
510 InsetCommand subset of insets.
512 * ControlCitation.[Ch]: new files. The test specialisation! A
513 controller for the Citation dialog.
515 * ViewBase.h: new file. ViewBase is an abstract base class from which
516 GUI-specific dialogs should be derived. The functionality that the GUIs
517 must now implement is much reduced.