1 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
3 * ControlSpellchecker.C: check next word after insert in personal dict
5 2001-08-06 Juergen Vigna <jug@sad.it>
7 * ControlERT.[Ch]: new file
9 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
11 * ControlInset.h: const and non-const forms of params().
13 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
14 whitespace from either side of each item.
16 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
18 * ControlFloat.h: add a != operator for FloatParams.
19 Lars, how did you get this to compile!!!
21 * ControlMinipage.[Ch]: uncommented someone's commenting out of
22 operator != for MinipageParams. Who's changing stuff and not compiling?
24 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
29 * GUI.h: add class GUIFloat
31 * ControlFloat.[Ch]: new files
33 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
35 * ControlPrint.C: #include Lassert.h here.
37 2001-07-26 Baruch Even <baruch@lyx.org>
39 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
42 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
47 * Makefile.am: thesaurus support
49 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
52 * ControlInclude.C: implement ability to load file
54 2001-07-18 Juergen Vigna <jug@sad.it>
56 * ControlSearch.C (replace): changes to lyxfind.h function calls.
58 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
60 * biblio.C (getInfo): add a .c_str() to handle the usual
63 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
65 * ControlCitation.[Ch]: changes associated with adding natbib support.
66 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
67 New static variable citeStyles_.
69 * biblio.[Ch]: large internal rearrangement.
70 New public enum CiteStyle.
71 New public struct CitationStyle.
72 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
73 getNumericalStrings, getAuthorYearStrings
74 (simpleSearch, regexSearch): no longer publicly accessible.
76 * helper_funcs.C (getStringFromVector): bug fix.
78 2001-07-16 Baruch Even <baruch@lyx.org>
80 * ControlVCLog.h: Added Lsstream.h to includes.
82 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
84 * ControlSpellchecker.[Ch]: remove d-tor.
86 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
88 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
90 2001-07-16 Juergen Vigna <jug@sad.it>
92 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
93 compiled with USE_PSPELL) to be able to switch between ISpell and
96 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
98 Consistent use of Lsstream.h:
99 * ControlAboutlyx.[Ch] (getCredits):
100 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
102 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
104 * ControlCredits.[Ch]: removed
105 * ControlCopyright.[Ch]: removed
106 * ControlAboutlyx.[Ch]: added (replaces previous)
107 * GUI.h: removed credits and copyright added about lyx stuff
109 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
111 * ControlSpellchecker.C (getSuggestion):
112 (getWord): add std:: qualifier
114 >001-07-13 Edwin Leuven <leuven@fee.uva.nl>
116 * ControlSpellchecker.[Ch]: added
117 * ViewBase.h: added partialUpdate(int) member
118 * GUI.h: added spell stuff
120 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
122 * ControlExternal.C: (*it). -> it->
124 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
126 * ButtonController.h: move some included header files out of the
127 frontends and into here.
129 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
131 * ControlCharacter.C (c-tor): cosmetic name change of signal.
133 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
135 * *.[h]: added // -*- C++ -*-
136 * *.[C]: removed // -*- C++ -*-
138 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
139 activate Apply button.
140 (clearParams): removed.
141 font_ is now stored as a boost::scoped_ptr.
142 font_ is no longer deleted on hide(), so it's contents can now be used
143 by the Font button on the toolbar.
144 Lots of new methods so that the GUI can easily get the contents of
145 font_ when it update()s.
147 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
149 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
150 crash when the Font button on the Toolbar is pressed.
152 * GUI.h: change policy of Character button controller to
153 OkApplyCancelReadOnlyPolicy.
155 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
157 * ControlToc.C (getContents): don't add anything to the list if it
158 is supposed to be empty.
160 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
162 * helper_funcs.C (getVectorFromString): bug fix.
164 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
167 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
168 from ButtonControllerBase::readOnly. Updates the state of the widgets
169 in the read-only list only when the read-only status of the document
171 (refresh): moved this stuff into refreshReadOnly.
173 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
175 * ControlPrint.C (c-tor):
176 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
178 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
181 * character.h: small clean-ups.
183 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
185 * ControlToc.C (getType): remove support for old float list.
187 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
189 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
190 * ControlGraphics.h: no longer include insetgraphicsParams.h
191 * ControlInset.h: no longer include LyXView.h
196 * ControlCharacter.C:
199 * ControlConnections.C:
200 * ControlCopyright.C:
212 * ControlTabularCreate.C:
214 * ControlVCLog.C: they're now in here!
216 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
218 * ButtonControllerBase.h: C++ mode, inherit privately from
220 * ButtonPolicies.h: ditto
222 * ButtonController.h: C++ mode, swap init order of restore_ and
225 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
227 * ControlTabularCreate.h:
228 * ControlTabularCreate.C: make dialogs use a pair of uints
232 * ControlVCLog.C: fill a stringstream with the log contents
235 * ControlExternal.C: from Angus, clone the new InsetExternal
238 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
240 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
241 and made more robust.
243 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
252 * ControlCopyright.C: include gettext.h
254 * ControlCharacter.C:
255 * character.C: include gettext.h and language.h
257 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
259 * ButtonController.h:
260 * ButtonControllerBase.h:
261 * ButtonControllerBase.C:
268 * ControlConnections.h:
274 * ViewBase.h: s/ControlButton/ControlButtons/
276 s/UndoAll/Restore/ + associated
278 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
280 * ControlToc.[Ch]: new files; a controller for the TOC popup.
283 * Makefile.am: associated changes with all of the above.
285 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
287 * ControlExternal.C: bug fixes. Can now apply changes to the inset
288 and edit, view, update the External Material correctly. I hope!
290 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
292 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
294 * BCTemplates.h: renamed as ButtonController.h
296 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
299 * ControlConnections.h: associated change in #include and class names.
301 * ControlExternal.[Ch]: new files; a controller for the External
305 * Makefile.am: associated changes with all of the above.
307 * ControlGraphics.[Ch]:
308 * ControlInclude.[Ch]:
311 (Browse): new method. Returns the results of a FileDialog browse.
313 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
314 (getVectorFromString): fixed bug.
316 * biblio.C (simpleSearch): cleaned up.
318 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
320 * A slight reworking of Baruch Even's ButtonController patch.
322 * BCTemplates.h: new file; all the templates for the ButtonController.
323 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
324 to the more generic setButtonLabel().
326 * ButtonController.[Ch]: renamed cancel_label and close_label as
327 cancel_label_ and close_label_.
329 * Makefile.am: added BCTemplates.h
331 2001-03-29 Juergen Vigna <jug@sad.it>
333 * ControlMinipage.C: removed widthp_ and all it's functions and changed
334 to use new %-lengths of LyXLength.
336 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
338 * ControlCitation.C (bibkeysInfo): removed Assert.
340 * ControlCopyright.h: moved GUICopyright into GUI.h
344 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
346 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
347 (setDaughterParams): a (by default empty) new method called in show().
356 * ControlUrl.h (clearDaughterParams): removed
358 * ControlMinipage.C (applyParamsToInset): update the view.
359 Added namespace minipage containing a helper function getUnits.
361 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
363 * ControlCharacter.[Ch]: moved out all the helper functions and the
364 enum into their own file.
365 * character.[Ch]: new files; contain the character helper functions,
366 now inside namespace character.
368 * ControlCitation.[Ch]: moved out all the helper functions and the
369 enums into their own file. Simplified interface.
370 * biblio.[Ch]: new files; contain the citation helper functions,
371 now inside namespace biblio. Will be of use also to an improved
374 * ControlGraphics.[Ch]:
375 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
376 popups, respectively.
379 * Makefile.am: associated changes.
381 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
383 * ControlMinipage.[Ch]:
384 * ControlPreamble.[Ch]:
386 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
387 and Print popups and Splash screen, respectively.
389 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
393 * Makefile.am: associated changes.
395 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
397 * ControlConnections.[Ch]: (docType): new method; returns the type
398 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
401 * ControlSearch.[Ch]:
402 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
403 Search and TabularCreate popups, respectively.
406 * Makefile.am: associated changes.
408 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
410 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
413 * ControlInset.h (apply): fix bug. Can now create new insets again.
415 * README: describe program flow.
417 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
419 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
421 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
423 * ControlDialogs.h: moved class ControlInset into its own file.
425 * ControlInset.h: new file. class ControlInset has been expanded to take
426 two template parameters, Inset and Params. Believe that all inset
427 controllers can be derived from this with the minimum of effort.
429 * ControlBibitem.[Ch]:
430 * ControlBibtex.[Ch]:
431 * ControlCitation.[Ch]:
432 * ControlCommand.[Ch]: moved most code into ControlInset.
434 * lots of files. Moved protected stuff into private where possible.
437 * ControlInclude.[Ch]:
438 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
439 Include and Url popups, respectively.
442 * Makefile.am: associated changes.
444 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
446 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
449 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
451 * ControlCredits.C (getCredits): remove std:: qualifier for
454 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
456 * ControlCredits.C (getCredits): add std:: on vector
458 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
460 * ControlCredits.C: remove using that is only used once, use
461 std::ios instead of std::iosbase, add some annoying comments.
463 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
465 * lots of header files: improved explanatory notes.
467 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
468 ControlBase is now a class that only controls the interaction of the
469 View with the ButtonController.
471 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
472 to ControlConnectBase. The class controls the connection/disconnection
473 of signals from the LyX kernel and makes available the kernel (through
474 lv_) to daughter controller classes.
475 Moved out class ControlConnectInset to a new file ControlDialogs.h.
477 * ControlDialogs.h: new file. Contains the definition of two template
478 controller classes, ControlDialog and ControlInset (was
479 ControlConnectInset). ControlInset is a parent class for controllers
480 of inset-popups. ControlDialogs is the rather uninspired name for
481 the base class of all non-inset popups. (Eg, Document and Paragraph.)
482 ControlDialogs is reaching a state of maturity as several popups now use
483 it and its functionality becomes clear. ControlInset is still in a state
484 of flux. It is likely that functionality will be moved out of
485 ControlCommands and into it.
487 * GUI.h: new file. Moved all the template GUIXXX classes out of the
488 individual Controller header files and into one place. These classes
489 serve only as convenient wrappers to simplify code in the respective
490 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
492 * ControlCharacter.[Ch] (show, update, hide):
493 * ControlLog.[Ch] (show, update, hide):
494 * ControlVCLog.[Ch] (show, update, hide): moved back into
495 the ControlDialogs base class.
496 (setParams, clearParams): new methods containing controller-specific
497 code to set/reset the parameters manipulated by the view.
499 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
501 (hide): calls clearParams.
503 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
504 by ControlCommand::hide().
506 * ControlCopyright.[Ch]:
507 * ControlCredits.[Ch]: new files; controllers for the copyright and
508 credits popups, respectively.
510 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
512 * ControlCharacter.C: fix typo
514 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
516 * ControlCharacter.[Ch]: new files; controller for the character popup.
518 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
519 moved to new files helper_funcs.[Ch].
521 * helper_funcs.[Ch]: new files. Some useful helper functions and
524 * Makefile.am: added new files.
526 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
528 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
530 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
533 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
534 Control log files, respectively.
536 * Makefile.am: added new files.
538 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
540 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
542 * Makefile.am: added ControlBibtex.[Ch].
544 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
547 * ControlCitation.C: added "using SigC::slot" declaration.
549 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
550 to FormCitation.C prior to the merger: "Do not put space between
553 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
555 * several files: remove CXX_WORKING_NAMESPACES
557 * ButtonController.h: noncopyable is in namespace boost
558 * ButtonPolicies.h: ditto
560 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
562 * Merging changes from BRANCH_MVC back into HEAD.
564 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
566 * Makefile.am: add ControlBibitem.[Ch].
568 * ControlBibitem.[Ch]: new files that together define the Controller
571 * ControlCommand.h (c-tor): give kb_action a default value of
574 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
576 * ControlCitation.[Ch]: moved search functions out of class.
577 (bibkeysInfo): new method. Returns const reference to private data.
578 (searchKeys): added case-sensitive switch. Used only by simpleSearch
581 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
583 * ControlCitation.[Ch]: added Search functions to the class,
584 (shamelessly lifted from Marco's gnome code). I think that these would
585 be better as helper functions outside the class, but this is a first
588 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
590 * ControlCitation.[Ch]: (getBibkeyList): removed from class
592 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
593 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
594 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
595 implementation of FormCitation.
597 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
599 * ButtonPolicies.h: add SMI_NOOP to enum.
601 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
603 * ButtonController.C (input): add "optimising" if-statement. Actually,
604 things don't work correctly without it...
606 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
608 * ViewBase.h: remove #pragma directive
610 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
613 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
615 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
617 * Makefile.am: added ButtonPolicies.[Ch]
619 * ButtonController.[Ch]: ButtonController is split into
620 ButtonControllerBase and a template ButtonController class. The base
621 class no longer stores a pointer to a ButtonPolicy, but instead
622 accesses the actual instantiation of the policy through a pure virtual
623 method bp(). This method and the ButtonPolicy itself are instantiated
624 in the templatised ButtonController class. This class is derived from
625 the GUI-specific GUIBC class, meaning that the frontends know
626 nothing about the actual policy decided upon by the controllers.
628 * ControlBase.[Ch]: No longer store the View or the ButtonController.
629 Instead the actual instantiations are accessed through pure virtual
630 methods view() and bc(). The daughter classes are responsible for the
631 actual View and ButtonController.
633 * ControlCitation.h: the templatised class GUICitation instantiates
634 the methods view() and bc(). It also stores the instances of the
635 View and ButtonController.
637 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
639 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
640 also changed to ButtonController.
643 * ControlConnections.[Ch]:
644 * ControlCommand.[Ch]:
645 * ControlCitation.[Ch]:
646 * ViewBase.h: Changes associated with this.
648 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
650 * ButtonControllerBase.[Ch]: new files. Split Allan's original
651 xforms/ButtonController class into a GUI-I class (here) and an
652 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
654 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
655 from which all Dialog Controllers should be derived. the Controllers
656 are GUI-independent, but are designed to control the behaviour of
657 GUI-specific implementaions of each dialog.
659 * ControlConnections.[Ch]: new files. Classes controlling the
660 connections of buffer-independent, buffer-dependent and Inset dialogs
663 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
664 InsetCommand subset of insets.
666 * ControlCitation.[Ch]: new files. The test specialisation! A
667 controller for the Citation dialog.
669 * ViewBase.h: new file. ViewBase is an abstract base class from which
670 GUI-specific dialogs should be derived. The functionality that the GUIs
671 must now implement is much reduced.