1 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * ControlPrint.C: #include Lassert.h here.
5 2001-07-26 Baruch Even <baruch@lyx.org>
7 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
10 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15 * Makefile.am: thesaurus support
17 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
20 * ControlInclude.C: implement ability to load file
22 2001-07-18 Juergen Vigna <jug@sad.it>
24 * ControlSearch.C (replace): changes to lyxfind.h function calls.
26 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
28 * biblio.C (getInfo): add a .c_str() to handle the usual
31 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
33 * ControlCitation.[Ch]: changes associated with adding natbib support.
34 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
35 New static variable citeStyles_.
37 * biblio.[Ch]: large internal rearrangement.
38 New public enum CiteStyle.
39 New public struct CitationStyle.
40 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
41 getNumericalStrings, getAuthorYearStrings
42 (simpleSearch, regexSearch): no longer publicly accessible.
44 * helper_funcs.C (getStringFromVector): bug fix.
46 2001-07-16 Baruch Even <baruch@lyx.org>
48 * ControlVCLog.h: Added Lsstream.h to includes.
50 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
52 * ControlSpellchecker.[Ch]: remove d-tor.
54 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
56 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
58 2001-07-16 Juergen Vigna <jug@sad.it>
60 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
61 compiled with USE_PSPELL) to be able to switch between ISpell and
64 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
66 Consistent use of Lsstream.h:
67 * ControlAboutlyx.[Ch] (getCredits):
68 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
70 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
72 * ControlCredits.[Ch]: removed
73 * ControlCopyright.[Ch]: removed
74 * ControlAboutlyx.[Ch]: added (replaces previous)
75 * GUI.h: removed credits and copyright added about lyx stuff
77 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
79 * ControlSpellchecker.C (getSuggestion):
80 (getWord): add std:: qualifier
82 >001-07-13 Edwin Leuven <leuven@fee.uva.nl>
84 * ControlSpellchecker.[Ch]: added
85 * ViewBase.h: added partialUpdate(int) member
86 * GUI.h: added spell stuff
88 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
90 * ControlExternal.C: (*it). -> it->
92 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
94 * ButtonController.h: move some included header files out of the
95 frontends and into here.
97 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
99 * ControlCharacter.C (c-tor): cosmetic name change of signal.
101 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
103 * *.[h]: added // -*- C++ -*-
104 * *.[C]: removed // -*- C++ -*-
106 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
107 activate Apply button.
108 (clearParams): removed.
109 font_ is now stored as a boost::scoped_ptr.
110 font_ is no longer deleted on hide(), so it's contents can now be used
111 by the Font button on the toolbar.
112 Lots of new methods so that the GUI can easily get the contents of
113 font_ when it update()s.
115 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
117 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
118 crash when the Font button on the Toolbar is pressed.
120 * GUI.h: change policy of Character button controller to
121 OkApplyCancelReadOnlyPolicy.
123 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
125 * ControlToc.C (getContents): don't add anything to the list if it
126 is supposed to be empty.
128 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
130 * helper_funcs.C (getVectorFromString): bug fix.
132 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
135 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
136 from ButtonControllerBase::readOnly. Updates the state of the widgets
137 in the read-only list only when the read-only status of the document
139 (refresh): moved this stuff into refreshReadOnly.
141 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
143 * ControlPrint.C (c-tor):
144 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
146 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
149 * character.h: small clean-ups.
151 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
153 * ControlToc.C (getType): remove support for old float list.
155 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
157 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
158 * ControlGraphics.h: no longer include insetgraphicsParams.h
159 * ControlInset.h: no longer include LyXView.h
164 * ControlCharacter.C:
167 * ControlConnections.C:
168 * ControlCopyright.C:
180 * ControlTabularCreate.C:
182 * ControlVCLog.C: they're now in here!
184 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
186 * ButtonControllerBase.h: C++ mode, inherit privately from
188 * ButtonPolicies.h: ditto
190 * ButtonController.h: C++ mode, swap init order of restore_ and
193 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
195 * ControlTabularCreate.h:
196 * ControlTabularCreate.C: make dialogs use a pair of uints
200 * ControlVCLog.C: fill a stringstream with the log contents
203 * ControlExternal.C: from Angus, clone the new InsetExternal
206 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
208 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
209 and made more robust.
211 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
220 * ControlCopyright.C: include gettext.h
222 * ControlCharacter.C:
223 * character.C: include gettext.h and language.h
225 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
227 * ButtonController.h:
228 * ButtonControllerBase.h:
229 * ButtonControllerBase.C:
236 * ControlConnections.h:
242 * ViewBase.h: s/ControlButton/ControlButtons/
244 s/UndoAll/Restore/ + associated
246 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
248 * ControlToc.[Ch]: new files; a controller for the TOC popup.
251 * Makefile.am: associated changes with all of the above.
253 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
255 * ControlExternal.C: bug fixes. Can now apply changes to the inset
256 and edit, view, update the External Material correctly. I hope!
258 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
260 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
262 * BCTemplates.h: renamed as ButtonController.h
264 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
267 * ControlConnections.h: associated change in #include and class names.
269 * ControlExternal.[Ch]: new files; a controller for the External
273 * Makefile.am: associated changes with all of the above.
275 * ControlGraphics.[Ch]:
276 * ControlInclude.[Ch]:
279 (Browse): new method. Returns the results of a FileDialog browse.
281 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
282 (getVectorFromString): fixed bug.
284 * biblio.C (simpleSearch): cleaned up.
286 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
288 * A slight reworking of Baruch Even's ButtonController patch.
290 * BCTemplates.h: new file; all the templates for the ButtonController.
291 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
292 to the more generic setButtonLabel().
294 * ButtonController.[Ch]: renamed cancel_label and close_label as
295 cancel_label_ and close_label_.
297 * Makefile.am: added BCTemplates.h
299 2001-03-29 Juergen Vigna <jug@sad.it>
301 * ControlMinipage.C: removed widthp_ and all it's functions and changed
302 to use new %-lengths of LyXLength.
304 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
306 * ControlCitation.C (bibkeysInfo): removed Assert.
308 * ControlCopyright.h: moved GUICopyright into GUI.h
312 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
314 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
315 (setDaughterParams): a (by default empty) new method called in show().
324 * ControlUrl.h (clearDaughterParams): removed
326 * ControlMinipage.C (applyParamsToInset): update the view.
327 Added namespace minipage containing a helper function getUnits.
329 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
331 * ControlCharacter.[Ch]: moved out all the helper functions and the
332 enum into their own file.
333 * character.[Ch]: new files; contain the character helper functions,
334 now inside namespace character.
336 * ControlCitation.[Ch]: moved out all the helper functions and the
337 enums into their own file. Simplified interface.
338 * biblio.[Ch]: new files; contain the citation helper functions,
339 now inside namespace biblio. Will be of use also to an improved
342 * ControlGraphics.[Ch]:
343 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
344 popups, respectively.
347 * Makefile.am: associated changes.
349 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
351 * ControlMinipage.[Ch]:
352 * ControlPreamble.[Ch]:
354 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
355 and Print popups and Splash screen, respectively.
357 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
361 * Makefile.am: associated changes.
363 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
365 * ControlConnections.[Ch]: (docType): new method; returns the type
366 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
369 * ControlSearch.[Ch]:
370 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
371 Search and TabularCreate popups, respectively.
374 * Makefile.am: associated changes.
376 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
378 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
381 * ControlInset.h (apply): fix bug. Can now create new insets again.
383 * README: describe program flow.
385 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
387 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
389 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
391 * ControlDialogs.h: moved class ControlInset into its own file.
393 * ControlInset.h: new file. class ControlInset has been expanded to take
394 two template parameters, Inset and Params. Believe that all inset
395 controllers can be derived from this with the minimum of effort.
397 * ControlBibitem.[Ch]:
398 * ControlBibtex.[Ch]:
399 * ControlCitation.[Ch]:
400 * ControlCommand.[Ch]: moved most code into ControlInset.
402 * lots of files. Moved protected stuff into private where possible.
405 * ControlInclude.[Ch]:
406 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
407 Include and Url popups, respectively.
410 * Makefile.am: associated changes.
412 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
414 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
417 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
419 * ControlCredits.C (getCredits): remove std:: qualifier for
422 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
424 * ControlCredits.C (getCredits): add std:: on vector
426 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
428 * ControlCredits.C: remove using that is only used once, use
429 std::ios instead of std::iosbase, add some annoying comments.
431 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
433 * lots of header files: improved explanatory notes.
435 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
436 ControlBase is now a class that only controls the interaction of the
437 View with the ButtonController.
439 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
440 to ControlConnectBase. The class controls the connection/disconnection
441 of signals from the LyX kernel and makes available the kernel (through
442 lv_) to daughter controller classes.
443 Moved out class ControlConnectInset to a new file ControlDialogs.h.
445 * ControlDialogs.h: new file. Contains the definition of two template
446 controller classes, ControlDialog and ControlInset (was
447 ControlConnectInset). ControlInset is a parent class for controllers
448 of inset-popups. ControlDialogs is the rather uninspired name for
449 the base class of all non-inset popups. (Eg, Document and Paragraph.)
450 ControlDialogs is reaching a state of maturity as several popups now use
451 it and its functionality becomes clear. ControlInset is still in a state
452 of flux. It is likely that functionality will be moved out of
453 ControlCommands and into it.
455 * GUI.h: new file. Moved all the template GUIXXX classes out of the
456 individual Controller header files and into one place. These classes
457 serve only as convenient wrappers to simplify code in the respective
458 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
460 * ControlCharacter.[Ch] (show, update, hide):
461 * ControlLog.[Ch] (show, update, hide):
462 * ControlVCLog.[Ch] (show, update, hide): moved back into
463 the ControlDialogs base class.
464 (setParams, clearParams): new methods containing controller-specific
465 code to set/reset the parameters manipulated by the view.
467 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
469 (hide): calls clearParams.
471 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
472 by ControlCommand::hide().
474 * ControlCopyright.[Ch]:
475 * ControlCredits.[Ch]: new files; controllers for the copyright and
476 credits popups, respectively.
478 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
480 * ControlCharacter.C: fix typo
482 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
484 * ControlCharacter.[Ch]: new files; controller for the character popup.
486 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
487 moved to new files helper_funcs.[Ch].
489 * helper_funcs.[Ch]: new files. Some useful helper functions and
492 * Makefile.am: added new files.
494 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
496 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
498 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
501 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
502 Control log files, respectively.
504 * Makefile.am: added new files.
506 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
508 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
510 * Makefile.am: added ControlBibtex.[Ch].
512 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
515 * ControlCitation.C: added "using SigC::slot" declaration.
517 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
518 to FormCitation.C prior to the merger: "Do not put space between
521 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
523 * several files: remove CXX_WORKING_NAMESPACES
525 * ButtonController.h: noncopyable is in namespace boost
526 * ButtonPolicies.h: ditto
528 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
530 * Merging changes from BRANCH_MVC back into HEAD.
532 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
534 * Makefile.am: add ControlBibitem.[Ch].
536 * ControlBibitem.[Ch]: new files that together define the Controller
539 * ControlCommand.h (c-tor): give kb_action a default value of
542 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
544 * ControlCitation.[Ch]: moved search functions out of class.
545 (bibkeysInfo): new method. Returns const reference to private data.
546 (searchKeys): added case-sensitive switch. Used only by simpleSearch
549 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
551 * ControlCitation.[Ch]: added Search functions to the class,
552 (shamelessly lifted from Marco's gnome code). I think that these would
553 be better as helper functions outside the class, but this is a first
556 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
558 * ControlCitation.[Ch]: (getBibkeyList): removed from class
560 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
561 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
562 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
563 implementation of FormCitation.
565 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
567 * ButtonPolicies.h: add SMI_NOOP to enum.
569 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
571 * ButtonController.C (input): add "optimising" if-statement. Actually,
572 things don't work correctly without it...
574 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
576 * ViewBase.h: remove #pragma directive
578 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
581 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
583 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
585 * Makefile.am: added ButtonPolicies.[Ch]
587 * ButtonController.[Ch]: ButtonController is split into
588 ButtonControllerBase and a template ButtonController class. The base
589 class no longer stores a pointer to a ButtonPolicy, but instead
590 accesses the actual instantiation of the policy through a pure virtual
591 method bp(). This method and the ButtonPolicy itself are instantiated
592 in the templatised ButtonController class. This class is derived from
593 the GUI-specific GUIBC class, meaning that the frontends know
594 nothing about the actual policy decided upon by the controllers.
596 * ControlBase.[Ch]: No longer store the View or the ButtonController.
597 Instead the actual instantiations are accessed through pure virtual
598 methods view() and bc(). The daughter classes are responsible for the
599 actual View and ButtonController.
601 * ControlCitation.h: the templatised class GUICitation instantiates
602 the methods view() and bc(). It also stores the instances of the
603 View and ButtonController.
605 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
607 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
608 also changed to ButtonController.
611 * ControlConnections.[Ch]:
612 * ControlCommand.[Ch]:
613 * ControlCitation.[Ch]:
614 * ViewBase.h: Changes associated with this.
616 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
618 * ButtonControllerBase.[Ch]: new files. Split Allan's original
619 xforms/ButtonController class into a GUI-I class (here) and an
620 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
622 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
623 from which all Dialog Controllers should be derived. the Controllers
624 are GUI-independent, but are designed to control the behaviour of
625 GUI-specific implementaions of each dialog.
627 * ControlConnections.[Ch]: new files. Classes controlling the
628 connections of buffer-independent, buffer-dependent and Inset dialogs
631 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
632 InsetCommand subset of insets.
634 * ControlCitation.[Ch]: new files. The test specialisation! A
635 controller for the Citation dialog.
637 * ViewBase.h: new file. ViewBase is an abstract base class from which
638 GUI-specific dialogs should be derived. The functionality that the GUIs
639 must now implement is much reduced.