1 2001-07-26 Baruch Even <baruch@lyx.org>
3 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
6 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11 * Makefile.am: thesaurus support
13 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
16 * ControlInclude.C: implement ability to load file
18 2001-07-18 Juergen Vigna <jug@sad.it>
20 * ControlSearch.C (replace): changes to lyxfind.h function calls.
22 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
24 * biblio.C (getInfo): add a .c_str() to handle the usual
27 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
29 * ControlCitation.[Ch]: changes associated with adding natbib support.
30 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
31 New static variable citeStyles_.
33 * biblio.[Ch]: large internal rearrangement.
34 New public enum CiteStyle.
35 New public struct CitationStyle.
36 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
37 getNumericalStrings, getAuthorYearStrings
38 (simpleSearch, regexSearch): no longer publicly accessible.
40 * helper_funcs.C (getStringFromVector): bug fix.
42 2001-07-16 Baruch Even <baruch@lyx.org>
44 * ControlVCLog.h: Added Lsstream.h to includes.
46 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
48 * ControlSpellchecker.[Ch]: remove d-tor.
50 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
52 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
54 2001-07-16 Juergen Vigna <jug@sad.it>
56 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
57 compiled with USE_PSPELL) to be able to switch between ISpell and
60 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
62 Consistent use of Lsstream.h:
63 * ControlAboutlyx.[Ch] (getCredits):
64 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
66 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
68 * ControlCredits.[Ch]: removed
69 * ControlCopyright.[Ch]: removed
70 * ControlAboutlyx.[Ch]: added (replaces previous)
71 * GUI.h: removed credits and copyright added about lyx stuff
73 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
75 * ControlSpellchecker.C (getSuggestion):
76 (getWord): add std:: qualifier
78 >001-07-13 Edwin Leuven <leuven@fee.uva.nl>
80 * ControlSpellchecker.[Ch]: added
81 * ViewBase.h: added partialUpdate(int) member
82 * GUI.h: added spell stuff
84 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
86 * ControlExternal.C: (*it). -> it->
88 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
90 * ButtonController.h: move some included header files out of the
91 frontends and into here.
93 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
95 * ControlCharacter.C (c-tor): cosmetic name change of signal.
97 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
99 * *.[h]: added // -*- C++ -*-
100 * *.[C]: removed // -*- C++ -*-
102 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
103 activate Apply button.
104 (clearParams): removed.
105 font_ is now stored as a boost::scoped_ptr.
106 font_ is no longer deleted on hide(), so it's contents can now be used
107 by the Font button on the toolbar.
108 Lots of new methods so that the GUI can easily get the contents of
109 font_ when it update()s.
111 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
113 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
114 crash when the Font button on the Toolbar is pressed.
116 * GUI.h: change policy of Character button controller to
117 OkApplyCancelReadOnlyPolicy.
119 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
121 * ControlToc.C (getContents): don't add anything to the list if it
122 is supposed to be empty.
124 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
126 * helper_funcs.C (getVectorFromString): bug fix.
128 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
131 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
132 from ButtonControllerBase::readOnly. Updates the state of the widgets
133 in the read-only list only when the read-only status of the document
135 (refresh): moved this stuff into refreshReadOnly.
137 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
139 * ControlPrint.C (c-tor):
140 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
142 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
145 * character.h: small clean-ups.
147 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
149 * ControlToc.C (getType): remove support for old float list.
151 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
153 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
154 * ControlGraphics.h: no longer include insetgraphicsParams.h
155 * ControlInset.h: no longer include LyXView.h
160 * ControlCharacter.C:
163 * ControlConnections.C:
164 * ControlCopyright.C:
176 * ControlTabularCreate.C:
178 * ControlVCLog.C: they're now in here!
180 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
182 * ButtonControllerBase.h: C++ mode, inherit privately from
184 * ButtonPolicies.h: ditto
186 * ButtonController.h: C++ mode, swap init order of restore_ and
189 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
191 * ControlTabularCreate.h:
192 * ControlTabularCreate.C: make dialogs use a pair of uints
196 * ControlVCLog.C: fill a stringstream with the log contents
199 * ControlExternal.C: from Angus, clone the new InsetExternal
202 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
204 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
205 and made more robust.
207 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
216 * ControlCopyright.C: include gettext.h
218 * ControlCharacter.C:
219 * character.C: include gettext.h and language.h
221 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
223 * ButtonController.h:
224 * ButtonControllerBase.h:
225 * ButtonControllerBase.C:
232 * ControlConnections.h:
238 * ViewBase.h: s/ControlButton/ControlButtons/
240 s/UndoAll/Restore/ + associated
242 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
244 * ControlToc.[Ch]: new files; a controller for the TOC popup.
247 * Makefile.am: associated changes with all of the above.
249 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
251 * ControlExternal.C: bug fixes. Can now apply changes to the inset
252 and edit, view, update the External Material correctly. I hope!
254 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
256 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
258 * BCTemplates.h: renamed as ButtonController.h
260 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
263 * ControlConnections.h: associated change in #include and class names.
265 * ControlExternal.[Ch]: new files; a controller for the External
269 * Makefile.am: associated changes with all of the above.
271 * ControlGraphics.[Ch]:
272 * ControlInclude.[Ch]:
275 (Browse): new method. Returns the results of a FileDialog browse.
277 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
278 (getVectorFromString): fixed bug.
280 * biblio.C (simpleSearch): cleaned up.
282 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
284 * A slight reworking of Baruch Even's ButtonController patch.
286 * BCTemplates.h: new file; all the templates for the ButtonController.
287 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
288 to the more generic setButtonLabel().
290 * ButtonController.[Ch]: renamed cancel_label and close_label as
291 cancel_label_ and close_label_.
293 * Makefile.am: added BCTemplates.h
295 2001-03-29 Juergen Vigna <jug@sad.it>
297 * ControlMinipage.C: removed widthp_ and all it's functions and changed
298 to use new %-lengths of LyXLength.
300 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
302 * ControlCitation.C (bibkeysInfo): removed Assert.
304 * ControlCopyright.h: moved GUICopyright into GUI.h
308 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
310 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
311 (setDaughterParams): a (by default empty) new method called in show().
320 * ControlUrl.h (clearDaughterParams): removed
322 * ControlMinipage.C (applyParamsToInset): update the view.
323 Added namespace minipage containing a helper function getUnits.
325 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
327 * ControlCharacter.[Ch]: moved out all the helper functions and the
328 enum into their own file.
329 * character.[Ch]: new files; contain the character helper functions,
330 now inside namespace character.
332 * ControlCitation.[Ch]: moved out all the helper functions and the
333 enums into their own file. Simplified interface.
334 * biblio.[Ch]: new files; contain the citation helper functions,
335 now inside namespace biblio. Will be of use also to an improved
338 * ControlGraphics.[Ch]:
339 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
340 popups, respectively.
343 * Makefile.am: associated changes.
345 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
347 * ControlMinipage.[Ch]:
348 * ControlPreamble.[Ch]:
350 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
351 and Print popups and Splash screen, respectively.
353 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
357 * Makefile.am: associated changes.
359 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
361 * ControlConnections.[Ch]: (docType): new method; returns the type
362 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
365 * ControlSearch.[Ch]:
366 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
367 Search and TabularCreate popups, respectively.
370 * Makefile.am: associated changes.
372 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
374 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
377 * ControlInset.h (apply): fix bug. Can now create new insets again.
379 * README: describe program flow.
381 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
383 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
385 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
387 * ControlDialogs.h: moved class ControlInset into its own file.
389 * ControlInset.h: new file. class ControlInset has been expanded to take
390 two template parameters, Inset and Params. Believe that all inset
391 controllers can be derived from this with the minimum of effort.
393 * ControlBibitem.[Ch]:
394 * ControlBibtex.[Ch]:
395 * ControlCitation.[Ch]:
396 * ControlCommand.[Ch]: moved most code into ControlInset.
398 * lots of files. Moved protected stuff into private where possible.
401 * ControlInclude.[Ch]:
402 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
403 Include and Url popups, respectively.
406 * Makefile.am: associated changes.
408 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
410 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
413 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
415 * ControlCredits.C (getCredits): remove std:: qualifier for
418 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
420 * ControlCredits.C (getCredits): add std:: on vector
422 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
424 * ControlCredits.C: remove using that is only used once, use
425 std::ios instead of std::iosbase, add some annoying comments.
427 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
429 * lots of header files: improved explanatory notes.
431 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
432 ControlBase is now a class that only controls the interaction of the
433 View with the ButtonController.
435 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
436 to ControlConnectBase. The class controls the connection/disconnection
437 of signals from the LyX kernel and makes available the kernel (through
438 lv_) to daughter controller classes.
439 Moved out class ControlConnectInset to a new file ControlDialogs.h.
441 * ControlDialogs.h: new file. Contains the definition of two template
442 controller classes, ControlDialog and ControlInset (was
443 ControlConnectInset). ControlInset is a parent class for controllers
444 of inset-popups. ControlDialogs is the rather uninspired name for
445 the base class of all non-inset popups. (Eg, Document and Paragraph.)
446 ControlDialogs is reaching a state of maturity as several popups now use
447 it and its functionality becomes clear. ControlInset is still in a state
448 of flux. It is likely that functionality will be moved out of
449 ControlCommands and into it.
451 * GUI.h: new file. Moved all the template GUIXXX classes out of the
452 individual Controller header files and into one place. These classes
453 serve only as convenient wrappers to simplify code in the respective
454 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
456 * ControlCharacter.[Ch] (show, update, hide):
457 * ControlLog.[Ch] (show, update, hide):
458 * ControlVCLog.[Ch] (show, update, hide): moved back into
459 the ControlDialogs base class.
460 (setParams, clearParams): new methods containing controller-specific
461 code to set/reset the parameters manipulated by the view.
463 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
465 (hide): calls clearParams.
467 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
468 by ControlCommand::hide().
470 * ControlCopyright.[Ch]:
471 * ControlCredits.[Ch]: new files; controllers for the copyright and
472 credits popups, respectively.
474 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
476 * ControlCharacter.C: fix typo
478 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
480 * ControlCharacter.[Ch]: new files; controller for the character popup.
482 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
483 moved to new files helper_funcs.[Ch].
485 * helper_funcs.[Ch]: new files. Some useful helper functions and
488 * Makefile.am: added new files.
490 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
492 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
494 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
497 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
498 Control log files, respectively.
500 * Makefile.am: added new files.
502 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
504 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
506 * Makefile.am: added ControlBibtex.[Ch].
508 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
511 * ControlCitation.C: added "using SigC::slot" declaration.
513 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
514 to FormCitation.C prior to the merger: "Do not put space between
517 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
519 * several files: remove CXX_WORKING_NAMESPACES
521 * ButtonController.h: noncopyable is in namespace boost
522 * ButtonPolicies.h: ditto
524 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
526 * Merging changes from BRANCH_MVC back into HEAD.
528 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
530 * Makefile.am: add ControlBibitem.[Ch].
532 * ControlBibitem.[Ch]: new files that together define the Controller
535 * ControlCommand.h (c-tor): give kb_action a default value of
538 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
540 * ControlCitation.[Ch]: moved search functions out of class.
541 (bibkeysInfo): new method. Returns const reference to private data.
542 (searchKeys): added case-sensitive switch. Used only by simpleSearch
545 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
547 * ControlCitation.[Ch]: added Search functions to the class,
548 (shamelessly lifted from Marco's gnome code). I think that these would
549 be better as helper functions outside the class, but this is a first
552 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
554 * ControlCitation.[Ch]: (getBibkeyList): removed from class
556 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
557 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
558 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
559 implementation of FormCitation.
561 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
563 * ButtonPolicies.h: add SMI_NOOP to enum.
565 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
567 * ButtonController.C (input): add "optimising" if-statement. Actually,
568 things don't work correctly without it...
570 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
572 * ViewBase.h: remove #pragma directive
574 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
577 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
579 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
581 * Makefile.am: added ButtonPolicies.[Ch]
583 * ButtonController.[Ch]: ButtonController is split into
584 ButtonControllerBase and a template ButtonController class. The base
585 class no longer stores a pointer to a ButtonPolicy, but instead
586 accesses the actual instantiation of the policy through a pure virtual
587 method bp(). This method and the ButtonPolicy itself are instantiated
588 in the templatised ButtonController class. This class is derived from
589 the GUI-specific GUIBC class, meaning that the frontends know
590 nothing about the actual policy decided upon by the controllers.
592 * ControlBase.[Ch]: No longer store the View or the ButtonController.
593 Instead the actual instantiations are accessed through pure virtual
594 methods view() and bc(). The daughter classes are responsible for the
595 actual View and ButtonController.
597 * ControlCitation.h: the templatised class GUICitation instantiates
598 the methods view() and bc(). It also stores the instances of the
599 View and ButtonController.
601 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
603 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
604 also changed to ButtonController.
607 * ControlConnections.[Ch]:
608 * ControlCommand.[Ch]:
609 * ControlCitation.[Ch]:
610 * ViewBase.h: Changes associated with this.
612 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
614 * ButtonControllerBase.[Ch]: new files. Split Allan's original
615 xforms/ButtonController class into a GUI-I class (here) and an
616 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
618 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
619 from which all Dialog Controllers should be derived. the Controllers
620 are GUI-independent, but are designed to control the behaviour of
621 GUI-specific implementaions of each dialog.
623 * ControlConnections.[Ch]: new files. Classes controlling the
624 connections of buffer-independent, buffer-dependent and Inset dialogs
627 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
628 InsetCommand subset of insets.
630 * ControlCitation.[Ch]: new files. The test specialisation! A
631 controller for the Citation dialog.
633 * ViewBase.h: new file. ViewBase is an abstract base class from which
634 GUI-specific dialogs should be derived. The functionality that the GUIs
635 must now implement is much reduced.