1 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * biblio.C (getInfo): add a .c_str() to handle the usual
6 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8 * ControlCitation.[Ch]: changes associated with adding natbib support.
9 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
10 New static variable citeStyles_.
12 * biblio.[Ch]: large internal rearrangement.
13 New public enum CiteStyle.
14 New public struct CitationStyle.
15 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
16 getNumericalStrings, getAuthorYearStrings
17 (simpleSearch, regexSearch): no longer publicly accessible.
19 * helper_funcs.C (getStringFromVector): bug fix.
21 2001-07-16 Baruch Even <baruch@lyx.org>
23 * ControlVCLog.h: Added Lsstream.h to includes.
25 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
27 * ControlSpellchecker.[Ch]: remove d-tor.
29 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
31 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
33 2001-07-16 Juergen Vigna <jug@sad.it>
35 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
36 compiled with USE_PSPELL) to be able to switch between ISpell and
39 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
41 Consistent use of Lsstream.h:
42 * ControlAboutlyx.[Ch] (getCredits):
43 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
45 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
47 * ControlCredits.[Ch]: removed
48 * ControlCopyright.[Ch]: removed
49 * ControlAboutlyx.[Ch]: added (replaces previous)
50 * GUI.h: removed credits and copyright added about lyx stuff
52 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
54 * ControlSpellchecker.C (getSuggestion):
55 (getWord): add std:: qualifier
57 >001-07-13 Edwin Leuven <leuven@fee.uva.nl>
59 * ControlSpellchecker.[Ch]: added
60 * ViewBase.h: added partialUpdate(int) member
61 * GUI.h: added spell stuff
63 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
65 * ControlExternal.C: (*it). -> it->
67 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
69 * ButtonController.h: move some included header files out of the
70 frontends and into here.
72 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
74 * ControlCharacter.C (c-tor): cosmetic name change of signal.
76 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
78 * *.[h]: added // -*- C++ -*-
79 * *.[C]: removed // -*- C++ -*-
81 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
82 activate Apply button.
83 (clearParams): removed.
84 font_ is now stored as a boost::scoped_ptr.
85 font_ is no longer deleted on hide(), so it's contents can now be used
86 by the Font button on the toolbar.
87 Lots of new methods so that the GUI can easily get the contents of
88 font_ when it update()s.
90 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
92 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
93 crash when the Font button on the Toolbar is pressed.
95 * GUI.h: change policy of Character button controller to
96 OkApplyCancelReadOnlyPolicy.
98 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
100 * ControlToc.C (getContents): don't add anything to the list if it
101 is supposed to be empty.
103 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
105 * helper_funcs.C (getVectorFromString): bug fix.
107 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
110 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
111 from ButtonControllerBase::readOnly. Updates the state of the widgets
112 in the read-only list only when the read-only status of the document
114 (refresh): moved this stuff into refreshReadOnly.
116 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
118 * ControlPrint.C (c-tor):
119 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
121 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
124 * character.h: small clean-ups.
126 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
128 * ControlToc.C (getType): remove support for old float list.
130 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
132 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
133 * ControlGraphics.h: no longer include insetgraphicsParams.h
134 * ControlInset.h: no longer include LyXView.h
139 * ControlCharacter.C:
142 * ControlConnections.C:
143 * ControlCopyright.C:
155 * ControlTabularCreate.C:
157 * ControlVCLog.C: they're now in here!
159 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
161 * ButtonControllerBase.h: C++ mode, inherit privately from
163 * ButtonPolicies.h: ditto
165 * ButtonController.h: C++ mode, swap init order of restore_ and
168 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
170 * ControlTabularCreate.h:
171 * ControlTabularCreate.C: make dialogs use a pair of uints
175 * ControlVCLog.C: fill a stringstream with the log contents
178 * ControlExternal.C: from Angus, clone the new InsetExternal
181 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
183 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
184 and made more robust.
186 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
195 * ControlCopyright.C: include gettext.h
197 * ControlCharacter.C:
198 * character.C: include gettext.h and language.h
200 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
202 * ButtonController.h:
203 * ButtonControllerBase.h:
204 * ButtonControllerBase.C:
211 * ControlConnections.h:
217 * ViewBase.h: s/ControlButton/ControlButtons/
219 s/UndoAll/Restore/ + associated
221 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
223 * ControlToc.[Ch]: new files; a controller for the TOC popup.
226 * Makefile.am: associated changes with all of the above.
228 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
230 * ControlExternal.C: bug fixes. Can now apply changes to the inset
231 and edit, view, update the External Material correctly. I hope!
233 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
235 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
237 * BCTemplates.h: renamed as ButtonController.h
239 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
242 * ControlConnections.h: associated change in #include and class names.
244 * ControlExternal.[Ch]: new files; a controller for the External
248 * Makefile.am: associated changes with all of the above.
250 * ControlGraphics.[Ch]:
251 * ControlInclude.[Ch]:
254 (Browse): new method. Returns the results of a FileDialog browse.
256 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
257 (getVectorFromString): fixed bug.
259 * biblio.C (simpleSearch): cleaned up.
261 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
263 * A slight reworking of Baruch Even's ButtonController patch.
265 * BCTemplates.h: new file; all the templates for the ButtonController.
266 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
267 to the more generic setButtonLabel().
269 * ButtonController.[Ch]: renamed cancel_label and close_label as
270 cancel_label_ and close_label_.
272 * Makefile.am: added BCTemplates.h
274 2001-03-29 Juergen Vigna <jug@sad.it>
276 * ControlMinipage.C: removed widthp_ and all it's functions and changed
277 to use new %-lengths of LyXLength.
279 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
281 * ControlCitation.C (bibkeysInfo): removed Assert.
283 * ControlCopyright.h: moved GUICopyright into GUI.h
287 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
289 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
290 (setDaughterParams): a (by default empty) new method called in show().
299 * ControlUrl.h (clearDaughterParams): removed
301 * ControlMinipage.C (applyParamsToInset): update the view.
302 Added namespace minipage containing a helper function getUnits.
304 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
306 * ControlCharacter.[Ch]: moved out all the helper functions and the
307 enum into their own file.
308 * character.[Ch]: new files; contain the character helper functions,
309 now inside namespace character.
311 * ControlCitation.[Ch]: moved out all the helper functions and the
312 enums into their own file. Simplified interface.
313 * biblio.[Ch]: new files; contain the citation helper functions,
314 now inside namespace biblio. Will be of use also to an improved
317 * ControlGraphics.[Ch]:
318 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
319 popups, respectively.
322 * Makefile.am: associated changes.
324 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
326 * ControlMinipage.[Ch]:
327 * ControlPreamble.[Ch]:
329 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
330 and Print popups and Splash screen, respectively.
332 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
336 * Makefile.am: associated changes.
338 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
340 * ControlConnections.[Ch]: (docType): new method; returns the type
341 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
344 * ControlSearch.[Ch]:
345 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
346 Search and TabularCreate popups, respectively.
349 * Makefile.am: associated changes.
351 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
353 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
356 * ControlInset.h (apply): fix bug. Can now create new insets again.
358 * README: describe program flow.
360 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
362 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
364 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
366 * ControlDialogs.h: moved class ControlInset into its own file.
368 * ControlInset.h: new file. class ControlInset has been expanded to take
369 two template parameters, Inset and Params. Believe that all inset
370 controllers can be derived from this with the minimum of effort.
372 * ControlBibitem.[Ch]:
373 * ControlBibtex.[Ch]:
374 * ControlCitation.[Ch]:
375 * ControlCommand.[Ch]: moved most code into ControlInset.
377 * lots of files. Moved protected stuff into private where possible.
380 * ControlInclude.[Ch]:
381 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
382 Include and Url popups, respectively.
385 * Makefile.am: associated changes.
387 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
389 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
392 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
394 * ControlCredits.C (getCredits): remove std:: qualifier for
397 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
399 * ControlCredits.C (getCredits): add std:: on vector
401 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
403 * ControlCredits.C: remove using that is only used once, use
404 std::ios instead of std::iosbase, add some annoying comments.
406 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
408 * lots of header files: improved explanatory notes.
410 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
411 ControlBase is now a class that only controls the interaction of the
412 View with the ButtonController.
414 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
415 to ControlConnectBase. The class controls the connection/disconnection
416 of signals from the LyX kernel and makes available the kernel (through
417 lv_) to daughter controller classes.
418 Moved out class ControlConnectInset to a new file ControlDialogs.h.
420 * ControlDialogs.h: new file. Contains the definition of two template
421 controller classes, ControlDialog and ControlInset (was
422 ControlConnectInset). ControlInset is a parent class for controllers
423 of inset-popups. ControlDialogs is the rather uninspired name for
424 the base class of all non-inset popups. (Eg, Document and Paragraph.)
425 ControlDialogs is reaching a state of maturity as several popups now use
426 it and its functionality becomes clear. ControlInset is still in a state
427 of flux. It is likely that functionality will be moved out of
428 ControlCommands and into it.
430 * GUI.h: new file. Moved all the template GUIXXX classes out of the
431 individual Controller header files and into one place. These classes
432 serve only as convenient wrappers to simplify code in the respective
433 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
435 * ControlCharacter.[Ch] (show, update, hide):
436 * ControlLog.[Ch] (show, update, hide):
437 * ControlVCLog.[Ch] (show, update, hide): moved back into
438 the ControlDialogs base class.
439 (setParams, clearParams): new methods containing controller-specific
440 code to set/reset the parameters manipulated by the view.
442 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
444 (hide): calls clearParams.
446 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
447 by ControlCommand::hide().
449 * ControlCopyright.[Ch]:
450 * ControlCredits.[Ch]: new files; controllers for the copyright and
451 credits popups, respectively.
453 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
455 * ControlCharacter.C: fix typo
457 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
459 * ControlCharacter.[Ch]: new files; controller for the character popup.
461 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
462 moved to new files helper_funcs.[Ch].
464 * helper_funcs.[Ch]: new files. Some useful helper functions and
467 * Makefile.am: added new files.
469 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
471 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
473 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
476 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
477 Control log files, respectively.
479 * Makefile.am: added new files.
481 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
483 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
485 * Makefile.am: added ControlBibtex.[Ch].
487 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
490 * ControlCitation.C: added "using SigC::slot" declaration.
492 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
493 to FormCitation.C prior to the merger: "Do not put space between
496 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
498 * several files: remove CXX_WORKING_NAMESPACES
500 * ButtonController.h: noncopyable is in namespace boost
501 * ButtonPolicies.h: ditto
503 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
505 * Merging changes from BRANCH_MVC back into HEAD.
507 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
509 * Makefile.am: add ControlBibitem.[Ch].
511 * ControlBibitem.[Ch]: new files that together define the Controller
514 * ControlCommand.h (c-tor): give kb_action a default value of
517 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
519 * ControlCitation.[Ch]: moved search functions out of class.
520 (bibkeysInfo): new method. Returns const reference to private data.
521 (searchKeys): added case-sensitive switch. Used only by simpleSearch
524 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
526 * ControlCitation.[Ch]: added Search functions to the class,
527 (shamelessly lifted from Marco's gnome code). I think that these would
528 be better as helper functions outside the class, but this is a first
531 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
533 * ControlCitation.[Ch]: (getBibkeyList): removed from class
535 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
536 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
537 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
538 implementation of FormCitation.
540 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
542 * ButtonPolicies.h: add SMI_NOOP to enum.
544 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
546 * ButtonController.C (input): add "optimising" if-statement. Actually,
547 things don't work correctly without it...
549 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
551 * ViewBase.h: remove #pragma directive
553 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
556 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
558 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
560 * Makefile.am: added ButtonPolicies.[Ch]
562 * ButtonController.[Ch]: ButtonController is split into
563 ButtonControllerBase and a template ButtonController class. The base
564 class no longer stores a pointer to a ButtonPolicy, but instead
565 accesses the actual instantiation of the policy through a pure virtual
566 method bp(). This method and the ButtonPolicy itself are instantiated
567 in the templatised ButtonController class. This class is derived from
568 the GUI-specific GUIBC class, meaning that the frontends know
569 nothing about the actual policy decided upon by the controllers.
571 * ControlBase.[Ch]: No longer store the View or the ButtonController.
572 Instead the actual instantiations are accessed through pure virtual
573 methods view() and bc(). The daughter classes are responsible for the
574 actual View and ButtonController.
576 * ControlCitation.h: the templatised class GUICitation instantiates
577 the methods view() and bc(). It also stores the instances of the
578 View and ButtonController.
580 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
582 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
583 also changed to ButtonController.
586 * ControlConnections.[Ch]:
587 * ControlCommand.[Ch]:
588 * ControlCitation.[Ch]:
589 * ViewBase.h: Changes associated with this.
591 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
593 * ButtonControllerBase.[Ch]: new files. Split Allan's original
594 xforms/ButtonController class into a GUI-I class (here) and an
595 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
597 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
598 from which all Dialog Controllers should be derived. the Controllers
599 are GUI-independent, but are designed to control the behaviour of
600 GUI-specific implementaions of each dialog.
602 * ControlConnections.[Ch]: new files. Classes controlling the
603 connections of buffer-independent, buffer-dependent and Inset dialogs
606 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
607 InsetCommand subset of insets.
609 * ControlCitation.[Ch]: new files. The test specialisation! A
610 controller for the Citation dialog.
612 * ViewBase.h: new file. ViewBase is an abstract base class from which
613 GUI-specific dialogs should be derived. The functionality that the GUIs
614 must now implement is much reduced.