1 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
6 * GUI.h: add class GUIFloat
8 * ControlFloat.[Ch]: new files
10 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12 * ControlPrint.C: #include Lassert.h here.
14 2001-07-26 Baruch Even <baruch@lyx.org>
16 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
19 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
24 * Makefile.am: thesaurus support
26 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
29 * ControlInclude.C: implement ability to load file
31 2001-07-18 Juergen Vigna <jug@sad.it>
33 * ControlSearch.C (replace): changes to lyxfind.h function calls.
35 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
37 * biblio.C (getInfo): add a .c_str() to handle the usual
40 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
42 * ControlCitation.[Ch]: changes associated with adding natbib support.
43 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
44 New static variable citeStyles_.
46 * biblio.[Ch]: large internal rearrangement.
47 New public enum CiteStyle.
48 New public struct CitationStyle.
49 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
50 getNumericalStrings, getAuthorYearStrings
51 (simpleSearch, regexSearch): no longer publicly accessible.
53 * helper_funcs.C (getStringFromVector): bug fix.
55 2001-07-16 Baruch Even <baruch@lyx.org>
57 * ControlVCLog.h: Added Lsstream.h to includes.
59 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
61 * ControlSpellchecker.[Ch]: remove d-tor.
63 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
65 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
67 2001-07-16 Juergen Vigna <jug@sad.it>
69 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
70 compiled with USE_PSPELL) to be able to switch between ISpell and
73 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
75 Consistent use of Lsstream.h:
76 * ControlAboutlyx.[Ch] (getCredits):
77 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
79 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
81 * ControlCredits.[Ch]: removed
82 * ControlCopyright.[Ch]: removed
83 * ControlAboutlyx.[Ch]: added (replaces previous)
84 * GUI.h: removed credits and copyright added about lyx stuff
86 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
88 * ControlSpellchecker.C (getSuggestion):
89 (getWord): add std:: qualifier
91 >001-07-13 Edwin Leuven <leuven@fee.uva.nl>
93 * ControlSpellchecker.[Ch]: added
94 * ViewBase.h: added partialUpdate(int) member
95 * GUI.h: added spell stuff
97 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
99 * ControlExternal.C: (*it). -> it->
101 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
103 * ButtonController.h: move some included header files out of the
104 frontends and into here.
106 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
108 * ControlCharacter.C (c-tor): cosmetic name change of signal.
110 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
112 * *.[h]: added // -*- C++ -*-
113 * *.[C]: removed // -*- C++ -*-
115 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
116 activate Apply button.
117 (clearParams): removed.
118 font_ is now stored as a boost::scoped_ptr.
119 font_ is no longer deleted on hide(), so it's contents can now be used
120 by the Font button on the toolbar.
121 Lots of new methods so that the GUI can easily get the contents of
122 font_ when it update()s.
124 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
126 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
127 crash when the Font button on the Toolbar is pressed.
129 * GUI.h: change policy of Character button controller to
130 OkApplyCancelReadOnlyPolicy.
132 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
134 * ControlToc.C (getContents): don't add anything to the list if it
135 is supposed to be empty.
137 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
139 * helper_funcs.C (getVectorFromString): bug fix.
141 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
144 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
145 from ButtonControllerBase::readOnly. Updates the state of the widgets
146 in the read-only list only when the read-only status of the document
148 (refresh): moved this stuff into refreshReadOnly.
150 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
152 * ControlPrint.C (c-tor):
153 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
155 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
158 * character.h: small clean-ups.
160 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
162 * ControlToc.C (getType): remove support for old float list.
164 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
166 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
167 * ControlGraphics.h: no longer include insetgraphicsParams.h
168 * ControlInset.h: no longer include LyXView.h
173 * ControlCharacter.C:
176 * ControlConnections.C:
177 * ControlCopyright.C:
189 * ControlTabularCreate.C:
191 * ControlVCLog.C: they're now in here!
193 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
195 * ButtonControllerBase.h: C++ mode, inherit privately from
197 * ButtonPolicies.h: ditto
199 * ButtonController.h: C++ mode, swap init order of restore_ and
202 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
204 * ControlTabularCreate.h:
205 * ControlTabularCreate.C: make dialogs use a pair of uints
209 * ControlVCLog.C: fill a stringstream with the log contents
212 * ControlExternal.C: from Angus, clone the new InsetExternal
215 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
217 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
218 and made more robust.
220 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
229 * ControlCopyright.C: include gettext.h
231 * ControlCharacter.C:
232 * character.C: include gettext.h and language.h
234 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
236 * ButtonController.h:
237 * ButtonControllerBase.h:
238 * ButtonControllerBase.C:
245 * ControlConnections.h:
251 * ViewBase.h: s/ControlButton/ControlButtons/
253 s/UndoAll/Restore/ + associated
255 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
257 * ControlToc.[Ch]: new files; a controller for the TOC popup.
260 * Makefile.am: associated changes with all of the above.
262 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
264 * ControlExternal.C: bug fixes. Can now apply changes to the inset
265 and edit, view, update the External Material correctly. I hope!
267 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
269 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
271 * BCTemplates.h: renamed as ButtonController.h
273 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
276 * ControlConnections.h: associated change in #include and class names.
278 * ControlExternal.[Ch]: new files; a controller for the External
282 * Makefile.am: associated changes with all of the above.
284 * ControlGraphics.[Ch]:
285 * ControlInclude.[Ch]:
288 (Browse): new method. Returns the results of a FileDialog browse.
290 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
291 (getVectorFromString): fixed bug.
293 * biblio.C (simpleSearch): cleaned up.
295 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
297 * A slight reworking of Baruch Even's ButtonController patch.
299 * BCTemplates.h: new file; all the templates for the ButtonController.
300 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
301 to the more generic setButtonLabel().
303 * ButtonController.[Ch]: renamed cancel_label and close_label as
304 cancel_label_ and close_label_.
306 * Makefile.am: added BCTemplates.h
308 2001-03-29 Juergen Vigna <jug@sad.it>
310 * ControlMinipage.C: removed widthp_ and all it's functions and changed
311 to use new %-lengths of LyXLength.
313 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
315 * ControlCitation.C (bibkeysInfo): removed Assert.
317 * ControlCopyright.h: moved GUICopyright into GUI.h
321 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
323 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
324 (setDaughterParams): a (by default empty) new method called in show().
333 * ControlUrl.h (clearDaughterParams): removed
335 * ControlMinipage.C (applyParamsToInset): update the view.
336 Added namespace minipage containing a helper function getUnits.
338 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
340 * ControlCharacter.[Ch]: moved out all the helper functions and the
341 enum into their own file.
342 * character.[Ch]: new files; contain the character helper functions,
343 now inside namespace character.
345 * ControlCitation.[Ch]: moved out all the helper functions and the
346 enums into their own file. Simplified interface.
347 * biblio.[Ch]: new files; contain the citation helper functions,
348 now inside namespace biblio. Will be of use also to an improved
351 * ControlGraphics.[Ch]:
352 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
353 popups, respectively.
356 * Makefile.am: associated changes.
358 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
360 * ControlMinipage.[Ch]:
361 * ControlPreamble.[Ch]:
363 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
364 and Print popups and Splash screen, respectively.
366 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
370 * Makefile.am: associated changes.
372 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
374 * ControlConnections.[Ch]: (docType): new method; returns the type
375 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
378 * ControlSearch.[Ch]:
379 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
380 Search and TabularCreate popups, respectively.
383 * Makefile.am: associated changes.
385 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
387 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
390 * ControlInset.h (apply): fix bug. Can now create new insets again.
392 * README: describe program flow.
394 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
396 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
398 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
400 * ControlDialogs.h: moved class ControlInset into its own file.
402 * ControlInset.h: new file. class ControlInset has been expanded to take
403 two template parameters, Inset and Params. Believe that all inset
404 controllers can be derived from this with the minimum of effort.
406 * ControlBibitem.[Ch]:
407 * ControlBibtex.[Ch]:
408 * ControlCitation.[Ch]:
409 * ControlCommand.[Ch]: moved most code into ControlInset.
411 * lots of files. Moved protected stuff into private where possible.
414 * ControlInclude.[Ch]:
415 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
416 Include and Url popups, respectively.
419 * Makefile.am: associated changes.
421 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
423 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
426 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
428 * ControlCredits.C (getCredits): remove std:: qualifier for
431 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
433 * ControlCredits.C (getCredits): add std:: on vector
435 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
437 * ControlCredits.C: remove using that is only used once, use
438 std::ios instead of std::iosbase, add some annoying comments.
440 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
442 * lots of header files: improved explanatory notes.
444 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
445 ControlBase is now a class that only controls the interaction of the
446 View with the ButtonController.
448 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
449 to ControlConnectBase. The class controls the connection/disconnection
450 of signals from the LyX kernel and makes available the kernel (through
451 lv_) to daughter controller classes.
452 Moved out class ControlConnectInset to a new file ControlDialogs.h.
454 * ControlDialogs.h: new file. Contains the definition of two template
455 controller classes, ControlDialog and ControlInset (was
456 ControlConnectInset). ControlInset is a parent class for controllers
457 of inset-popups. ControlDialogs is the rather uninspired name for
458 the base class of all non-inset popups. (Eg, Document and Paragraph.)
459 ControlDialogs is reaching a state of maturity as several popups now use
460 it and its functionality becomes clear. ControlInset is still in a state
461 of flux. It is likely that functionality will be moved out of
462 ControlCommands and into it.
464 * GUI.h: new file. Moved all the template GUIXXX classes out of the
465 individual Controller header files and into one place. These classes
466 serve only as convenient wrappers to simplify code in the respective
467 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
469 * ControlCharacter.[Ch] (show, update, hide):
470 * ControlLog.[Ch] (show, update, hide):
471 * ControlVCLog.[Ch] (show, update, hide): moved back into
472 the ControlDialogs base class.
473 (setParams, clearParams): new methods containing controller-specific
474 code to set/reset the parameters manipulated by the view.
476 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
478 (hide): calls clearParams.
480 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
481 by ControlCommand::hide().
483 * ControlCopyright.[Ch]:
484 * ControlCredits.[Ch]: new files; controllers for the copyright and
485 credits popups, respectively.
487 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
489 * ControlCharacter.C: fix typo
491 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
493 * ControlCharacter.[Ch]: new files; controller for the character popup.
495 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
496 moved to new files helper_funcs.[Ch].
498 * helper_funcs.[Ch]: new files. Some useful helper functions and
501 * Makefile.am: added new files.
503 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
505 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
507 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
510 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
511 Control log files, respectively.
513 * Makefile.am: added new files.
515 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
517 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
519 * Makefile.am: added ControlBibtex.[Ch].
521 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
524 * ControlCitation.C: added "using SigC::slot" declaration.
526 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
527 to FormCitation.C prior to the merger: "Do not put space between
530 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
532 * several files: remove CXX_WORKING_NAMESPACES
534 * ButtonController.h: noncopyable is in namespace boost
535 * ButtonPolicies.h: ditto
537 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
539 * Merging changes from BRANCH_MVC back into HEAD.
541 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
543 * Makefile.am: add ControlBibitem.[Ch].
545 * ControlBibitem.[Ch]: new files that together define the Controller
548 * ControlCommand.h (c-tor): give kb_action a default value of
551 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
553 * ControlCitation.[Ch]: moved search functions out of class.
554 (bibkeysInfo): new method. Returns const reference to private data.
555 (searchKeys): added case-sensitive switch. Used only by simpleSearch
558 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
560 * ControlCitation.[Ch]: added Search functions to the class,
561 (shamelessly lifted from Marco's gnome code). I think that these would
562 be better as helper functions outside the class, but this is a first
565 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
567 * ControlCitation.[Ch]: (getBibkeyList): removed from class
569 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
570 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
571 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
572 implementation of FormCitation.
574 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
576 * ButtonPolicies.h: add SMI_NOOP to enum.
578 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
580 * ButtonController.C (input): add "optimising" if-statement. Actually,
581 things don't work correctly without it...
583 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
585 * ViewBase.h: remove #pragma directive
587 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
590 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
592 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
594 * Makefile.am: added ButtonPolicies.[Ch]
596 * ButtonController.[Ch]: ButtonController is split into
597 ButtonControllerBase and a template ButtonController class. The base
598 class no longer stores a pointer to a ButtonPolicy, but instead
599 accesses the actual instantiation of the policy through a pure virtual
600 method bp(). This method and the ButtonPolicy itself are instantiated
601 in the templatised ButtonController class. This class is derived from
602 the GUI-specific GUIBC class, meaning that the frontends know
603 nothing about the actual policy decided upon by the controllers.
605 * ControlBase.[Ch]: No longer store the View or the ButtonController.
606 Instead the actual instantiations are accessed through pure virtual
607 methods view() and bc(). The daughter classes are responsible for the
608 actual View and ButtonController.
610 * ControlCitation.h: the templatised class GUICitation instantiates
611 the methods view() and bc(). It also stores the instances of the
612 View and ButtonController.
614 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
616 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
617 also changed to ButtonController.
620 * ControlConnections.[Ch]:
621 * ControlCommand.[Ch]:
622 * ControlCitation.[Ch]:
623 * ViewBase.h: Changes associated with this.
625 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
627 * ButtonControllerBase.[Ch]: new files. Split Allan's original
628 xforms/ButtonController class into a GUI-I class (here) and an
629 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
631 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
632 from which all Dialog Controllers should be derived. the Controllers
633 are GUI-independent, but are designed to control the behaviour of
634 GUI-specific implementaions of each dialog.
636 * ControlConnections.[Ch]: new files. Classes controlling the
637 connections of buffer-independent, buffer-dependent and Inset dialogs
640 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
641 InsetCommand subset of insets.
643 * ControlCitation.[Ch]: new files. The test specialisation! A
644 controller for the Citation dialog.
646 * ViewBase.h: new file. ViewBase is an abstract base class from which
647 GUI-specific dialogs should be derived. The functionality that the GUIs
648 must now implement is much reduced.