1 2001-07-26 Baruch Even <baruch@lyx.org>
3 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
6 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
9 * ControlInclude.C: implement ability to load file
11 2001-07-18 Juergen Vigna <jug@sad.it>
13 * ControlSearch.C (replace): changes to lyxfind.h function calls.
15 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17 * biblio.C (getInfo): add a .c_str() to handle the usual
20 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
22 * ControlCitation.[Ch]: changes associated with adding natbib support.
23 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
24 New static variable citeStyles_.
26 * biblio.[Ch]: large internal rearrangement.
27 New public enum CiteStyle.
28 New public struct CitationStyle.
29 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
30 getNumericalStrings, getAuthorYearStrings
31 (simpleSearch, regexSearch): no longer publicly accessible.
33 * helper_funcs.C (getStringFromVector): bug fix.
35 2001-07-16 Baruch Even <baruch@lyx.org>
37 * ControlVCLog.h: Added Lsstream.h to includes.
39 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
41 * ControlSpellchecker.[Ch]: remove d-tor.
43 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
45 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
47 2001-07-16 Juergen Vigna <jug@sad.it>
49 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
50 compiled with USE_PSPELL) to be able to switch between ISpell and
53 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
55 Consistent use of Lsstream.h:
56 * ControlAboutlyx.[Ch] (getCredits):
57 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
59 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
61 * ControlCredits.[Ch]: removed
62 * ControlCopyright.[Ch]: removed
63 * ControlAboutlyx.[Ch]: added (replaces previous)
64 * GUI.h: removed credits and copyright added about lyx stuff
66 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
68 * ControlSpellchecker.C (getSuggestion):
69 (getWord): add std:: qualifier
71 >001-07-13 Edwin Leuven <leuven@fee.uva.nl>
73 * ControlSpellchecker.[Ch]: added
74 * ViewBase.h: added partialUpdate(int) member
75 * GUI.h: added spell stuff
77 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
79 * ControlExternal.C: (*it). -> it->
81 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
83 * ButtonController.h: move some included header files out of the
84 frontends and into here.
86 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
88 * ControlCharacter.C (c-tor): cosmetic name change of signal.
90 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
92 * *.[h]: added // -*- C++ -*-
93 * *.[C]: removed // -*- C++ -*-
95 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
96 activate Apply button.
97 (clearParams): removed.
98 font_ is now stored as a boost::scoped_ptr.
99 font_ is no longer deleted on hide(), so it's contents can now be used
100 by the Font button on the toolbar.
101 Lots of new methods so that the GUI can easily get the contents of
102 font_ when it update()s.
104 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
106 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
107 crash when the Font button on the Toolbar is pressed.
109 * GUI.h: change policy of Character button controller to
110 OkApplyCancelReadOnlyPolicy.
112 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
114 * ControlToc.C (getContents): don't add anything to the list if it
115 is supposed to be empty.
117 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
119 * helper_funcs.C (getVectorFromString): bug fix.
121 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
124 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
125 from ButtonControllerBase::readOnly. Updates the state of the widgets
126 in the read-only list only when the read-only status of the document
128 (refresh): moved this stuff into refreshReadOnly.
130 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
132 * ControlPrint.C (c-tor):
133 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
135 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
138 * character.h: small clean-ups.
140 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
142 * ControlToc.C (getType): remove support for old float list.
144 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
146 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
147 * ControlGraphics.h: no longer include insetgraphicsParams.h
148 * ControlInset.h: no longer include LyXView.h
153 * ControlCharacter.C:
156 * ControlConnections.C:
157 * ControlCopyright.C:
169 * ControlTabularCreate.C:
171 * ControlVCLog.C: they're now in here!
173 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
175 * ButtonControllerBase.h: C++ mode, inherit privately from
177 * ButtonPolicies.h: ditto
179 * ButtonController.h: C++ mode, swap init order of restore_ and
182 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
184 * ControlTabularCreate.h:
185 * ControlTabularCreate.C: make dialogs use a pair of uints
189 * ControlVCLog.C: fill a stringstream with the log contents
192 * ControlExternal.C: from Angus, clone the new InsetExternal
195 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
197 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
198 and made more robust.
200 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
209 * ControlCopyright.C: include gettext.h
211 * ControlCharacter.C:
212 * character.C: include gettext.h and language.h
214 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
216 * ButtonController.h:
217 * ButtonControllerBase.h:
218 * ButtonControllerBase.C:
225 * ControlConnections.h:
231 * ViewBase.h: s/ControlButton/ControlButtons/
233 s/UndoAll/Restore/ + associated
235 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
237 * ControlToc.[Ch]: new files; a controller for the TOC popup.
240 * Makefile.am: associated changes with all of the above.
242 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
244 * ControlExternal.C: bug fixes. Can now apply changes to the inset
245 and edit, view, update the External Material correctly. I hope!
247 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
249 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
251 * BCTemplates.h: renamed as ButtonController.h
253 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
256 * ControlConnections.h: associated change in #include and class names.
258 * ControlExternal.[Ch]: new files; a controller for the External
262 * Makefile.am: associated changes with all of the above.
264 * ControlGraphics.[Ch]:
265 * ControlInclude.[Ch]:
268 (Browse): new method. Returns the results of a FileDialog browse.
270 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
271 (getVectorFromString): fixed bug.
273 * biblio.C (simpleSearch): cleaned up.
275 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
277 * A slight reworking of Baruch Even's ButtonController patch.
279 * BCTemplates.h: new file; all the templates for the ButtonController.
280 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
281 to the more generic setButtonLabel().
283 * ButtonController.[Ch]: renamed cancel_label and close_label as
284 cancel_label_ and close_label_.
286 * Makefile.am: added BCTemplates.h
288 2001-03-29 Juergen Vigna <jug@sad.it>
290 * ControlMinipage.C: removed widthp_ and all it's functions and changed
291 to use new %-lengths of LyXLength.
293 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
295 * ControlCitation.C (bibkeysInfo): removed Assert.
297 * ControlCopyright.h: moved GUICopyright into GUI.h
301 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
303 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
304 (setDaughterParams): a (by default empty) new method called in show().
313 * ControlUrl.h (clearDaughterParams): removed
315 * ControlMinipage.C (applyParamsToInset): update the view.
316 Added namespace minipage containing a helper function getUnits.
318 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
320 * ControlCharacter.[Ch]: moved out all the helper functions and the
321 enum into their own file.
322 * character.[Ch]: new files; contain the character helper functions,
323 now inside namespace character.
325 * ControlCitation.[Ch]: moved out all the helper functions and the
326 enums into their own file. Simplified interface.
327 * biblio.[Ch]: new files; contain the citation helper functions,
328 now inside namespace biblio. Will be of use also to an improved
331 * ControlGraphics.[Ch]:
332 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
333 popups, respectively.
336 * Makefile.am: associated changes.
338 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
340 * ControlMinipage.[Ch]:
341 * ControlPreamble.[Ch]:
343 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
344 and Print popups and Splash screen, respectively.
346 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
350 * Makefile.am: associated changes.
352 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
354 * ControlConnections.[Ch]: (docType): new method; returns the type
355 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
358 * ControlSearch.[Ch]:
359 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
360 Search and TabularCreate popups, respectively.
363 * Makefile.am: associated changes.
365 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
367 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
370 * ControlInset.h (apply): fix bug. Can now create new insets again.
372 * README: describe program flow.
374 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
376 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
378 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
380 * ControlDialogs.h: moved class ControlInset into its own file.
382 * ControlInset.h: new file. class ControlInset has been expanded to take
383 two template parameters, Inset and Params. Believe that all inset
384 controllers can be derived from this with the minimum of effort.
386 * ControlBibitem.[Ch]:
387 * ControlBibtex.[Ch]:
388 * ControlCitation.[Ch]:
389 * ControlCommand.[Ch]: moved most code into ControlInset.
391 * lots of files. Moved protected stuff into private where possible.
394 * ControlInclude.[Ch]:
395 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
396 Include and Url popups, respectively.
399 * Makefile.am: associated changes.
401 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
403 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
406 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
408 * ControlCredits.C (getCredits): remove std:: qualifier for
411 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
413 * ControlCredits.C (getCredits): add std:: on vector
415 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
417 * ControlCredits.C: remove using that is only used once, use
418 std::ios instead of std::iosbase, add some annoying comments.
420 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
422 * lots of header files: improved explanatory notes.
424 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
425 ControlBase is now a class that only controls the interaction of the
426 View with the ButtonController.
428 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
429 to ControlConnectBase. The class controls the connection/disconnection
430 of signals from the LyX kernel and makes available the kernel (through
431 lv_) to daughter controller classes.
432 Moved out class ControlConnectInset to a new file ControlDialogs.h.
434 * ControlDialogs.h: new file. Contains the definition of two template
435 controller classes, ControlDialog and ControlInset (was
436 ControlConnectInset). ControlInset is a parent class for controllers
437 of inset-popups. ControlDialogs is the rather uninspired name for
438 the base class of all non-inset popups. (Eg, Document and Paragraph.)
439 ControlDialogs is reaching a state of maturity as several popups now use
440 it and its functionality becomes clear. ControlInset is still in a state
441 of flux. It is likely that functionality will be moved out of
442 ControlCommands and into it.
444 * GUI.h: new file. Moved all the template GUIXXX classes out of the
445 individual Controller header files and into one place. These classes
446 serve only as convenient wrappers to simplify code in the respective
447 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
449 * ControlCharacter.[Ch] (show, update, hide):
450 * ControlLog.[Ch] (show, update, hide):
451 * ControlVCLog.[Ch] (show, update, hide): moved back into
452 the ControlDialogs base class.
453 (setParams, clearParams): new methods containing controller-specific
454 code to set/reset the parameters manipulated by the view.
456 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
458 (hide): calls clearParams.
460 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
461 by ControlCommand::hide().
463 * ControlCopyright.[Ch]:
464 * ControlCredits.[Ch]: new files; controllers for the copyright and
465 credits popups, respectively.
467 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
469 * ControlCharacter.C: fix typo
471 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
473 * ControlCharacter.[Ch]: new files; controller for the character popup.
475 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
476 moved to new files helper_funcs.[Ch].
478 * helper_funcs.[Ch]: new files. Some useful helper functions and
481 * Makefile.am: added new files.
483 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
485 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
487 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
490 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
491 Control log files, respectively.
493 * Makefile.am: added new files.
495 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
497 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
499 * Makefile.am: added ControlBibtex.[Ch].
501 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
504 * ControlCitation.C: added "using SigC::slot" declaration.
506 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
507 to FormCitation.C prior to the merger: "Do not put space between
510 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
512 * several files: remove CXX_WORKING_NAMESPACES
514 * ButtonController.h: noncopyable is in namespace boost
515 * ButtonPolicies.h: ditto
517 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
519 * Merging changes from BRANCH_MVC back into HEAD.
521 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
523 * Makefile.am: add ControlBibitem.[Ch].
525 * ControlBibitem.[Ch]: new files that together define the Controller
528 * ControlCommand.h (c-tor): give kb_action a default value of
531 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
533 * ControlCitation.[Ch]: moved search functions out of class.
534 (bibkeysInfo): new method. Returns const reference to private data.
535 (searchKeys): added case-sensitive switch. Used only by simpleSearch
538 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
540 * ControlCitation.[Ch]: added Search functions to the class,
541 (shamelessly lifted from Marco's gnome code). I think that these would
542 be better as helper functions outside the class, but this is a first
545 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
547 * ControlCitation.[Ch]: (getBibkeyList): removed from class
549 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
550 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
551 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
552 implementation of FormCitation.
554 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
556 * ButtonPolicies.h: add SMI_NOOP to enum.
558 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
560 * ButtonController.C (input): add "optimising" if-statement. Actually,
561 things don't work correctly without it...
563 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
565 * ViewBase.h: remove #pragma directive
567 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
570 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
572 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
574 * Makefile.am: added ButtonPolicies.[Ch]
576 * ButtonController.[Ch]: ButtonController is split into
577 ButtonControllerBase and a template ButtonController class. The base
578 class no longer stores a pointer to a ButtonPolicy, but instead
579 accesses the actual instantiation of the policy through a pure virtual
580 method bp(). This method and the ButtonPolicy itself are instantiated
581 in the templatised ButtonController class. This class is derived from
582 the GUI-specific GUIBC class, meaning that the frontends know
583 nothing about the actual policy decided upon by the controllers.
585 * ControlBase.[Ch]: No longer store the View or the ButtonController.
586 Instead the actual instantiations are accessed through pure virtual
587 methods view() and bc(). The daughter classes are responsible for the
588 actual View and ButtonController.
590 * ControlCitation.h: the templatised class GUICitation instantiates
591 the methods view() and bc(). It also stores the instances of the
592 View and ButtonController.
594 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
596 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
597 also changed to ButtonController.
600 * ControlConnections.[Ch]:
601 * ControlCommand.[Ch]:
602 * ControlCitation.[Ch]:
603 * ViewBase.h: Changes associated with this.
605 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
607 * ButtonControllerBase.[Ch]: new files. Split Allan's original
608 xforms/ButtonController class into a GUI-I class (here) and an
609 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
611 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
612 from which all Dialog Controllers should be derived. the Controllers
613 are GUI-independent, but are designed to control the behaviour of
614 GUI-specific implementaions of each dialog.
616 * ControlConnections.[Ch]: new files. Classes controlling the
617 connections of buffer-independent, buffer-dependent and Inset dialogs
620 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
621 InsetCommand subset of insets.
623 * ControlCitation.[Ch]: new files. The test specialisation! A
624 controller for the Citation dialog.
626 * ViewBase.h: new file. ViewBase is an abstract base class from which
627 GUI-specific dialogs should be derived. The functionality that the GUIs
628 must now implement is much reduced.