1 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlCitation.[Ch]: changes associated with adding natbib support.
4 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
5 New static variable citeStyles_.
7 * biblio.[Ch]: large internal rearrangement.
8 New public enum CiteStyle.
9 New public struct CitationStyle.
10 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
11 getNumericalStrings, getAuthorYearStrings
12 (simpleSearch, regexSearch): no longer publicly accessible.
14 * helper_funcs.C (getStringFromVector): bug fix.
16 2001-07-16 Baruch Even <baruch@lyx.org>
18 * ControlVCLog.h: Added Lsstream.h to includes.
20 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
22 * ControlSpellchecker.[Ch]: remove d-tor.
24 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
26 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
28 2001-07-16 Juergen Vigna <jug@sad.it>
30 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
31 compiled with USE_PSPELL) to be able to switch between ISpell and
34 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
36 Consistent use of Lsstream.h:
37 * ControlAboutlyx.[Ch] (getCredits):
38 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
40 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
42 * ControlCredits.[Ch]: removed
43 * ControlCopyright.[Ch]: removed
44 * ControlAboutlyx.[Ch]: added (replaces previous)
45 * GUI.h: removed credits and copyright added about lyx stuff
47 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
49 * ControlSpellchecker.C (getSuggestion):
50 (getWord): add std:: qualifier
52 >001-07-13 Edwin Leuven <leuven@fee.uva.nl>
54 * ControlSpellchecker.[Ch]: added
55 * ViewBase.h: added partialUpdate(int) member
56 * GUI.h: added spell stuff
58 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
60 * ControlExternal.C: (*it). -> it->
62 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
64 * ButtonController.h: move some included header files out of the
65 frontends and into here.
67 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
69 * ControlCharacter.C (c-tor): cosmetic name change of signal.
71 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
73 * *.[h]: added // -*- C++ -*-
74 * *.[C]: removed // -*- C++ -*-
76 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
77 activate Apply button.
78 (clearParams): removed.
79 font_ is now stored as a boost::scoped_ptr.
80 font_ is no longer deleted on hide(), so it's contents can now be used
81 by the Font button on the toolbar.
82 Lots of new methods so that the GUI can easily get the contents of
83 font_ when it update()s.
85 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
87 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
88 crash when the Font button on the Toolbar is pressed.
90 * GUI.h: change policy of Character button controller to
91 OkApplyCancelReadOnlyPolicy.
93 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
95 * ControlToc.C (getContents): don't add anything to the list if it
96 is supposed to be empty.
98 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
100 * helper_funcs.C (getVectorFromString): bug fix.
102 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
105 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
106 from ButtonControllerBase::readOnly. Updates the state of the widgets
107 in the read-only list only when the read-only status of the document
109 (refresh): moved this stuff into refreshReadOnly.
111 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
113 * ControlPrint.C (c-tor):
114 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
116 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
119 * character.h: small clean-ups.
121 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
123 * ControlToc.C (getType): remove support for old float list.
125 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
127 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
128 * ControlGraphics.h: no longer include insetgraphicsParams.h
129 * ControlInset.h: no longer include LyXView.h
134 * ControlCharacter.C:
137 * ControlConnections.C:
138 * ControlCopyright.C:
150 * ControlTabularCreate.C:
152 * ControlVCLog.C: they're now in here!
154 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
156 * ButtonControllerBase.h: C++ mode, inherit privately from
158 * ButtonPolicies.h: ditto
160 * ButtonController.h: C++ mode, swap init order of restore_ and
163 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
165 * ControlTabularCreate.h:
166 * ControlTabularCreate.C: make dialogs use a pair of uints
170 * ControlVCLog.C: fill a stringstream with the log contents
173 * ControlExternal.C: from Angus, clone the new InsetExternal
176 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
178 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
179 and made more robust.
181 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
190 * ControlCopyright.C: include gettext.h
192 * ControlCharacter.C:
193 * character.C: include gettext.h and language.h
195 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
197 * ButtonController.h:
198 * ButtonControllerBase.h:
199 * ButtonControllerBase.C:
206 * ControlConnections.h:
212 * ViewBase.h: s/ControlButton/ControlButtons/
214 s/UndoAll/Restore/ + associated
216 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
218 * ControlToc.[Ch]: new files; a controller for the TOC popup.
221 * Makefile.am: associated changes with all of the above.
223 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
225 * ControlExternal.C: bug fixes. Can now apply changes to the inset
226 and edit, view, update the External Material correctly. I hope!
228 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
230 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
232 * BCTemplates.h: renamed as ButtonController.h
234 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
237 * ControlConnections.h: associated change in #include and class names.
239 * ControlExternal.[Ch]: new files; a controller for the External
243 * Makefile.am: associated changes with all of the above.
245 * ControlGraphics.[Ch]:
246 * ControlInclude.[Ch]:
249 (Browse): new method. Returns the results of a FileDialog browse.
251 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
252 (getVectorFromString): fixed bug.
254 * biblio.C (simpleSearch): cleaned up.
256 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
258 * A slight reworking of Baruch Even's ButtonController patch.
260 * BCTemplates.h: new file; all the templates for the ButtonController.
261 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
262 to the more generic setButtonLabel().
264 * ButtonController.[Ch]: renamed cancel_label and close_label as
265 cancel_label_ and close_label_.
267 * Makefile.am: added BCTemplates.h
269 2001-03-29 Juergen Vigna <jug@sad.it>
271 * ControlMinipage.C: removed widthp_ and all it's functions and changed
272 to use new %-lengths of LyXLength.
274 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
276 * ControlCitation.C (bibkeysInfo): removed Assert.
278 * ControlCopyright.h: moved GUICopyright into GUI.h
282 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
284 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
285 (setDaughterParams): a (by default empty) new method called in show().
294 * ControlUrl.h (clearDaughterParams): removed
296 * ControlMinipage.C (applyParamsToInset): update the view.
297 Added namespace minipage containing a helper function getUnits.
299 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
301 * ControlCharacter.[Ch]: moved out all the helper functions and the
302 enum into their own file.
303 * character.[Ch]: new files; contain the character helper functions,
304 now inside namespace character.
306 * ControlCitation.[Ch]: moved out all the helper functions and the
307 enums into their own file. Simplified interface.
308 * biblio.[Ch]: new files; contain the citation helper functions,
309 now inside namespace biblio. Will be of use also to an improved
312 * ControlGraphics.[Ch]:
313 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
314 popups, respectively.
317 * Makefile.am: associated changes.
319 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
321 * ControlMinipage.[Ch]:
322 * ControlPreamble.[Ch]:
324 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
325 and Print popups and Splash screen, respectively.
327 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
331 * Makefile.am: associated changes.
333 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
335 * ControlConnections.[Ch]: (docType): new method; returns the type
336 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
339 * ControlSearch.[Ch]:
340 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
341 Search and TabularCreate popups, respectively.
344 * Makefile.am: associated changes.
346 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
348 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
351 * ControlInset.h (apply): fix bug. Can now create new insets again.
353 * README: describe program flow.
355 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
357 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
359 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
361 * ControlDialogs.h: moved class ControlInset into its own file.
363 * ControlInset.h: new file. class ControlInset has been expanded to take
364 two template parameters, Inset and Params. Believe that all inset
365 controllers can be derived from this with the minimum of effort.
367 * ControlBibitem.[Ch]:
368 * ControlBibtex.[Ch]:
369 * ControlCitation.[Ch]:
370 * ControlCommand.[Ch]: moved most code into ControlInset.
372 * lots of files. Moved protected stuff into private where possible.
375 * ControlInclude.[Ch]:
376 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
377 Include and Url popups, respectively.
380 * Makefile.am: associated changes.
382 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
384 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
387 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
389 * ControlCredits.C (getCredits): remove std:: qualifier for
392 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
394 * ControlCredits.C (getCredits): add std:: on vector
396 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
398 * ControlCredits.C: remove using that is only used once, use
399 std::ios instead of std::iosbase, add some annoying comments.
401 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
403 * lots of header files: improved explanatory notes.
405 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
406 ControlBase is now a class that only controls the interaction of the
407 View with the ButtonController.
409 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
410 to ControlConnectBase. The class controls the connection/disconnection
411 of signals from the LyX kernel and makes available the kernel (through
412 lv_) to daughter controller classes.
413 Moved out class ControlConnectInset to a new file ControlDialogs.h.
415 * ControlDialogs.h: new file. Contains the definition of two template
416 controller classes, ControlDialog and ControlInset (was
417 ControlConnectInset). ControlInset is a parent class for controllers
418 of inset-popups. ControlDialogs is the rather uninspired name for
419 the base class of all non-inset popups. (Eg, Document and Paragraph.)
420 ControlDialogs is reaching a state of maturity as several popups now use
421 it and its functionality becomes clear. ControlInset is still in a state
422 of flux. It is likely that functionality will be moved out of
423 ControlCommands and into it.
425 * GUI.h: new file. Moved all the template GUIXXX classes out of the
426 individual Controller header files and into one place. These classes
427 serve only as convenient wrappers to simplify code in the respective
428 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
430 * ControlCharacter.[Ch] (show, update, hide):
431 * ControlLog.[Ch] (show, update, hide):
432 * ControlVCLog.[Ch] (show, update, hide): moved back into
433 the ControlDialogs base class.
434 (setParams, clearParams): new methods containing controller-specific
435 code to set/reset the parameters manipulated by the view.
437 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
439 (hide): calls clearParams.
441 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
442 by ControlCommand::hide().
444 * ControlCopyright.[Ch]:
445 * ControlCredits.[Ch]: new files; controllers for the copyright and
446 credits popups, respectively.
448 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
450 * ControlCharacter.C: fix typo
452 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
454 * ControlCharacter.[Ch]: new files; controller for the character popup.
456 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
457 moved to new files helper_funcs.[Ch].
459 * helper_funcs.[Ch]: new files. Some useful helper functions and
462 * Makefile.am: added new files.
464 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
466 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
468 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
471 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
472 Control log files, respectively.
474 * Makefile.am: added new files.
476 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
478 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
480 * Makefile.am: added ControlBibtex.[Ch].
482 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
485 * ControlCitation.C: added "using SigC::slot" declaration.
487 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
488 to FormCitation.C prior to the merger: "Do not put space between
491 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
493 * several files: remove CXX_WORKING_NAMESPACES
495 * ButtonController.h: noncopyable is in namespace boost
496 * ButtonPolicies.h: ditto
498 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
500 * Merging changes from BRANCH_MVC back into HEAD.
502 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
504 * Makefile.am: add ControlBibitem.[Ch].
506 * ControlBibitem.[Ch]: new files that together define the Controller
509 * ControlCommand.h (c-tor): give kb_action a default value of
512 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
514 * ControlCitation.[Ch]: moved search functions out of class.
515 (bibkeysInfo): new method. Returns const reference to private data.
516 (searchKeys): added case-sensitive switch. Used only by simpleSearch
519 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
521 * ControlCitation.[Ch]: added Search functions to the class,
522 (shamelessly lifted from Marco's gnome code). I think that these would
523 be better as helper functions outside the class, but this is a first
526 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
528 * ControlCitation.[Ch]: (getBibkeyList): removed from class
530 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
531 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
532 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
533 implementation of FormCitation.
535 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
537 * ButtonPolicies.h: add SMI_NOOP to enum.
539 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
541 * ButtonController.C (input): add "optimising" if-statement. Actually,
542 things don't work correctly without it...
544 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
546 * ViewBase.h: remove #pragma directive
548 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
551 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
553 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
555 * Makefile.am: added ButtonPolicies.[Ch]
557 * ButtonController.[Ch]: ButtonController is split into
558 ButtonControllerBase and a template ButtonController class. The base
559 class no longer stores a pointer to a ButtonPolicy, but instead
560 accesses the actual instantiation of the policy through a pure virtual
561 method bp(). This method and the ButtonPolicy itself are instantiated
562 in the templatised ButtonController class. This class is derived from
563 the GUI-specific GUIBC class, meaning that the frontends know
564 nothing about the actual policy decided upon by the controllers.
566 * ControlBase.[Ch]: No longer store the View or the ButtonController.
567 Instead the actual instantiations are accessed through pure virtual
568 methods view() and bc(). The daughter classes are responsible for the
569 actual View and ButtonController.
571 * ControlCitation.h: the templatised class GUICitation instantiates
572 the methods view() and bc(). It also stores the instances of the
573 View and ButtonController.
575 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
577 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
578 also changed to ButtonController.
581 * ControlConnections.[Ch]:
582 * ControlCommand.[Ch]:
583 * ControlCitation.[Ch]:
584 * ViewBase.h: Changes associated with this.
586 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
588 * ButtonControllerBase.[Ch]: new files. Split Allan's original
589 xforms/ButtonController class into a GUI-I class (here) and an
590 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
592 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
593 from which all Dialog Controllers should be derived. the Controllers
594 are GUI-independent, but are designed to control the behaviour of
595 GUI-specific implementaions of each dialog.
597 * ControlConnections.[Ch]: new files. Classes controlling the
598 connections of buffer-independent, buffer-dependent and Inset dialogs
601 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
602 InsetCommand subset of insets.
604 * ControlCitation.[Ch]: new files. The test specialisation! A
605 controller for the Citation dialog.
607 * ViewBase.h: new file. ViewBase is an abstract base class from which
608 GUI-specific dialogs should be derived. The functionality that the GUIs
609 must now implement is much reduced.