1 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
3 * helper_funcs.C (getVectorFromString): fixed small bug.
5 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
7 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
9 * ControlSpellchecker.C: check next word after insert in personal dict
11 2001-08-06 Juergen Vigna <jug@sad.it>
13 * ControlERT.[Ch]: new file
15 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
17 * ControlInset.h: const and non-const forms of params().
19 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
20 whitespace from either side of each item.
22 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
24 * ControlFloat.h: add a != operator for FloatParams.
25 Lars, how did you get this to compile!!!
27 * ControlMinipage.[Ch]: uncommented someone's commenting out of
28 operator != for MinipageParams. Who's changing stuff and not compiling?
30 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
32 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
35 * GUI.h: add class GUIFloat
37 * ControlFloat.[Ch]: new files
39 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
41 * ControlPrint.C: #include Lassert.h here.
43 2001-07-26 Baruch Even <baruch@lyx.org>
45 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
48 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
53 * Makefile.am: thesaurus support
55 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
58 * ControlInclude.C: implement ability to load file
60 2001-07-18 Juergen Vigna <jug@sad.it>
62 * ControlSearch.C (replace): changes to lyxfind.h function calls.
64 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
66 * biblio.C (getInfo): add a .c_str() to handle the usual
69 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
71 * ControlCitation.[Ch]: changes associated with adding natbib support.
72 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
73 New static variable citeStyles_.
75 * biblio.[Ch]: large internal rearrangement.
76 New public enum CiteStyle.
77 New public struct CitationStyle.
78 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
79 getNumericalStrings, getAuthorYearStrings
80 (simpleSearch, regexSearch): no longer publicly accessible.
82 * helper_funcs.C (getStringFromVector): bug fix.
84 2001-07-16 Baruch Even <baruch@lyx.org>
86 * ControlVCLog.h: Added Lsstream.h to includes.
88 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
90 * ControlSpellchecker.[Ch]: remove d-tor.
92 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
94 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
96 2001-07-16 Juergen Vigna <jug@sad.it>
98 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
99 compiled with USE_PSPELL) to be able to switch between ISpell and
102 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
104 Consistent use of Lsstream.h:
105 * ControlAboutlyx.[Ch] (getCredits):
106 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
108 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
110 * ControlCredits.[Ch]: removed
111 * ControlCopyright.[Ch]: removed
112 * ControlAboutlyx.[Ch]: added (replaces previous)
113 * GUI.h: removed credits and copyright added about lyx stuff
115 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
117 * ControlSpellchecker.C (getSuggestion):
118 (getWord): add std:: qualifier
120 >001-07-13 Edwin Leuven <leuven@fee.uva.nl>
122 * ControlSpellchecker.[Ch]: added
123 * ViewBase.h: added partialUpdate(int) member
124 * GUI.h: added spell stuff
126 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
128 * ControlExternal.C: (*it). -> it->
130 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
132 * ButtonController.h: move some included header files out of the
133 frontends and into here.
135 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
137 * ControlCharacter.C (c-tor): cosmetic name change of signal.
139 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
141 * *.[h]: added // -*- C++ -*-
142 * *.[C]: removed // -*- C++ -*-
144 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
145 activate Apply button.
146 (clearParams): removed.
147 font_ is now stored as a boost::scoped_ptr.
148 font_ is no longer deleted on hide(), so it's contents can now be used
149 by the Font button on the toolbar.
150 Lots of new methods so that the GUI can easily get the contents of
151 font_ when it update()s.
153 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
155 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
156 crash when the Font button on the Toolbar is pressed.
158 * GUI.h: change policy of Character button controller to
159 OkApplyCancelReadOnlyPolicy.
161 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
163 * ControlToc.C (getContents): don't add anything to the list if it
164 is supposed to be empty.
166 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
168 * helper_funcs.C (getVectorFromString): bug fix.
170 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
173 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
174 from ButtonControllerBase::readOnly. Updates the state of the widgets
175 in the read-only list only when the read-only status of the document
177 (refresh): moved this stuff into refreshReadOnly.
179 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
181 * ControlPrint.C (c-tor):
182 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
184 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
187 * character.h: small clean-ups.
189 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
191 * ControlToc.C (getType): remove support for old float list.
193 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
195 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
196 * ControlGraphics.h: no longer include insetgraphicsParams.h
197 * ControlInset.h: no longer include LyXView.h
202 * ControlCharacter.C:
205 * ControlConnections.C:
206 * ControlCopyright.C:
218 * ControlTabularCreate.C:
220 * ControlVCLog.C: they're now in here!
222 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
224 * ButtonControllerBase.h: C++ mode, inherit privately from
226 * ButtonPolicies.h: ditto
228 * ButtonController.h: C++ mode, swap init order of restore_ and
231 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
233 * ControlTabularCreate.h:
234 * ControlTabularCreate.C: make dialogs use a pair of uints
238 * ControlVCLog.C: fill a stringstream with the log contents
241 * ControlExternal.C: from Angus, clone the new InsetExternal
244 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
246 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
247 and made more robust.
249 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
258 * ControlCopyright.C: include gettext.h
260 * ControlCharacter.C:
261 * character.C: include gettext.h and language.h
263 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
265 * ButtonController.h:
266 * ButtonControllerBase.h:
267 * ButtonControllerBase.C:
274 * ControlConnections.h:
280 * ViewBase.h: s/ControlButton/ControlButtons/
282 s/UndoAll/Restore/ + associated
284 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
286 * ControlToc.[Ch]: new files; a controller for the TOC popup.
289 * Makefile.am: associated changes with all of the above.
291 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
293 * ControlExternal.C: bug fixes. Can now apply changes to the inset
294 and edit, view, update the External Material correctly. I hope!
296 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
298 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
300 * BCTemplates.h: renamed as ButtonController.h
302 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
305 * ControlConnections.h: associated change in #include and class names.
307 * ControlExternal.[Ch]: new files; a controller for the External
311 * Makefile.am: associated changes with all of the above.
313 * ControlGraphics.[Ch]:
314 * ControlInclude.[Ch]:
317 (Browse): new method. Returns the results of a FileDialog browse.
319 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
320 (getVectorFromString): fixed bug.
322 * biblio.C (simpleSearch): cleaned up.
324 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
326 * A slight reworking of Baruch Even's ButtonController patch.
328 * BCTemplates.h: new file; all the templates for the ButtonController.
329 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
330 to the more generic setButtonLabel().
332 * ButtonController.[Ch]: renamed cancel_label and close_label as
333 cancel_label_ and close_label_.
335 * Makefile.am: added BCTemplates.h
337 2001-03-29 Juergen Vigna <jug@sad.it>
339 * ControlMinipage.C: removed widthp_ and all it's functions and changed
340 to use new %-lengths of LyXLength.
342 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
344 * ControlCitation.C (bibkeysInfo): removed Assert.
346 * ControlCopyright.h: moved GUICopyright into GUI.h
350 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
352 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
353 (setDaughterParams): a (by default empty) new method called in show().
362 * ControlUrl.h (clearDaughterParams): removed
364 * ControlMinipage.C (applyParamsToInset): update the view.
365 Added namespace minipage containing a helper function getUnits.
367 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
369 * ControlCharacter.[Ch]: moved out all the helper functions and the
370 enum into their own file.
371 * character.[Ch]: new files; contain the character helper functions,
372 now inside namespace character.
374 * ControlCitation.[Ch]: moved out all the helper functions and the
375 enums into their own file. Simplified interface.
376 * biblio.[Ch]: new files; contain the citation helper functions,
377 now inside namespace biblio. Will be of use also to an improved
380 * ControlGraphics.[Ch]:
381 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
382 popups, respectively.
385 * Makefile.am: associated changes.
387 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
389 * ControlMinipage.[Ch]:
390 * ControlPreamble.[Ch]:
392 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
393 and Print popups and Splash screen, respectively.
395 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
399 * Makefile.am: associated changes.
401 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
403 * ControlConnections.[Ch]: (docType): new method; returns the type
404 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
407 * ControlSearch.[Ch]:
408 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
409 Search and TabularCreate popups, respectively.
412 * Makefile.am: associated changes.
414 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
416 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
419 * ControlInset.h (apply): fix bug. Can now create new insets again.
421 * README: describe program flow.
423 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
425 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
427 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
429 * ControlDialogs.h: moved class ControlInset into its own file.
431 * ControlInset.h: new file. class ControlInset has been expanded to take
432 two template parameters, Inset and Params. Believe that all inset
433 controllers can be derived from this with the minimum of effort.
435 * ControlBibitem.[Ch]:
436 * ControlBibtex.[Ch]:
437 * ControlCitation.[Ch]:
438 * ControlCommand.[Ch]: moved most code into ControlInset.
440 * lots of files. Moved protected stuff into private where possible.
443 * ControlInclude.[Ch]:
444 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
445 Include and Url popups, respectively.
448 * Makefile.am: associated changes.
450 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
452 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
455 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
457 * ControlCredits.C (getCredits): remove std:: qualifier for
460 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
462 * ControlCredits.C (getCredits): add std:: on vector
464 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
466 * ControlCredits.C: remove using that is only used once, use
467 std::ios instead of std::iosbase, add some annoying comments.
469 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
471 * lots of header files: improved explanatory notes.
473 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
474 ControlBase is now a class that only controls the interaction of the
475 View with the ButtonController.
477 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
478 to ControlConnectBase. The class controls the connection/disconnection
479 of signals from the LyX kernel and makes available the kernel (through
480 lv_) to daughter controller classes.
481 Moved out class ControlConnectInset to a new file ControlDialogs.h.
483 * ControlDialogs.h: new file. Contains the definition of two template
484 controller classes, ControlDialog and ControlInset (was
485 ControlConnectInset). ControlInset is a parent class for controllers
486 of inset-popups. ControlDialogs is the rather uninspired name for
487 the base class of all non-inset popups. (Eg, Document and Paragraph.)
488 ControlDialogs is reaching a state of maturity as several popups now use
489 it and its functionality becomes clear. ControlInset is still in a state
490 of flux. It is likely that functionality will be moved out of
491 ControlCommands and into it.
493 * GUI.h: new file. Moved all the template GUIXXX classes out of the
494 individual Controller header files and into one place. These classes
495 serve only as convenient wrappers to simplify code in the respective
496 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
498 * ControlCharacter.[Ch] (show, update, hide):
499 * ControlLog.[Ch] (show, update, hide):
500 * ControlVCLog.[Ch] (show, update, hide): moved back into
501 the ControlDialogs base class.
502 (setParams, clearParams): new methods containing controller-specific
503 code to set/reset the parameters manipulated by the view.
505 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
507 (hide): calls clearParams.
509 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
510 by ControlCommand::hide().
512 * ControlCopyright.[Ch]:
513 * ControlCredits.[Ch]: new files; controllers for the copyright and
514 credits popups, respectively.
516 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
518 * ControlCharacter.C: fix typo
520 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
522 * ControlCharacter.[Ch]: new files; controller for the character popup.
524 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
525 moved to new files helper_funcs.[Ch].
527 * helper_funcs.[Ch]: new files. Some useful helper functions and
530 * Makefile.am: added new files.
532 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
534 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
536 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
539 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
540 Control log files, respectively.
542 * Makefile.am: added new files.
544 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
546 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
548 * Makefile.am: added ControlBibtex.[Ch].
550 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
553 * ControlCitation.C: added "using SigC::slot" declaration.
555 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
556 to FormCitation.C prior to the merger: "Do not put space between
559 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
561 * several files: remove CXX_WORKING_NAMESPACES
563 * ButtonController.h: noncopyable is in namespace boost
564 * ButtonPolicies.h: ditto
566 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
568 * Merging changes from BRANCH_MVC back into HEAD.
570 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
572 * Makefile.am: add ControlBibitem.[Ch].
574 * ControlBibitem.[Ch]: new files that together define the Controller
577 * ControlCommand.h (c-tor): give kb_action a default value of
580 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
582 * ControlCitation.[Ch]: moved search functions out of class.
583 (bibkeysInfo): new method. Returns const reference to private data.
584 (searchKeys): added case-sensitive switch. Used only by simpleSearch
587 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
589 * ControlCitation.[Ch]: added Search functions to the class,
590 (shamelessly lifted from Marco's gnome code). I think that these would
591 be better as helper functions outside the class, but this is a first
594 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
596 * ControlCitation.[Ch]: (getBibkeyList): removed from class
598 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
599 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
600 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
601 implementation of FormCitation.
603 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
605 * ButtonPolicies.h: add SMI_NOOP to enum.
607 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
609 * ButtonController.C (input): add "optimising" if-statement. Actually,
610 things don't work correctly without it...
612 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
614 * ViewBase.h: remove #pragma directive
616 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
619 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
621 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
623 * Makefile.am: added ButtonPolicies.[Ch]
625 * ButtonController.[Ch]: ButtonController is split into
626 ButtonControllerBase and a template ButtonController class. The base
627 class no longer stores a pointer to a ButtonPolicy, but instead
628 accesses the actual instantiation of the policy through a pure virtual
629 method bp(). This method and the ButtonPolicy itself are instantiated
630 in the templatised ButtonController class. This class is derived from
631 the GUI-specific GUIBC class, meaning that the frontends know
632 nothing about the actual policy decided upon by the controllers.
634 * ControlBase.[Ch]: No longer store the View or the ButtonController.
635 Instead the actual instantiations are accessed through pure virtual
636 methods view() and bc(). The daughter classes are responsible for the
637 actual View and ButtonController.
639 * ControlCitation.h: the templatised class GUICitation instantiates
640 the methods view() and bc(). It also stores the instances of the
641 View and ButtonController.
643 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
645 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
646 also changed to ButtonController.
649 * ControlConnections.[Ch]:
650 * ControlCommand.[Ch]:
651 * ControlCitation.[Ch]:
652 * ViewBase.h: Changes associated with this.
654 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
656 * ButtonControllerBase.[Ch]: new files. Split Allan's original
657 xforms/ButtonController class into a GUI-I class (here) and an
658 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
660 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
661 from which all Dialog Controllers should be derived. the Controllers
662 are GUI-independent, but are designed to control the behaviour of
663 GUI-specific implementaions of each dialog.
665 * ControlConnections.[Ch]: new files. Classes controlling the
666 connections of buffer-independent, buffer-dependent and Inset dialogs
669 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
670 InsetCommand subset of insets.
672 * ControlCitation.[Ch]: new files. The test specialisation! A
673 controller for the Citation dialog.
675 * ViewBase.h: new file. ViewBase is an abstract base class from which
676 GUI-specific dialogs should be derived. The functionality that the GUIs
677 must now implement is much reduced.