1 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3 * ControlSpellchecker.[Ch]: added
4 * ViewBase.h: added partialUpdate(int) member
5 * GUI.h: added spell stuff
7 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9 * ControlExternal.C: (*it). -> it->
11 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
13 * ButtonController.h: move some included header files out of the
14 frontends and into here.
16 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
18 * ControlCharacter.C (c-tor): cosmetic name change of signal.
20 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
22 * *.[h]: added // -*- C++ -*-
23 * *.[C]: removed // -*- C++ -*-
25 * ControlCharacter.[Ch]: added // -*- C++ -*-
26 (setParams): Check contents of font_ to activate Apply button.
27 (clearParams): removed.
28 font_ is now stored as a boost::scoped_ptr.
29 font_ is no longer deleted on hide(), so it's contents can now be used
30 by the Font button on the toolbar.
31 Lots of new methods so that the GUI can easily get the contents of
32 font_ when it update()s.
34 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
36 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
37 crash when the Font button on the Toolbar is pressed.
39 * GUI.h: change policy of Character button controller to
40 OkApplyCancelReadOnlyPolicy.
42 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
44 * ControlToc.C (getContents): don't add anything to the list if it
45 is supposed to be empty.
47 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
49 * helper_funcs.C (getVectorFromString): bug fix.
51 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
54 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
55 from ButtonControllerBase::readOnly. Updates the state of the widgets
56 in the read-only list only when the read-only status of the document
58 (refresh): moved this stuff into refreshReadOnly.
60 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
62 * ControlPrint.C (c-tor):
63 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
65 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
68 * character.h: small clean-ups.
70 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
72 * ControlToc.C (getType): remove support for old float list.
74 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
76 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
77 * ControlGraphics.h: no longer include insetgraphicsParams.h
78 * ControlInset.h: no longer include LyXView.h
86 * ControlConnections.C:
99 * ControlTabularCreate.C:
101 * ControlVCLog.C: they're now in here!
103 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
105 * ButtonControllerBase.h: C++ mode, inherit privately from
107 * ButtonPolicies.h: ditto
109 * ButtonController.h: C++ mode, swap init order of restore_ and
112 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
114 * ControlTabularCreate.h:
115 * ControlTabularCreate.C: make dialogs use a pair of uints
119 * ControlVCLog.C: fill a stringstream with the log contents
122 * ControlExternal.C: from Angus, clone the new InsetExternal
125 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
127 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
128 and made more robust.
130 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
139 * ControlCopyright.C: include gettext.h
141 * ControlCharacter.C:
142 * character.C: include gettext.h and language.h
144 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
146 * ButtonController.h:
147 * ButtonControllerBase.h:
148 * ButtonControllerBase.C:
155 * ControlConnections.h:
161 * ViewBase.h: s/ControlButton/ControlButtons/
163 s/UndoAll/Restore/ + associated
165 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
167 * ControlToc.[Ch]: new files; a controller for the TOC popup.
170 * Makefile.am: associated changes with all of the above.
172 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
174 * ControlExternal.C: bug fixes. Can now apply changes to the inset
175 and edit, view, update the External Material correctly. I hope!
177 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
179 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
181 * BCTemplates.h: renamed as ButtonController.h
183 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
186 * ControlConnections.h: associated change in #include and class names.
188 * ControlExternal.[Ch]: new files; a controller for the External
192 * Makefile.am: associated changes with all of the above.
194 * ControlGraphics.[Ch]:
195 * ControlInclude.[Ch]:
198 (Browse): new method. Returns the results of a FileDialog browse.
200 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
201 (getVectorFromString): fixed bug.
203 * biblio.C (simpleSearch): cleaned up.
205 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
207 * A slight reworking of Baruch Even's ButtonController patch.
209 * BCTemplates.h: new file; all the templates for the ButtonController.
210 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
211 to the more generic setButtonLabel().
213 * ButtonController.[Ch]: renamed cancel_label and close_label as
214 cancel_label_ and close_label_.
216 * Makefile.am: added BCTemplates.h
218 2001-03-29 Juergen Vigna <jug@sad.it>
220 * ControlMinipage.C: removed widthp_ and all it's functions and changed
221 to use new %-lengths of LyXLength.
223 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
225 * ControlCitation.C (bibkeysInfo): removed Assert.
227 * ControlCopyright.h: moved GUICopyright into GUI.h
231 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
233 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
234 (setDaughterParams): a (by default empty) new method called in show().
243 * ControlUrl.h (clearDaughterParams): removed
245 * ControlMinipage.C (applyParamsToInset): update the view.
246 Added namespace minipage containing a helper function getUnits.
248 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
250 * ControlCharacter.[Ch]: moved out all the helper functions and the
251 enum into their own file.
252 * character.[Ch]: new files; contain the character helper functions,
253 now inside namespace character.
255 * ControlCitation.[Ch]: moved out all the helper functions and the
256 enums into their own file. Simplified interface.
257 * biblio.[Ch]: new files; contain the citation helper functions,
258 now inside namespace biblio. Will be of use also to an improved
261 * ControlGraphics.[Ch]:
262 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
263 popups, respectively.
266 * Makefile.am: associated changes.
268 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
270 * ControlMinipage.[Ch]:
271 * ControlPreamble.[Ch]:
273 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
274 and Print popups and Splash screen, respectively.
276 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
280 * Makefile.am: associated changes.
282 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
284 * ControlConnections.[Ch]: (docType): new method; returns the type
285 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
288 * ControlSearch.[Ch]:
289 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
290 Search and TabularCreate popups, respectively.
293 * Makefile.am: associated changes.
295 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
297 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
300 * ControlInset.h (apply): fix bug. Can now create new insets again.
302 * README: describe program flow.
304 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
306 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
308 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
310 * ControlDialogs.h: moved class ControlInset into its own file.
312 * ControlInset.h: new file. class ControlInset has been expanded to take
313 two template parameters, Inset and Params. Believe that all inset
314 controllers can be derived from this with the minimum of effort.
316 * ControlBibitem.[Ch]:
317 * ControlBibtex.[Ch]:
318 * ControlCitation.[Ch]:
319 * ControlCommand.[Ch]: moved most code into ControlInset.
321 * lots of files. Moved protected stuff into private where possible.
324 * ControlInclude.[Ch]:
325 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
326 Include and Url popups, respectively.
329 * Makefile.am: associated changes.
331 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
333 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
336 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
338 * ControlCredits.C (getCredits): remove std:: qualifier for
341 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
343 * ControlCredits.C (getCredits): add std:: on vector
345 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
347 * ControlCredits.C: remove using that is only used once, use
348 std::ios instead of std::iosbase, add some annoying comments.
350 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
352 * lots of header files: improved explanatory notes.
354 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
355 ControlBase is now a class that only controls the interaction of the
356 View with the ButtonController.
358 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
359 to ControlConnectBase. The class controls the connection/disconnection
360 of signals from the LyX kernel and makes available the kernel (through
361 lv_) to daughter controller classes.
362 Moved out class ControlConnectInset to a new file ControlDialogs.h.
364 * ControlDialogs.h: new file. Contains the definition of two template
365 controller classes, ControlDialog and ControlInset (was
366 ControlConnectInset). ControlInset is a parent class for controllers
367 of inset-popups. ControlDialogs is the rather uninspired name for
368 the base class of all non-inset popups. (Eg, Document and Paragraph.)
369 ControlDialogs is reaching a state of maturity as several popups now use
370 it and its functionality becomes clear. ControlInset is still in a state
371 of flux. It is likely that functionality will be moved out of
372 ControlCommands and into it.
374 * GUI.h: new file. Moved all the template GUIXXX classes out of the
375 individual Controller header files and into one place. These classes
376 serve only as convenient wrappers to simplify code in the respective
377 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
379 * ControlCharacter.[Ch] (show, update, hide):
380 * ControlLog.[Ch] (show, update, hide):
381 * ControlVCLog.[Ch] (show, update, hide): moved back into
382 the ControlDialogs base class.
383 (setParams, clearParams): new methods containing controller-specific
384 code to set/reset the parameters manipulated by the view.
386 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
388 (hide): calls clearParams.
390 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
391 by ControlCommand::hide().
393 * ControlCopyright.[Ch]:
394 * ControlCredits.[Ch]: new files; controllers for the copyright and
395 credits popups, respectively.
397 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
399 * ControlCharacter.C: fix typo
401 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
403 * ControlCharacter.[Ch]: new files; controller for the character popup.
405 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
406 moved to new files helper_funcs.[Ch].
408 * helper_funcs.[Ch]: new files. Some useful helper functions and
411 * Makefile.am: added new files.
413 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
415 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
417 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
420 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
421 Control log files, respectively.
423 * Makefile.am: added new files.
425 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
427 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
429 * Makefile.am: added ControlBibtex.[Ch].
431 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
434 * ControlCitation.C: added "using SigC::slot" declaration.
436 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
437 to FormCitation.C prior to the merger: "Do not put space between
440 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
442 * several files: remove CXX_WORKING_NAMESPACES
444 * ButtonController.h: noncopyable is in namespace boost
445 * ButtonPolicies.h: ditto
447 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
449 * Merging changes from BRANCH_MVC back into HEAD.
451 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
453 * Makefile.am: add ControlBibitem.[Ch].
455 * ControlBibitem.[Ch]: new files that together define the Controller
458 * ControlCommand.h (c-tor): give kb_action a default value of
461 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
463 * ControlCitation.[Ch]: moved search functions out of class.
464 (bibkeysInfo): new method. Returns const reference to private data.
465 (searchKeys): added case-sensitive switch. Used only by simpleSearch
468 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
470 * ControlCitation.[Ch]: added Search functions to the class,
471 (shamelessly lifted from Marco's gnome code). I think that these would
472 be better as helper functions outside the class, but this is a first
475 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
477 * ControlCitation.[Ch]: (getBibkeyList): removed from class
479 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
480 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
481 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
482 implementation of FormCitation.
484 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
486 * ButtonPolicies.h: add SMI_NOOP to enum.
488 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
490 * ButtonController.C (input): add "optimising" if-statement. Actually,
491 things don't work correctly without it...
493 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
495 * ViewBase.h: remove #pragma directive
497 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
500 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
502 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
504 * Makefile.am: added ButtonPolicies.[Ch]
506 * ButtonController.[Ch]: ButtonController is split into
507 ButtonControllerBase and a template ButtonController class. The base
508 class no longer stores a pointer to a ButtonPolicy, but instead
509 accesses the actual instantiation of the policy through a pure virtual
510 method bp(). This method and the ButtonPolicy itself are instantiated
511 in the templatised ButtonController class. This class is derived from
512 the GUI-specific GUIBC class, meaning that the frontends know
513 nothing about the actual policy decided upon by the controllers.
515 * ControlBase.[Ch]: No longer store the View or the ButtonController.
516 Instead the actual instantiations are accessed through pure virtual
517 methods view() and bc(). The daughter classes are responsible for the
518 actual View and ButtonController.
520 * ControlCitation.h: the templatised class GUICitation instantiates
521 the methods view() and bc(). It also stores the instances of the
522 View and ButtonController.
524 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
526 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
527 also changed to ButtonController.
530 * ControlConnections.[Ch]:
531 * ControlCommand.[Ch]:
532 * ControlCitation.[Ch]:
533 * ViewBase.h: Changes associated with this.
535 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
537 * ButtonControllerBase.[Ch]: new files. Split Allan's original
538 xforms/ButtonController class into a GUI-I class (here) and an
539 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
541 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
542 from which all Dialog Controllers should be derived. the Controllers
543 are GUI-independent, but are designed to control the behaviour of
544 GUI-specific implementaions of each dialog.
546 * ControlConnections.[Ch]: new files. Classes controlling the
547 connections of buffer-independent, buffer-dependent and Inset dialogs
550 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
551 InsetCommand subset of insets.
553 * ControlCitation.[Ch]: new files. The test specialisation! A
554 controller for the Citation dialog.
556 * ViewBase.h: new file. ViewBase is an abstract base class from which
557 GUI-specific dialogs should be derived. The functionality that the GUIs
558 must now implement is much reduced.