1 2001-08-09 Allan Rae <rae@lyx.org>
3 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
5 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
7 * helper_funcs.C (getVectorFromString): fixed small bug.
9 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
11 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
13 * ControlSpellchecker.C: check next word after insert in personal dict
15 2001-08-06 Juergen Vigna <jug@sad.it>
17 * ControlERT.[Ch]: new file
19 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
21 * ControlInset.h: const and non-const forms of params().
23 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
24 whitespace from either side of each item.
26 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
28 * ControlFloat.h: add a != operator for FloatParams.
29 Lars, how did you get this to compile!!!
31 * ControlMinipage.[Ch]: uncommented someone's commenting out of
32 operator != for MinipageParams. Who's changing stuff and not compiling?
34 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
36 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
39 * GUI.h: add class GUIFloat
41 * ControlFloat.[Ch]: new files
43 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
45 * ControlPrint.C: #include Lassert.h here.
47 2001-07-26 Baruch Even <baruch@lyx.org>
49 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
52 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
57 * Makefile.am: thesaurus support
59 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
62 * ControlInclude.C: implement ability to load file
64 2001-07-18 Juergen Vigna <jug@sad.it>
66 * ControlSearch.C (replace): changes to lyxfind.h function calls.
68 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
70 * biblio.C (getInfo): add a .c_str() to handle the usual
73 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
75 * ControlCitation.[Ch]: changes associated with adding natbib support.
76 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
77 New static variable citeStyles_.
79 * biblio.[Ch]: large internal rearrangement.
80 New public enum CiteStyle.
81 New public struct CitationStyle.
82 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
83 getNumericalStrings, getAuthorYearStrings
84 (simpleSearch, regexSearch): no longer publicly accessible.
86 * helper_funcs.C (getStringFromVector): bug fix.
88 2001-07-16 Baruch Even <baruch@lyx.org>
90 * ControlVCLog.h: Added Lsstream.h to includes.
92 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
94 * ControlSpellchecker.[Ch]: remove d-tor.
96 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
98 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
100 2001-07-16 Juergen Vigna <jug@sad.it>
102 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
103 compiled with USE_PSPELL) to be able to switch between ISpell and
106 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
108 Consistent use of Lsstream.h:
109 * ControlAboutlyx.[Ch] (getCredits):
110 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
112 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
114 * ControlCredits.[Ch]: removed
115 * ControlCopyright.[Ch]: removed
116 * ControlAboutlyx.[Ch]: added (replaces previous)
117 * GUI.h: removed credits and copyright added about lyx stuff
119 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
121 * ControlSpellchecker.C (getSuggestion):
122 (getWord): add std:: qualifier
124 >001-07-13 Edwin Leuven <leuven@fee.uva.nl>
126 * ControlSpellchecker.[Ch]: added
127 * ViewBase.h: added partialUpdate(int) member
128 * GUI.h: added spell stuff
130 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
132 * ControlExternal.C: (*it). -> it->
134 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
136 * ButtonController.h: move some included header files out of the
137 frontends and into here.
139 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
141 * ControlCharacter.C (c-tor): cosmetic name change of signal.
143 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
145 * *.[h]: added // -*- C++ -*-
146 * *.[C]: removed // -*- C++ -*-
148 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
149 activate Apply button.
150 (clearParams): removed.
151 font_ is now stored as a boost::scoped_ptr.
152 font_ is no longer deleted on hide(), so it's contents can now be used
153 by the Font button on the toolbar.
154 Lots of new methods so that the GUI can easily get the contents of
155 font_ when it update()s.
157 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
159 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
160 crash when the Font button on the Toolbar is pressed.
162 * GUI.h: change policy of Character button controller to
163 OkApplyCancelReadOnlyPolicy.
165 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
167 * ControlToc.C (getContents): don't add anything to the list if it
168 is supposed to be empty.
170 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
172 * helper_funcs.C (getVectorFromString): bug fix.
174 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
177 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
178 from ButtonControllerBase::readOnly. Updates the state of the widgets
179 in the read-only list only when the read-only status of the document
181 (refresh): moved this stuff into refreshReadOnly.
183 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
185 * ControlPrint.C (c-tor):
186 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
188 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
191 * character.h: small clean-ups.
193 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
195 * ControlToc.C (getType): remove support for old float list.
197 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
199 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
200 * ControlGraphics.h: no longer include insetgraphicsParams.h
201 * ControlInset.h: no longer include LyXView.h
206 * ControlCharacter.C:
209 * ControlConnections.C:
210 * ControlCopyright.C:
222 * ControlTabularCreate.C:
224 * ControlVCLog.C: they're now in here!
226 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
228 * ButtonControllerBase.h: C++ mode, inherit privately from
230 * ButtonPolicies.h: ditto
232 * ButtonController.h: C++ mode, swap init order of restore_ and
235 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
237 * ControlTabularCreate.h:
238 * ControlTabularCreate.C: make dialogs use a pair of uints
242 * ControlVCLog.C: fill a stringstream with the log contents
245 * ControlExternal.C: from Angus, clone the new InsetExternal
248 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
250 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
251 and made more robust.
253 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
262 * ControlCopyright.C: include gettext.h
264 * ControlCharacter.C:
265 * character.C: include gettext.h and language.h
267 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
269 * ButtonController.h:
270 * ButtonControllerBase.h:
271 * ButtonControllerBase.C:
278 * ControlConnections.h:
284 * ViewBase.h: s/ControlButton/ControlButtons/
286 s/UndoAll/Restore/ + associated
288 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
290 * ControlToc.[Ch]: new files; a controller for the TOC popup.
293 * Makefile.am: associated changes with all of the above.
295 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
297 * ControlExternal.C: bug fixes. Can now apply changes to the inset
298 and edit, view, update the External Material correctly. I hope!
300 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
302 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
304 * BCTemplates.h: renamed as ButtonController.h
306 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
309 * ControlConnections.h: associated change in #include and class names.
311 * ControlExternal.[Ch]: new files; a controller for the External
315 * Makefile.am: associated changes with all of the above.
317 * ControlGraphics.[Ch]:
318 * ControlInclude.[Ch]:
321 (Browse): new method. Returns the results of a FileDialog browse.
323 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
324 (getVectorFromString): fixed bug.
326 * biblio.C (simpleSearch): cleaned up.
328 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
330 * A slight reworking of Baruch Even's ButtonController patch.
332 * BCTemplates.h: new file; all the templates for the ButtonController.
333 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
334 to the more generic setButtonLabel().
336 * ButtonController.[Ch]: renamed cancel_label and close_label as
337 cancel_label_ and close_label_.
339 * Makefile.am: added BCTemplates.h
341 2001-03-29 Juergen Vigna <jug@sad.it>
343 * ControlMinipage.C: removed widthp_ and all it's functions and changed
344 to use new %-lengths of LyXLength.
346 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
348 * ControlCitation.C (bibkeysInfo): removed Assert.
350 * ControlCopyright.h: moved GUICopyright into GUI.h
354 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
356 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
357 (setDaughterParams): a (by default empty) new method called in show().
366 * ControlUrl.h (clearDaughterParams): removed
368 * ControlMinipage.C (applyParamsToInset): update the view.
369 Added namespace minipage containing a helper function getUnits.
371 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
373 * ControlCharacter.[Ch]: moved out all the helper functions and the
374 enum into their own file.
375 * character.[Ch]: new files; contain the character helper functions,
376 now inside namespace character.
378 * ControlCitation.[Ch]: moved out all the helper functions and the
379 enums into their own file. Simplified interface.
380 * biblio.[Ch]: new files; contain the citation helper functions,
381 now inside namespace biblio. Will be of use also to an improved
384 * ControlGraphics.[Ch]:
385 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
386 popups, respectively.
389 * Makefile.am: associated changes.
391 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
393 * ControlMinipage.[Ch]:
394 * ControlPreamble.[Ch]:
396 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
397 and Print popups and Splash screen, respectively.
399 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
403 * Makefile.am: associated changes.
405 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
407 * ControlConnections.[Ch]: (docType): new method; returns the type
408 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
411 * ControlSearch.[Ch]:
412 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
413 Search and TabularCreate popups, respectively.
416 * Makefile.am: associated changes.
418 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
420 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
423 * ControlInset.h (apply): fix bug. Can now create new insets again.
425 * README: describe program flow.
427 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
429 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
431 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
433 * ControlDialogs.h: moved class ControlInset into its own file.
435 * ControlInset.h: new file. class ControlInset has been expanded to take
436 two template parameters, Inset and Params. Believe that all inset
437 controllers can be derived from this with the minimum of effort.
439 * ControlBibitem.[Ch]:
440 * ControlBibtex.[Ch]:
441 * ControlCitation.[Ch]:
442 * ControlCommand.[Ch]: moved most code into ControlInset.
444 * lots of files. Moved protected stuff into private where possible.
447 * ControlInclude.[Ch]:
448 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
449 Include and Url popups, respectively.
452 * Makefile.am: associated changes.
454 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
456 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
459 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
461 * ControlCredits.C (getCredits): remove std:: qualifier for
464 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
466 * ControlCredits.C (getCredits): add std:: on vector
468 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
470 * ControlCredits.C: remove using that is only used once, use
471 std::ios instead of std::iosbase, add some annoying comments.
473 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
475 * lots of header files: improved explanatory notes.
477 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
478 ControlBase is now a class that only controls the interaction of the
479 View with the ButtonController.
481 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
482 to ControlConnectBase. The class controls the connection/disconnection
483 of signals from the LyX kernel and makes available the kernel (through
484 lv_) to daughter controller classes.
485 Moved out class ControlConnectInset to a new file ControlDialogs.h.
487 * ControlDialogs.h: new file. Contains the definition of two template
488 controller classes, ControlDialog and ControlInset (was
489 ControlConnectInset). ControlInset is a parent class for controllers
490 of inset-popups. ControlDialogs is the rather uninspired name for
491 the base class of all non-inset popups. (Eg, Document and Paragraph.)
492 ControlDialogs is reaching a state of maturity as several popups now use
493 it and its functionality becomes clear. ControlInset is still in a state
494 of flux. It is likely that functionality will be moved out of
495 ControlCommands and into it.
497 * GUI.h: new file. Moved all the template GUIXXX classes out of the
498 individual Controller header files and into one place. These classes
499 serve only as convenient wrappers to simplify code in the respective
500 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
502 * ControlCharacter.[Ch] (show, update, hide):
503 * ControlLog.[Ch] (show, update, hide):
504 * ControlVCLog.[Ch] (show, update, hide): moved back into
505 the ControlDialogs base class.
506 (setParams, clearParams): new methods containing controller-specific
507 code to set/reset the parameters manipulated by the view.
509 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
511 (hide): calls clearParams.
513 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
514 by ControlCommand::hide().
516 * ControlCopyright.[Ch]:
517 * ControlCredits.[Ch]: new files; controllers for the copyright and
518 credits popups, respectively.
520 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
522 * ControlCharacter.C: fix typo
524 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
526 * ControlCharacter.[Ch]: new files; controller for the character popup.
528 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
529 moved to new files helper_funcs.[Ch].
531 * helper_funcs.[Ch]: new files. Some useful helper functions and
534 * Makefile.am: added new files.
536 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
538 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
540 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
543 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
544 Control log files, respectively.
546 * Makefile.am: added new files.
548 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
550 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
552 * Makefile.am: added ControlBibtex.[Ch].
554 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
557 * ControlCitation.C: added "using SigC::slot" declaration.
559 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
560 to FormCitation.C prior to the merger: "Do not put space between
563 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
565 * several files: remove CXX_WORKING_NAMESPACES
567 * ButtonController.h: noncopyable is in namespace boost
568 * ButtonPolicies.h: ditto
570 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
572 * Merging changes from BRANCH_MVC back into HEAD.
574 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
576 * Makefile.am: add ControlBibitem.[Ch].
578 * ControlBibitem.[Ch]: new files that together define the Controller
581 * ControlCommand.h (c-tor): give kb_action a default value of
584 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
586 * ControlCitation.[Ch]: moved search functions out of class.
587 (bibkeysInfo): new method. Returns const reference to private data.
588 (searchKeys): added case-sensitive switch. Used only by simpleSearch
591 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
593 * ControlCitation.[Ch]: added Search functions to the class,
594 (shamelessly lifted from Marco's gnome code). I think that these would
595 be better as helper functions outside the class, but this is a first
598 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
600 * ControlCitation.[Ch]: (getBibkeyList): removed from class
602 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
603 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
604 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
605 implementation of FormCitation.
607 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
609 * ButtonPolicies.h: add SMI_NOOP to enum.
611 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
613 * ButtonController.C (input): add "optimising" if-statement. Actually,
614 things don't work correctly without it...
616 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
618 * ViewBase.h: remove #pragma directive
620 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
623 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
625 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
627 * Makefile.am: added ButtonPolicies.[Ch]
629 * ButtonController.[Ch]: ButtonController is split into
630 ButtonControllerBase and a template ButtonController class. The base
631 class no longer stores a pointer to a ButtonPolicy, but instead
632 accesses the actual instantiation of the policy through a pure virtual
633 method bp(). This method and the ButtonPolicy itself are instantiated
634 in the templatised ButtonController class. This class is derived from
635 the GUI-specific GUIBC class, meaning that the frontends know
636 nothing about the actual policy decided upon by the controllers.
638 * ControlBase.[Ch]: No longer store the View or the ButtonController.
639 Instead the actual instantiations are accessed through pure virtual
640 methods view() and bc(). The daughter classes are responsible for the
641 actual View and ButtonController.
643 * ControlCitation.h: the templatised class GUICitation instantiates
644 the methods view() and bc(). It also stores the instances of the
645 View and ButtonController.
647 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
649 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
650 also changed to ButtonController.
653 * ControlConnections.[Ch]:
654 * ControlCommand.[Ch]:
655 * ControlCitation.[Ch]:
656 * ViewBase.h: Changes associated with this.
658 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
660 * ButtonControllerBase.[Ch]: new files. Split Allan's original
661 xforms/ButtonController class into a GUI-I class (here) and an
662 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
664 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
665 from which all Dialog Controllers should be derived. the Controllers
666 are GUI-independent, but are designed to control the behaviour of
667 GUI-specific implementaions of each dialog.
669 * ControlConnections.[Ch]: new files. Classes controlling the
670 connections of buffer-independent, buffer-dependent and Inset dialogs
673 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
674 InsetCommand subset of insets.
676 * ControlCitation.[Ch]: new files. The test specialisation! A
677 controller for the Citation dialog.
679 * ViewBase.h: new file. ViewBase is an abstract base class from which
680 GUI-specific dialogs should be derived. The functionality that the GUIs
681 must now implement is much reduced.