1 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlFloat.h: add a != operator for FloatParams.
4 Lars, how did you get this to compile!!!
6 * ControlMinipage.[Ch]: uncommented someone's commenting out of
7 operator != for MinipageParams. Who's changing stuff and not compiling?
9 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
14 * GUI.h: add class GUIFloat
16 * ControlFloat.[Ch]: new files
18 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
20 * ControlPrint.C: #include Lassert.h here.
22 2001-07-26 Baruch Even <baruch@lyx.org>
24 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
27 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
32 * Makefile.am: thesaurus support
34 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
37 * ControlInclude.C: implement ability to load file
39 2001-07-18 Juergen Vigna <jug@sad.it>
41 * ControlSearch.C (replace): changes to lyxfind.h function calls.
43 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
45 * biblio.C (getInfo): add a .c_str() to handle the usual
48 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
50 * ControlCitation.[Ch]: changes associated with adding natbib support.
51 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
52 New static variable citeStyles_.
54 * biblio.[Ch]: large internal rearrangement.
55 New public enum CiteStyle.
56 New public struct CitationStyle.
57 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
58 getNumericalStrings, getAuthorYearStrings
59 (simpleSearch, regexSearch): no longer publicly accessible.
61 * helper_funcs.C (getStringFromVector): bug fix.
63 2001-07-16 Baruch Even <baruch@lyx.org>
65 * ControlVCLog.h: Added Lsstream.h to includes.
67 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
69 * ControlSpellchecker.[Ch]: remove d-tor.
71 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
73 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
75 2001-07-16 Juergen Vigna <jug@sad.it>
77 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
78 compiled with USE_PSPELL) to be able to switch between ISpell and
81 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
83 Consistent use of Lsstream.h:
84 * ControlAboutlyx.[Ch] (getCredits):
85 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
87 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
89 * ControlCredits.[Ch]: removed
90 * ControlCopyright.[Ch]: removed
91 * ControlAboutlyx.[Ch]: added (replaces previous)
92 * GUI.h: removed credits and copyright added about lyx stuff
94 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
96 * ControlSpellchecker.C (getSuggestion):
97 (getWord): add std:: qualifier
99 >001-07-13 Edwin Leuven <leuven@fee.uva.nl>
101 * ControlSpellchecker.[Ch]: added
102 * ViewBase.h: added partialUpdate(int) member
103 * GUI.h: added spell stuff
105 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
107 * ControlExternal.C: (*it). -> it->
109 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
111 * ButtonController.h: move some included header files out of the
112 frontends and into here.
114 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
116 * ControlCharacter.C (c-tor): cosmetic name change of signal.
118 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
120 * *.[h]: added // -*- C++ -*-
121 * *.[C]: removed // -*- C++ -*-
123 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
124 activate Apply button.
125 (clearParams): removed.
126 font_ is now stored as a boost::scoped_ptr.
127 font_ is no longer deleted on hide(), so it's contents can now be used
128 by the Font button on the toolbar.
129 Lots of new methods so that the GUI can easily get the contents of
130 font_ when it update()s.
132 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
134 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
135 crash when the Font button on the Toolbar is pressed.
137 * GUI.h: change policy of Character button controller to
138 OkApplyCancelReadOnlyPolicy.
140 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
142 * ControlToc.C (getContents): don't add anything to the list if it
143 is supposed to be empty.
145 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
147 * helper_funcs.C (getVectorFromString): bug fix.
149 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
152 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
153 from ButtonControllerBase::readOnly. Updates the state of the widgets
154 in the read-only list only when the read-only status of the document
156 (refresh): moved this stuff into refreshReadOnly.
158 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
160 * ControlPrint.C (c-tor):
161 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
163 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
166 * character.h: small clean-ups.
168 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
170 * ControlToc.C (getType): remove support for old float list.
172 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
174 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
175 * ControlGraphics.h: no longer include insetgraphicsParams.h
176 * ControlInset.h: no longer include LyXView.h
181 * ControlCharacter.C:
184 * ControlConnections.C:
185 * ControlCopyright.C:
197 * ControlTabularCreate.C:
199 * ControlVCLog.C: they're now in here!
201 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
203 * ButtonControllerBase.h: C++ mode, inherit privately from
205 * ButtonPolicies.h: ditto
207 * ButtonController.h: C++ mode, swap init order of restore_ and
210 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
212 * ControlTabularCreate.h:
213 * ControlTabularCreate.C: make dialogs use a pair of uints
217 * ControlVCLog.C: fill a stringstream with the log contents
220 * ControlExternal.C: from Angus, clone the new InsetExternal
223 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
225 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
226 and made more robust.
228 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
237 * ControlCopyright.C: include gettext.h
239 * ControlCharacter.C:
240 * character.C: include gettext.h and language.h
242 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
244 * ButtonController.h:
245 * ButtonControllerBase.h:
246 * ButtonControllerBase.C:
253 * ControlConnections.h:
259 * ViewBase.h: s/ControlButton/ControlButtons/
261 s/UndoAll/Restore/ + associated
263 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
265 * ControlToc.[Ch]: new files; a controller for the TOC popup.
268 * Makefile.am: associated changes with all of the above.
270 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
272 * ControlExternal.C: bug fixes. Can now apply changes to the inset
273 and edit, view, update the External Material correctly. I hope!
275 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
277 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
279 * BCTemplates.h: renamed as ButtonController.h
281 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
284 * ControlConnections.h: associated change in #include and class names.
286 * ControlExternal.[Ch]: new files; a controller for the External
290 * Makefile.am: associated changes with all of the above.
292 * ControlGraphics.[Ch]:
293 * ControlInclude.[Ch]:
296 (Browse): new method. Returns the results of a FileDialog browse.
298 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
299 (getVectorFromString): fixed bug.
301 * biblio.C (simpleSearch): cleaned up.
303 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
305 * A slight reworking of Baruch Even's ButtonController patch.
307 * BCTemplates.h: new file; all the templates for the ButtonController.
308 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
309 to the more generic setButtonLabel().
311 * ButtonController.[Ch]: renamed cancel_label and close_label as
312 cancel_label_ and close_label_.
314 * Makefile.am: added BCTemplates.h
316 2001-03-29 Juergen Vigna <jug@sad.it>
318 * ControlMinipage.C: removed widthp_ and all it's functions and changed
319 to use new %-lengths of LyXLength.
321 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
323 * ControlCitation.C (bibkeysInfo): removed Assert.
325 * ControlCopyright.h: moved GUICopyright into GUI.h
329 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
331 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
332 (setDaughterParams): a (by default empty) new method called in show().
341 * ControlUrl.h (clearDaughterParams): removed
343 * ControlMinipage.C (applyParamsToInset): update the view.
344 Added namespace minipage containing a helper function getUnits.
346 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
348 * ControlCharacter.[Ch]: moved out all the helper functions and the
349 enum into their own file.
350 * character.[Ch]: new files; contain the character helper functions,
351 now inside namespace character.
353 * ControlCitation.[Ch]: moved out all the helper functions and the
354 enums into their own file. Simplified interface.
355 * biblio.[Ch]: new files; contain the citation helper functions,
356 now inside namespace biblio. Will be of use also to an improved
359 * ControlGraphics.[Ch]:
360 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
361 popups, respectively.
364 * Makefile.am: associated changes.
366 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
368 * ControlMinipage.[Ch]:
369 * ControlPreamble.[Ch]:
371 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
372 and Print popups and Splash screen, respectively.
374 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
378 * Makefile.am: associated changes.
380 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
382 * ControlConnections.[Ch]: (docType): new method; returns the type
383 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
386 * ControlSearch.[Ch]:
387 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
388 Search and TabularCreate popups, respectively.
391 * Makefile.am: associated changes.
393 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
395 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
398 * ControlInset.h (apply): fix bug. Can now create new insets again.
400 * README: describe program flow.
402 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
404 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
406 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
408 * ControlDialogs.h: moved class ControlInset into its own file.
410 * ControlInset.h: new file. class ControlInset has been expanded to take
411 two template parameters, Inset and Params. Believe that all inset
412 controllers can be derived from this with the minimum of effort.
414 * ControlBibitem.[Ch]:
415 * ControlBibtex.[Ch]:
416 * ControlCitation.[Ch]:
417 * ControlCommand.[Ch]: moved most code into ControlInset.
419 * lots of files. Moved protected stuff into private where possible.
422 * ControlInclude.[Ch]:
423 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
424 Include and Url popups, respectively.
427 * Makefile.am: associated changes.
429 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
431 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
434 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
436 * ControlCredits.C (getCredits): remove std:: qualifier for
439 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
441 * ControlCredits.C (getCredits): add std:: on vector
443 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
445 * ControlCredits.C: remove using that is only used once, use
446 std::ios instead of std::iosbase, add some annoying comments.
448 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
450 * lots of header files: improved explanatory notes.
452 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
453 ControlBase is now a class that only controls the interaction of the
454 View with the ButtonController.
456 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
457 to ControlConnectBase. The class controls the connection/disconnection
458 of signals from the LyX kernel and makes available the kernel (through
459 lv_) to daughter controller classes.
460 Moved out class ControlConnectInset to a new file ControlDialogs.h.
462 * ControlDialogs.h: new file. Contains the definition of two template
463 controller classes, ControlDialog and ControlInset (was
464 ControlConnectInset). ControlInset is a parent class for controllers
465 of inset-popups. ControlDialogs is the rather uninspired name for
466 the base class of all non-inset popups. (Eg, Document and Paragraph.)
467 ControlDialogs is reaching a state of maturity as several popups now use
468 it and its functionality becomes clear. ControlInset is still in a state
469 of flux. It is likely that functionality will be moved out of
470 ControlCommands and into it.
472 * GUI.h: new file. Moved all the template GUIXXX classes out of the
473 individual Controller header files and into one place. These classes
474 serve only as convenient wrappers to simplify code in the respective
475 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
477 * ControlCharacter.[Ch] (show, update, hide):
478 * ControlLog.[Ch] (show, update, hide):
479 * ControlVCLog.[Ch] (show, update, hide): moved back into
480 the ControlDialogs base class.
481 (setParams, clearParams): new methods containing controller-specific
482 code to set/reset the parameters manipulated by the view.
484 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
486 (hide): calls clearParams.
488 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
489 by ControlCommand::hide().
491 * ControlCopyright.[Ch]:
492 * ControlCredits.[Ch]: new files; controllers for the copyright and
493 credits popups, respectively.
495 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
497 * ControlCharacter.C: fix typo
499 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
501 * ControlCharacter.[Ch]: new files; controller for the character popup.
503 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
504 moved to new files helper_funcs.[Ch].
506 * helper_funcs.[Ch]: new files. Some useful helper functions and
509 * Makefile.am: added new files.
511 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
513 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
515 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
518 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
519 Control log files, respectively.
521 * Makefile.am: added new files.
523 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
525 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
527 * Makefile.am: added ControlBibtex.[Ch].
529 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
532 * ControlCitation.C: added "using SigC::slot" declaration.
534 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
535 to FormCitation.C prior to the merger: "Do not put space between
538 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
540 * several files: remove CXX_WORKING_NAMESPACES
542 * ButtonController.h: noncopyable is in namespace boost
543 * ButtonPolicies.h: ditto
545 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
547 * Merging changes from BRANCH_MVC back into HEAD.
549 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
551 * Makefile.am: add ControlBibitem.[Ch].
553 * ControlBibitem.[Ch]: new files that together define the Controller
556 * ControlCommand.h (c-tor): give kb_action a default value of
559 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
561 * ControlCitation.[Ch]: moved search functions out of class.
562 (bibkeysInfo): new method. Returns const reference to private data.
563 (searchKeys): added case-sensitive switch. Used only by simpleSearch
566 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
568 * ControlCitation.[Ch]: added Search functions to the class,
569 (shamelessly lifted from Marco's gnome code). I think that these would
570 be better as helper functions outside the class, but this is a first
573 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
575 * ControlCitation.[Ch]: (getBibkeyList): removed from class
577 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
578 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
579 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
580 implementation of FormCitation.
582 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
584 * ButtonPolicies.h: add SMI_NOOP to enum.
586 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
588 * ButtonController.C (input): add "optimising" if-statement. Actually,
589 things don't work correctly without it...
591 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
593 * ViewBase.h: remove #pragma directive
595 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
598 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
600 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
602 * Makefile.am: added ButtonPolicies.[Ch]
604 * ButtonController.[Ch]: ButtonController is split into
605 ButtonControllerBase and a template ButtonController class. The base
606 class no longer stores a pointer to a ButtonPolicy, but instead
607 accesses the actual instantiation of the policy through a pure virtual
608 method bp(). This method and the ButtonPolicy itself are instantiated
609 in the templatised ButtonController class. This class is derived from
610 the GUI-specific GUIBC class, meaning that the frontends know
611 nothing about the actual policy decided upon by the controllers.
613 * ControlBase.[Ch]: No longer store the View or the ButtonController.
614 Instead the actual instantiations are accessed through pure virtual
615 methods view() and bc(). The daughter classes are responsible for the
616 actual View and ButtonController.
618 * ControlCitation.h: the templatised class GUICitation instantiates
619 the methods view() and bc(). It also stores the instances of the
620 View and ButtonController.
622 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
624 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
625 also changed to ButtonController.
628 * ControlConnections.[Ch]:
629 * ControlCommand.[Ch]:
630 * ControlCitation.[Ch]:
631 * ViewBase.h: Changes associated with this.
633 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
635 * ButtonControllerBase.[Ch]: new files. Split Allan's original
636 xforms/ButtonController class into a GUI-I class (here) and an
637 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
639 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
640 from which all Dialog Controllers should be derived. the Controllers
641 are GUI-independent, but are designed to control the behaviour of
642 GUI-specific implementaions of each dialog.
644 * ControlConnections.[Ch]: new files. Classes controlling the
645 connections of buffer-independent, buffer-dependent and Inset dialogs
648 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
649 InsetCommand subset of insets.
651 * ControlCitation.[Ch]: new files. The test specialisation! A
652 controller for the Citation dialog.
654 * ViewBase.h: new file. ViewBase is an abstract base class from which
655 GUI-specific dialogs should be derived. The functionality that the GUIs
656 must now implement is much reduced.